com.ibm.commerce.order.commands
Class OrderFlowEntityBean

com.ibm.commerce.order.commands.OrderFlowEntityBean

public class OrderFlowEntityBean

OrderFlowEntityBean is used in the OrderProcess approval flow. It is a BusinessFlowEntityBean and to be passed from one state to another.


Constructor Summary
OrderFlowEntityBean()
           
 
Method Summary
 java.lang.Long getEntityId()
          Returns the id of the entity bean.
 java.lang.Integer getStateIdentifier()
          Returns the stateIdentifier of the entity bean.
 void save()
          saves the state information in the entity bean.
 void setEntityId(java.lang.Long aId)
          Sets the id of the entity bean.
 void setStateIdentifier(java.lang.Integer aStateIdentifier)
          Sets the state identifier of the entity bean.
 

Constructor Detail

OrderFlowEntityBean

public OrderFlowEntityBean()
Method Detail

getEntityId

public java.lang.Long getEntityId()
Returns the id of the entity bean. It is the same as the order id.

getStateIdentifier

public java.lang.Integer getStateIdentifier()
Returns the stateIdentifier of the entity bean.

save

public void save()
saves the state information in the entity bean.

setEntityId

public void setEntityId(java.lang.Long aId)
Sets the id of the entity bean.

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier of the entity bean. Depending on the state identifier passed in, the status of the order will be changed accordingly.