com.ibm.commerce.usermanagement.commands
Class MemberRoleUpdateCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.usermanagement.commands.MemberRoleUpdateCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, MemberRoleUpdateCmd, Protectable
- public class MemberRoleUpdateCmdImpl
- extends ControllerCommandImpl
- implements MemberRoleUpdateCmd
The MemberRoleUpdateCmdImpl command assigns roles to a member for an organization. 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 memberId, roleId and orgEntityId are mandatory. Exception Conditions
- The memberId, roleId and the noURL orgEntityId must be non-null and their length must be greater than 0.
- See Also:
- Serialized Form
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
CLASSNAME
public static final java.lang.String CLASSNAME
- Classname.
- See Also:
- Constant Field Values
bToolsFramework
protected boolean bToolsFramework
istrMemberId
protected java.lang.String istrMemberId
inMemberId
protected java.lang.Long inMemberId
istrRoleId
protected java.lang.String istrRoleId
vecRoleId
protected java.util.Vector vecRoleId
vecOrgEntityId
protected java.util.Vector vecOrgEntityId
vecRemRoleId
protected java.util.Vector vecRemRoleId
vecRemOrgEntityId
protected java.util.Vector vecRemOrgEntityId
istrOrgEntityId
protected java.lang.String istrOrgEntityId
istrRedirectURL
protected java.lang.String istrRedirectURL
iabUser
protected UserAccessBean iabUser
iabOrgEntity
protected OrganizationAccessBean iabOrgEntity
ibOrgEntity
protected boolean ibOrgEntity
byUserDN
protected boolean byUserDN
MemberRoleUpdateCmdImpl
public MemberRoleUpdateCmdImpl()
getMemberId
public java.lang.String getMemberId()
- Gets the memberId of the user or orgentities to assign roles.
-
- Specified by:
- getMemberId in interface MemberRoleUpdateCmd
-
- Returns:
- The memberId
getRedirectURL
public java.lang.String getRedirectURL()
- Return redirect URL.
-
- Specified by:
- getRedirectURL in interface MemberRoleUpdateCmd
-
- Returns:
- The redirect URL.
getViewInputProperties
public TypedProperty getViewInputProperties()
- Removes the xml properties from the request
-
- Specified by:
- getViewInputProperties in interface ControllerCommand
- Overrides:
- getViewInputProperties in class ControllerCommandImpl
-
- Returns:
- the request properties
performExecute
public void performExecute()
throws ECException
- The performExecute method is called to when the marketing manager asks to add one or more users to a customer segments.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECExcption - thrown if user does not exist
- ECException
setMemberId
public void setMemberId(java.lang.String astrMemberId)
- Sets the memberId of the user or orgentities to assign roles.
-
- Specified by:
- setMemberId in interface MemberRoleUpdateCmd
-
- Parameters:
- astrMemberId - The memberId
setRedirectURL
public void setRedirectURL(java.lang.String astrRedirectURL)
- Sets redirect URL.
-
- Specified by:
- setRedirectURL in interface MemberRoleUpdateCmd
-
- Parameters:
- astrRedirectURL - The redirect URL
setRequestProperties
public void setRequestProperties(TypedProperty reqProperties)
throws ECException
- Sets the request properties
-
- Specified by:
- setRequestProperties in interface ControllerCommand
- Overrides:
- setRequestProperties in class ControllerCommandImpl
-
- Parameters:
- reqProperties - the typed properties from the incoming request
- Throws:
- ECException - thrown if the requst properties does not text
validateParameters
public void validateParameters()
throws ECException
- Validates the parameters before calling performExecute
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException - thrown if the parameters do not exist
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.