java.lang.Object | +--BusinessFlowCmdImpl | +--com.ibm.commerce.order.commands.OrderProcessApprovalBaseCmdImpl
This the base class for other OrderProcess approval commands.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
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. |
BusinessFlowEntityBean |
getEntityObject() Get the entity object from command if this is a new process. |
AccessVector |
getResources() Gets the resources. |
protected
void |
mergeNVPs(
TypedProperty hshFrom,
TypedProperty hshTo) This is a helper method that merges new nvps (hshFrom) with old nvps (hshTo) if value of a new nvp is null or empty string remove nvp with this name from an old set (hshTo). |
void |
performExecute() It does nothing. |
void |
reset() Resets all instance variables. |
protected
void |
setOrderFlowEntityBean(
OrderFlowEntityBean entityBean) Set the order flow entity bean object. |
void |
setRequestProperties(
TypedProperty reqProperties) Sets the request properties. |
void |
setStateIdentifier(java.lang.Integer aStateIdentifier) UBF informs the command the state of the entity. |
void |
validateParameters() Validates the parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public OrderProcessApprovalBaseCmdImpl()
Method Detail |
---|
public java.lang.Long getEntityId()
public BusinessFlowEntityBean getEntityObject()
public AccessVector getResources() throws ECException
ECException.
ECException
protected void mergeNVPs(TypedProperty hshFrom, TypedProperty hshTo) throws ParameterNotFoundException, InvalidParameterValueException
hshFrom
- typed properties.hshTo
- typed properties.
InvalidParameterValueException
ParameterNotFoundException
public void performExecute() throws ECException
ECException
public void reset()
protected void setOrderFlowEntityBean(OrderFlowEntityBean entityBean)
entityBean
- the order flow entity bean
object.public void setRequestProperties(TypedProperty reqProperties) throws ECException
reqProperties
- request properties.ECException
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
aStateIdentifier
- The state identifier.public void validateParameters() throws ECException
ECException