com.ibm.commerce.usermanagement.commands
Class UserRegistrationRoleAssignCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.usermanagement.commands.UserRegistrationRoleAssignCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, TaskCommand, UserRegistrationRoleAssignCmd
- public class UserRegistrationRoleAssignCmdImpl
- extends TaskCommandImpl
- implements UserRegistrationRoleAssignCmd
This task command is called by UserRegistrationAddPreApproval to assign roles during self-registration.
Currently this command does nothing and it needs to be overiden by customers if they want to assign roles during self-registration.
Inputs of this task command are:
setRequestProperties(TypedProperty)
- sets request properties which should contain memberId of this user. otherwise, an exception will thrown.
getRequestProperties(TypedProperty)
- returns request properties.
- See Also:
- Serialized Form
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, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
- The name of this implementation of the command.
- See Also:
- Constant Field Values
requestProperties
protected TypedProperty requestProperties
- The request properties.
UserRegistrationRoleAssignCmdImpl
public UserRegistrationRoleAssignCmdImpl()
getRequestProperties
public TypedProperty getRequestProperties()
- Returns the request properties.
-
- Specified by:
- getRequestProperties in interface UserRegistrationRoleAssignCmd
-
- Returns:
- The request properties.
performExecute
public void performExecute()
throws ECException
- Assigns the member to the specified roles.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - If the parent member was not specified.
setRequestProperties
public void setRequestProperties(TypedProperty aRequestProperties)
- Sets the request properties.
-
- Specified by:
- setRequestProperties in interface UserRegistrationRoleAssignCmd
-
- Parameters:
- aRequestProperties - the request properties.
- Returns:
- The processed request
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.