java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.contract.commands.ContractSubmitCheckApprovalCmdImpl
Checks whether or not a contract needs approval (WebSphere Commerce Business Edition only).
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this command. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.contract.commands. ContractSubmitCheckApprovalCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ContractSubmitCheckApprovalCmdImpl() |
Method Summary | |
---|---|
com.ibm.commerce.ubf.event.BusinessFlowEventData |
getBusinessFlowEventData() Returns business flow event data. |
java.lang.Long |
getEntityId() Returns the ID of entity object |
java.lang.Object |
getEntityObject() Returns the entity object. |
java.lang.String |
getEventIdentifier() Returns the event identifier to allow the entry action to start an automatic transition. |
void |
performExecute() Sets the event identifier to be "BeginApproval" |
void |
setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anBusinessFlowEventData) Sets the business flow event data. |
void |
setEntityId(java.lang.Long anEntityId) Sets the entity id. |
void |
setEntityObject(java.lang.Object anEntityObject) Sets the entity object. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Constructor Detail |
---|
public ContractSubmitCheckApprovalCmdImpl()
Method Detail |
---|
public com.ibm.commerce.ubf.event.BusinessFlowEventData getBusinessFlowEventData()
public java.lang.Long getEntityId()
public java.lang.Object getEntityObject()
public java.lang.String getEventIdentifier()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
AbstractECTargetableCommand.performExecute()
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anBusinessFlowEventData)
anBusinessFlowEventData
- the business flow event data which
includes all information.public void setEntityId(java.lang.Long anEntityId)
anEntityId
- the entity IDpublic void setEntityObject(java.lang.Object anEntityObject)
anEntityObject
- the entity object