public class StateDataBean extends com.ibm.commerce.ubf.objects.FlowStateAccessBean implements StateInputDataBean, StateSmartDataBean, com.ibm.commerce.beans.SmartDataBean
FlowStateAccessBean
,
SmartDataBean
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
StateDataBean()
Constructs StateDataBean.
|
StateDataBean(com.ibm.commerce.ubf.objects.FlowState o)
Constructs StateDataBean.
|
StateDataBean(com.ibm.commerce.ubf.objects.FlowStateAccessBean anAccessBean)
Constructs StateDataBean.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Gets the active commandContext.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the value of requestProperties; currently implemented to return null.
|
java.lang.Long |
getStateId()
Gets the stateId field.
|
void |
populate()
Fetches field values from the access bean.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
Sets the active commandContext.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
Currently does nothing.
|
void |
setStateByFlowTypeIdAndIdentifier(java.lang.String newFlowTypeId,
java.lang.String newIdentifier)
Sets the flowTypeId and identifier value.
|
void |
setStateByFlowTypeIdAndStateName(java.lang.String newFlowTypeId,
java.lang.String newStateName)
Sets the flowTypeId and stateName value.
|
void |
setStateId(java.lang.Long newStateId)
Sets the stateId and uses the value
to set a key field on the access bean.
|
void |
setStateId(java.lang.String newStateId)
Sets the stateId and uses the value
to set a key field on the access bean.
|
findAllFlowStates, findFlowStateByFlowTypeAndIdentifier, findFlowStateByFlowTypeAndStateName, findFlowStatesByFlowType, findFlowStatesByStateGroup, getApproverMemberGroupName, getDescription, getEntity, getFlowTypeId, getFlowTypeIdInEntityType, getId, getIdentifier, getIdentifierInEntityType, getIdInEntityType, getStateGroupId, getStateGroupIdInEntityType, getStateName, getStateType, getStateTypeInEntityType, instantiateEntity, setApproverMemberGroupName, setFlowTypeId, setFlowTypeId, setId, setId, setIdentifier, setIdentifier, setInitKey_id, setStateGroupId, setStateGroupId, setStateName, setStateType, setStateType
public static final java.lang.String COPYRIGHT
public StateDataBean()
public StateDataBean(com.ibm.commerce.ubf.objects.FlowState o)
o
- javax.ejb.EJBObjectpublic StateDataBean(com.ibm.commerce.ubf.objects.FlowStateAccessBean anAccessBean)
anAccessBean
- com.ibm.commerce.ubf.objects.FlowStateAccessBeanECException
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.lang.Long getStateId()
getStateId
in interface StateSmartDataBean
public void populate()
populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- On any access bean error.public void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
newCommandContext
- the active command context.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
param
- a TypedProperty that is ignored.public void setStateByFlowTypeIdAndIdentifier(java.lang.String newFlowTypeId, java.lang.String newIdentifier)
setStateByFlowTypeIdAndIdentifier
in interface StateInputDataBean
newFlowTypeId
- relevant flowTypeId.newIdentifier
- relevant identifier.public void setStateByFlowTypeIdAndStateName(java.lang.String newFlowTypeId, java.lang.String newStateName)
setStateByFlowTypeIdAndStateName
in interface StateInputDataBean
newFlowTypeId
- relevant flowTypeId.newStateName
- relevant stateName.public void setStateId(java.lang.Long newStateId)
newStateId
- relevant stateId.public void setStateId(java.lang.String newStateId)
setStateId
in interface StateInputDataBean
newStateId
- relevant stateId.