java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.usermanagement.commands.UserRegistrationAddApprovalBaseCmdImpl
Base class for UserRegistrationAddPostRejectCmdImpl and UserRegistrationPostApprovalCmdImpl
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of the Base class for User Registration commands. |
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
protected
java.lang.String |
flowContext The flow context. |
protected
UserFlowEntityBean |
userFlowEntityBean An instance of the flow entity bean to track the flow of the registration process. |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
UserRegistrationAddApprovalBaseCmdImpl() Creates an instance of the user registration base command. |
Method Summary | |
---|---|
java.lang.Long |
getEntityId() Returns the entity identifier. |
com.ibm.commerce.ubf.beans.BusinessFlowEntityBean |
getEntityObject() Returns the entity object. |
java.lang.String |
getFlowContext() Returns the flow context. |
void |
reset() Resets the parameters of the command so it can be reused. |
void |
setFlowContext(java.lang.String newFlowContext) Sets the flow context. |
void |
setRequestProperties(
TypedProperty reqProperties) Sets the request properties. |
void |
setStateIdentifier(java.lang.Integer aStateIdentifier) Sets the state identifier. |
void |
validateParameters() Validates the parameters. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
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,
performExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
execute |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
setAccCheck |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected UserFlowEntityBean userFlowEntityBean
protected java.lang.String flowContext
Constructor Detail |
---|
public UserRegistrationAddApprovalBaseCmdImpl()
Method Detail |
---|
public java.lang.Long getEntityId()
public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
public java.lang.String getFlowContext()
public void reset()
reset
in class
AbstractECTargetableCommand
public void setFlowContext(java.lang.String newFlowContext)
newFlowContext
- The flow context.public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqProperties
- the parameters passed to the command.ECException
- If there is a problem creating the new flow entity bean.public void setStateIdentifier(java.lang.Integer aStateIdentifier)
aStateIdentifier
- the state identifier.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- should never happen since no validation is peformed.