public class ProcessPersonCreateGuestCmdImpl extends ControllerCommandImpl implements ProcessPersonCreateGuestCmd
defaultCommandClassName
Constructor and Description |
---|
ProcessPersonCreateGuestCmdImpl()
Creates an instance of
ProcessPersonCreateGuestCmd . |
Modifier and Type | Method and Description |
---|---|
boolean |
getGeneric()
This method returns the value of
isGeneric() |
UserAccessBean |
getGuestUser()
This method returns the
UserAccessBean associated with the guest user that is created. |
ActivityToken |
getGuestUserActivityToken()
This method returns the
ActivityToken which represents the active session for the
guest user. |
boolean |
isGeneric()
This method is called by the foundation to determine whether the generic
user can execute this command.
|
void |
performExecute()
This method validates that the current user executing the command is a guest user.
|
void |
setRequestProperties(TypedProperty hshReqParameters)
This method sets the request properties.
|
checkPermission, fulfills, getForUserId, 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, validateParameters
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, 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, validateParameters
fulfills, getOwner
public ProcessPersonCreateGuestCmdImpl()
ProcessPersonCreateGuestCmd
.public boolean getGeneric()
isGeneric()
getGeneric
in interface ControllerCommand
getGeneric
in class ControllerCommandImpl
public boolean isGeneric()
isGeneric
in interface ControllerCommand
isGeneric
in class ControllerCommandImpl
false
will be returned for force the foundation to create
a guest user when the command executes.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- There is a problem creating the guest user.public UserAccessBean getGuestUser()
UserAccessBean
associated with the guest user that is created.getGuestUser
in interface ProcessPersonCreateGuestCmd
public ActivityToken getGuestUserActivityToken()
ActivityToken
which represents the active session for the
guest user.getGuestUserActivityToken
in interface ProcessPersonCreateGuestCmd
public void setRequestProperties(TypedProperty hshReqParameters) throws ECException
migrateGuestUser
in the request parameters specifies whether guest user migration is needed;
they are used when the current user is already guest and when this guest is
to be migrated to be a new guest.setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
hshReqParameters
- The request parameters.ECException
- if an exception takes place.