public class UserRegistrationRoleAssignCmdImpl extends TaskCommandImpl implements UserRegistrationRoleAssignCmd
Currently this command does nothing and it needs to be overridden by customers if they want to assign roles during self-registration.
Inputs of this task command are:
setRequestProperties(TypedProperty) - sets request properties which should contain memberId of this user. otherwise, an exception will be thrown. getRequestProperties(TypedProperty) - returns request properties.
| 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.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
UserRegistrationRoleAssignCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
TypedProperty |
getRequestProperties()
Returns the request properties.
|
void |
performExecute()
Assigns the member to the specified roles.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
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, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public TypedProperty getRequestProperties()
getRequestProperties in interface UserRegistrationRoleAssignCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - If the parent member was not specified.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties in interface UserRegistrationRoleAssignCmdaRequestProperties - the request properties.