java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.usermanagement.commands.UserRegistrationAddCheckApprovalCmdImpl
This command is a EntryAction command called by UBF to check if the user registration approval is required.
The current logic is:
If the parameter parentMember is not specified, no approval is required.
If the parameter parentMember is specified, approval is required.
Field Summary | |
static java.lang.String | CLASSNAME The name of this implementation of the command. |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
protected BusinessFlowEventData | eventData The event data. |
protected java.lang.String | eventIdentifier The event identifier. |
protected UserFlowEntityBean | userFlowEntityBean The user flow entity bean. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationAddCheckApprovalCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
UserRegistrationAddCheckApprovalCmdImpl() |
Method Summary | |
boolean | checkApproval() Returns whether to check for approvals. |
java.lang.String | getEventIdentifier() Returns the event identifier. |
void | performExecute() Determines whether the user need to be approved or not. |
void | reset() Sets the command parameters so that the command can be reused. |
void | setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData) Sets the business flow event data. |
void | setEntityId(java.lang.Long anEntityId) Sets the entity identifier. |
void | setEntityObject(java.lang.Object anEntityObject) Sets the entity object. |
void | validateParameters() Validates the parameters. |
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
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
protected UserFlowEntityBean userFlowEntityBean
protected java.lang.String eventIdentifier
protected BusinessFlowEventData eventData
Constructor Detail |
public UserRegistrationAddCheckApprovalCmdImpl()
Method Detail |
public boolean checkApproval() throws ECException
public java.lang.String getEventIdentifier()
public void performExecute() throws ECException
public void reset()
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
public void setEntityId(java.lang.Long anEntityId)
public void setEntityObject(java.lang.Object anEntityObject)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.