public interface RoleAddCmd extends ControllerCommand
Roles are stored in the ROLE table.
Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so type the command with the HTTPS secure protocol.
The parameter roleName is mandatory.
Behavior
Exception Conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
NAME
The name of this command.
|
defaultCommandClassName
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRoleDescription()
Get the description of the role.
|
java.lang.String |
getRoleId()
Get the roleId of the role added.
|
java.lang.String |
getRoleName()
Get the name of the role.
|
void |
reset()
Reset all instance variables of the command to initial state so it can be used again.
|
void |
setRoleDescription(java.lang.String astrRoleDescription)
Set the description of the role
|
void |
setRoleName(java.lang.String astrRoleName)
Set the name of the role.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, 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, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
java.lang.String getRoleDescription()
java.lang.String getRoleId()
java.lang.String getRoleName()
void reset()
reset
in interface com.ibm.websphere.command.Command
void setRoleDescription(java.lang.String astrRoleDescription)
astrRoleDescription
- The description of the rolevoid setRoleName(java.lang.String astrRoleName)
astrRoleName
- The name of the role