com.ibm.commerce.usermanagement.commands
Class UserRegistrationAddApprovalBaseCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.usermanagement.commands.UserRegistrationAddApprovalBaseCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable
Direct Known Subclasses:
UserRegistrationAddPostApprovalCmdImpl, UserRegistrationAddPostRejectCmdImpl

public class UserRegistrationAddApprovalBaseCmdImpl
extends ControllerCommandImpl

Base class for UserRegistrationAddPostRejectCmdImpl and UserRegistrationPostApprovalCmdImpl

See Also:
Serialized Form

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

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The name of the Base class for User Registration commands.
See Also:
Constant Field Values

userFlowEntityBean

protected UserFlowEntityBean userFlowEntityBean
An instance of the flow entity bean to track the flow of the registration process.

flowContext

protected java.lang.String flowContext
The flow context.
Constructor Detail

UserRegistrationAddApprovalBaseCmdImpl

public UserRegistrationAddApprovalBaseCmdImpl()
Creates an instance of the user registration base command.
Method Detail

getEntityId

public java.lang.Long getEntityId()
Returns the entity identifier.
Returns:
The entity identifier.

getEntityObject

public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
Returns the entity object.
Returns:
The entity object.

getFlowContext

public java.lang.String getFlowContext()
Returns the flow context.
Returns:
The flow context.

reset

public void reset()
Resets the parameters of the command so it can be reused.
Overrides:
reset in class AbstractECTargetableCommand

setFlowContext

public void setFlowContext(java.lang.String newFlowContext)
Sets the flow context.
Parameters:
newFlowContext - The flow context.

setRequestProperties

public void setRequestProperties(TypedProperty reqProperties)
                          throws ECException
Sets the request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Parameters:
reqProperties - the parameters passed to the command.
Throws:
ECException - If there is a problem creating the new flow entity bean.

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
Parameters:
aStateIdentifier - the state identifier.

validateParameters

public void validateParameters()
                        throws ECException
Validates the parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException - should never happen since no validation is peformed.

Feedback