com.ibm.commerce.usermanagement.commands
Interface MemberRoleUnassignCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
MemberRoleUnassignCmdImpl

public interface MemberRoleUnassignCmd
extends ControllerCommand

The MemberRoleUnassign command unassigns roles for a member from orgentities.

The member can be a user, organization or organizational unit. When unassigning roles from organiztion or organizational unit, the memberId and organEntityId should be same.

The unassigned records is removed from 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 unassign roles.
 java.util.Vector getOrgEntities()
          Gets a vector which contains all orgEntityIds (Long) for roles to unassign.
 java.util.Vector getRoles()
          Gets a vector which contains all roldIds (Integer) to be unassigned.
 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 unassign 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

COPYRIGHT

public static final java.lang.String COPYRIGHT

NAME

public static final java.lang.String NAME
Method Detail

getCheckURL

public boolean getCheckURL()
Gets indicator which indicates whether or not the command will check URL parameter.
Returns:
boolean The indicator indicates whether or not the command will check URL parameter
  • true - This command will check URL parameter
  • false - This command will not check URL parameter

getMemberId

public java.lang.String getMemberId()
Gets the memberId of the user or orgentities to unassign roles.
Returns:
The memberId

getOrgEntities

public java.util.Vector getOrgEntities()
Gets a vector which contains all orgEntityIds (Long) for roles to unassign. These orgEntityIds are get from requestProperties.
Returns:
java.util.Vector A vector which contains all orgEntityIds (Long) for roles to unassigns

getRoles

public java.util.Vector getRoles()
Gets a vector which contains all roldIds (Integer) to be unassigned. These roldIds are get from requestProperties.
Returns:
java.util.Vector A vector which contains all roldIds (Integer) to be unassigned

reset

public void reset()
Resets all instance variables of the command to initial state so it can be used again.

setCheckURL

public void setCheckURL(boolean abCheckURL)
Sets whether or not this command will check URL parameter.
Parameters:
abCheckURL - boolean
  • true - This command will check URL parameter
  • false - This command will not check URL parameter

setMemberId

public void setMemberId(java.lang.String astrMemberId)
Sets the memberId of the user or orgentities to unassign roles.
Parameters:
astrMemberId - The memberId