public class OrgEntityRegistrationAddCheckApprovalCmdImpl extends TaskCommandImpl implements OrgEntityRegistrationAddCheckApprovalCmd
Behavior
Exception Conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
NAME
Constructor and Description |
---|
OrgEntityRegistrationAddCheckApprovalCmdImpl()
Constructor for OrgEntityRegistrationAddCheckApprovalCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkApproval()
Checks if approval is needed for the organization.
|
java.lang.String |
getEventIdentifier()
Gets the event identifier.
|
void |
performExecute()
Executes the command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
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.
|
void |
validateParameters()
This method performs server side parameter checking.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public OrgEntityRegistrationAddCheckApprovalCmdImpl()
public java.lang.String getEventIdentifier()
getEventIdentifier
in interface com.ibm.commerce.ubf.commands.EntryActionCmd
EntryActionCmd.getEventIdentifier()
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
setBusinessFlowEventData
in interface com.ibm.commerce.ubf.commands.EntryActionCmd
BusinessFlowEventData
- The business flow event data.EntryActionCmd.setBusinessFlowEventData(BusinessFlowEventData)
public void setEntityId(java.lang.Long anEntityId)
setEntityId
in interface com.ibm.commerce.ubf.commands.EntryActionCmd
Long
- The entity id.EntryActionCmd.setEntityId(Long)
public void setEntityObject(java.lang.Object anEntityObject)
setEntityObject
in interface com.ibm.commerce.ubf.commands.EntryActionCmd
Object
- Object of type OrgFlowEntityBean.EntryActionCmd.setEntityObject(Object)
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand.performExecute()
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
Command.reset()
public void validateParameters() throws ECException
AbstractECTargetableCommand
checkParameters()
method from version 5.1.
The default implementation of validateParameters()
is a no op
.
It is the responsibility of the command writers to implement this method if they want to perform
server side parameter checking.validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECCommand.validateParameters()
public boolean checkApproval() throws ECException
ECException