public class StateListBean extends com.ibm.commerce.beans.SortedListBean implements StateListInputDataBean, StateListSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
StateListBean()
Constructs a StateListBean object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFlowTypeId()
Get flow type id.
|
java.lang.String |
getStateGroupId()
Get State group id.
|
StateDataBean[] |
getStates()
Gets a sorted list of StateDataBean objects.
|
void |
populate()
Looks up a sorted list of states, then populates an array of
StatesDataBean objects from the list entries.
|
void |
setFlowTypeId(java.lang.String newFlowTypeId)
Sets the FlowTypeId and uses the value
to set a key field on the access bean.
|
void |
setStateGroupId(java.lang.String newStateGroupId)
Sets the StateGroupId and uses the value
to set a key field on the access bean.
|
void |
setStates(StateDataBean[] newStates)
Populates a list of state data bean.
|
getLength, getSortAtt, setSortAtt
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public java.lang.String getFlowTypeId()
getFlowTypeId
in interface StateListSmartDataBean
public java.lang.String getStateGroupId()
getStateGroupId
in interface StateListSmartDataBean
public StateDataBean[] getStates()
getStates
in interface StateListSmartDataBean
public void populate() throws java.lang.Exception
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
- if an FlowStateAccessBean could not be created.public void setFlowTypeId(java.lang.String newFlowTypeId)
setFlowTypeId
in interface StateListInputDataBean
newFlowTypeId
- relevant FlowTypeId.public void setStateGroupId(java.lang.String newStateGroupId)
setStateGroupId
in interface StateListInputDataBean
newStateGroupId
- relevant StateGroupId.public void setStates(StateDataBean[] newStates)
setStates
in interface StateListInputDataBean
newStates
- com.ibm.commerce.ubf.beans.StateDataBean