public class UserRegistrationAddCheckApprovalCmdImpl extends TaskCommandImpl implements UserRegistrationAddCheckApprovalCmd
The current logic is:
If the parameter parentMember is not specified, no approval is required.
If the parameter parentMember is specified, approval is required.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this implementation of the command.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected com.ibm.commerce.ubf.event.BusinessFlowEventData | eventData
The event data.
|
protected java.lang.String | eventIdentifier
The event identifier.
|
protected com.ibm.commerce.member.helpers.UserFlowEntityBean | userFlowEntityBean
The user flow entity bean.
|
Constructor and Description |
---|
UserRegistrationAddCheckApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected com.ibm.commerce.member.helpers.UserFlowEntityBean userFlowEntityBean
protected java.lang.String eventIdentifier
protected com.ibm.commerce.ubf.event.BusinessFlowEventData eventData
public UserRegistrationAddCheckApprovalCmdImpl()
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