public class UserRegistrationEmailActivateCmdImpl extends ControllerCommandImpl implements UserRegistrationEmailActivateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of class.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, ERR_MISSING_VALIDATION_CODE, ERR_WORNG_VALIDATION_CODE, NAME
Constructor and Description |
---|
UserRegistrationEmailActivateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogonId()
This method retrieves the logon ID to use when activating the user account.
|
java.lang.String |
getValidationCode()
Gets the validation code
|
boolean |
isGeneric()
This method specifies whether this command can be run by the generic user.
|
void |
performExecute()
This method set the user account to "approved" state in member table.
|
void |
setLogonId(java.lang.String strLogonId)
This method sets the logon ID.
|
void |
setRequestProperties(TypedProperty hshReqParameters)
This method sets the request properties.
|
void |
setValidationCode(java.lang.String strValidationCode)
This method sets the validation code.
|
void |
validateParameters()
This method validates the parameters by ensuring that
logonId and
validationCode are specified. |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public UserRegistrationEmailActivateCmdImpl()
public java.lang.String getLogonId()
public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface UserRegistrationEmailActivateCmd
strLogonId
- The logon ID of the user account to be activated.public java.lang.String getValidationCode()
public void setValidationCode(java.lang.String strValidationCode)
setValidationCode
in interface UserRegistrationEmailActivateCmd
strValidationCode
- The validation code.public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
hshReqParameters
- The request parameters.ECApplicationException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- An exception occurs.public void validateParameters() throws ECException
logonId
and
validationCode
are specified. It also
ensures that the logon ID is for a registered shopper in the system.validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- An exception is thrown if the parameters are missing.public boolean isGeneric()
isGeneric
in interface ControllerCommand
isGeneric
in class ControllerCommandImpl