public interface MemberRoleAssignCmd extends ControllerCommand
Assigning roles to an organizational entity controls what roles other users can have in this organizational entity. An organizational entity can only have a role if its parent organizational entity has that role. When assigning a role to an organizational entity, the memberId and organEntityId should be same.
The assignment is stored in the MBRROLE 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 parameters URL and memberId are 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 |
---|---|
boolean |
getCheckURL()
Gets indicator which indicates whether or not the command will check URL parameter.
|
java.lang.String |
getMemberId()
Gets the memberId of the user or organization entities to assign roles.
|
java.util.Vector |
getOrgEntities()
Gets a vector which contains all orgEntityIds (Long) for roles to assign.
|
java.util.Vector |
getRoles()
Gets a vector which contains all roleIds (Integer) to be assigned.
|
void |
reset()
Resets all instance variables of the command to initial state so it can be used again.
|
void |
setCheckURL(boolean abCheckURL)
Sets whether or not this command will check URL parameter.
|
void |
setMemberId(java.lang.String astrMemberId)
Sets the memberId of the user or orgEntities to assign roles.
|
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
boolean getCheckURL()
java.lang.String getMemberId()
java.util.Vector getOrgEntities()
java.util.Vector getRoles()
void reset()
reset
in interface com.ibm.websphere.command.Command
void setCheckURL(boolean abCheckURL)
abCheckURL
- boolean
void setMemberId(java.lang.String astrMemberId)
astrMemberId
- The memberId