|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The MemberRoleAssign command assigns roles for a member to orgentities.
The member can be a user, organization or organizational unit. Assigning roles to organization or organizational unit means that users who belong to an organization or organizational unit can take on roles assigned to that organization. In this case, 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 parameter URL and memberId are mandatory.
Behavior
Exception Conditions
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Method Summary | |
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 orgentities 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 roldIds (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. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
Method Detail |
public boolean getCheckURL()
public java.lang.String getMemberId()
public java.util.Vector getOrgEntities()
public java.util.Vector getRoles()
public void reset()
public void setCheckURL(boolean abCheckURL)
abCheckURL
- boolean
public void setMemberId(java.lang.String astrMemberId)
astrMemberId
- The memberId
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |