com.ibm.commerce.order.commands
Class OrderProcessApprovalBaseCmdImpl
com.ibm.commerce.order.commands.OrderProcessApprovalBaseCmdImpl
- public class OrderProcessApprovalBaseCmdImpl
This the base class for other OrderProcess approval commands.
COPYRIGHT
public static final java.lang.String COPYRIGHT
orderEntityBean
protected OrderFlowEntityBean orderEntityBean
OrderProcessApprovalBaseCmdImpl
public OrderProcessApprovalBaseCmdImpl()
getEntityId
public java.lang.Long getEntityId()
- Get the Id of an object after the object is created by a command for the first time.
- Returns:
- The Id of an object.
getEntityObject
public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
- Get the entity object from command if this is a new process.
This will improve performance of the system.
- Returns:
- The business flow entity bean object.
getResources
public AccessVector getResources()
throws ECException
mergeNVPs
protected void mergeNVPs(TypedProperty hshFrom,
TypedProperty hshTo)
throws ParameterNotFoundException,
InvalidParameterValueException
performExecute
public void performExecute()
throws ECException
- It does nothing. It may be overwritten by the sub classes.
reset
public void reset()
setRequestProperties
public void setRequestProperties(TypedProperty reqProperties)
throws ECException
setStateIdentifier
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
- UBF informs the command the state of the entity.
- Returns:
- aStateIdentifier The state identifier.
validateParameters
public void validateParameters()
throws ECException