public class FlowSelectionListBean extends com.ibm.commerce.beans.SortedListBean implements FlowSelectionListInputDataBean, FlowSelectionListSmartDataBean, com.ibm.commerce.beans.SmartDataBean
The Selection of the flows from the FlowAdmin table is based on the FlowType, OrgEntity and StoreEntity.
If there is no flow available for the given Flowtype/OrgEntity/StoreEntity, the following steps are performed in sequence.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
FlowSelectionListBean()
Constructs a FlowSelectionListBean object.
|
Modifier and Type | Method and Description |
---|---|
FlowAdminDataBean[] |
getFlowAdmins()
Retuns a array of FlowAdminDataBean.
|
java.lang.String |
getFlowTypeId()
Retuns the FlowTypeId.
|
java.lang.String |
getStoreId()
Retuns the StoreId.
|
java.lang.String |
getUserId()
Retuns the UserId.
|
void |
populate()
Looks up a sorted list of flowAdmins, then populates an array of
FlowAdminsDataBean objects from the list entries.
|
void |
setFlowAdmins(FlowAdminDataBean[] newFlowAdmins)
Sets a array of FlowAdminDataBean.
|
void |
setFlowTypeId(java.lang.String newFlowTypeId)
Sets the flowTypeId and uses the value
to set a key field on the access bean.
|
void |
setStoreId(java.lang.String newStoreId)
Sets the storeId and uses the value
to set a key field on the access bean.
|
void |
setUserId(java.lang.String newUserId)
Sets the userId and uses the value
to set a key field on the access bean.
|
getLength, getSortAtt, setSortAtt
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public FlowSelectionListBean()
public FlowAdminDataBean[] getFlowAdmins()
getFlowAdmins
in interface FlowSelectionListSmartDataBean
public java.lang.String getFlowTypeId()
getFlowTypeId
in interface FlowSelectionListSmartDataBean
public java.lang.String getStoreId()
getStoreId
in interface FlowSelectionListSmartDataBean
public java.lang.String getUserId()
getUserId
in interface FlowSelectionListSmartDataBean
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 FlowAdminsAccessBean could not be created.public void setFlowAdmins(FlowAdminDataBean[] newFlowAdmins)
setFlowAdmins
in interface FlowSelectionListInputDataBean
newFlowAdmins
- The array of FlowAdmins.public void setFlowTypeId(java.lang.String newFlowTypeId)
setFlowTypeId
in interface FlowSelectionListInputDataBean
newFlowTypeId
- The relevant flowTypeId.public void setStoreId(java.lang.String newStoreId)
setStoreId
in interface FlowSelectionListInputDataBean
newStoreId
- The relevant storeId.public void setUserId(java.lang.String newUserId)
setUserId
in interface FlowSelectionListInputDataBean
newUserId
- The relevant userId.