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.


Field Summary
static java.lang.String COPYRIGHT
           
protected  OrderFlowEntityBean orderEntityBean
           
 
Constructor Summary
OrderProcessApprovalBaseCmdImpl()
           
 
Method Summary
 java.lang.Long getEntityId()
          Get the Id of an object after the object is created by a command for the first time.
 com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
          Get the entity object from command if this is a new process.
 AccessVector getResources()
           
protected  void mergeNVPs(TypedProperty hshFrom, TypedProperty hshTo)
           
 void performExecute()
          It does nothing.
 void reset()
           
 void setRequestProperties(TypedProperty reqProperties)
           
 void setStateIdentifier(java.lang.Integer aStateIdentifier)
          UBF informs the command the state of the entity.
 void validateParameters()
           
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

orderEntityBean

protected OrderFlowEntityBean orderEntityBean
Constructor Detail

OrderProcessApprovalBaseCmdImpl

public OrderProcessApprovalBaseCmdImpl()
Method Detail

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