java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.usermanagement.commands.MemberLockCmdImpl
This command is used to set the lock state of a given organization.
Use this command with SSL (Secure Sockets Layer) to ensure that the information is encrypted. To do so type the command with the HTTPS secure protocol.
Behavior
Exception Conditions
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
static java.lang.String | NAME Class name. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
MemberLockCmdImpl() Constructor for MemberLockCmdImpl. |
Method Summary | |
AccessVector | getResources() Returns the organization for which we are attempting to set the lock state. |
boolean | isGeneric() Checks if this is a generic command. |
boolean | isRetriable() Checks if this command is retriable on rollback exception |
void | lock() Sets the lock state to Locked. |
void | performExecute() Executes the command. |
void | setMemberId(java.lang.String memberId) Sets the memberId for the organization to either Locked or Unlocked state. |
void | setRequestProperties(TypedProperty reqProperties) Sets the properties of the command. |
void | unlock() Sets the lock state to Unlocked. |
void | validateParameters() Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, 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, 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, getViewInputProperties, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
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
Constructor Detail |
public MemberLockCmdImpl()
Method Detail |
public void setMemberId(java.lang.String memberId)
public void lock()
public void unlock()
public void performExecute() throws ECException
public boolean isGeneric()
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void validateParameters() throws ECException
public boolean isRetriable()
public AccessVector getResources() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.