public class MemberLockCmdImpl extends ControllerCommandImpl implements MemberLockCmd
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
memberID is null (_ERR_MISSING_PARMS).
state is null (_ERR_MISSING_PARMS).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
NAME
Class name.
|
defaultCommandClassName| Constructor and Description |
|---|
MemberLockCmdImpl()
The constructor for MemberLockCmdImpl calls its parents constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
This method returns the organization for which we are attempting to set the lock state.
|
boolean |
isGeneric()
This method checks if the command is generic.
|
boolean |
isRetriable()
This method calls its parents isRetriable() method.
|
void |
lock()
This method sets the lock state to Locked.
|
void |
performExecute()
This method executes the command.
|
void |
setMemberId(java.lang.String memberId)
This method sets the memberID for the organization to either Locked or Unlocked state.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the properties of the command.
|
void |
unlock()
This method sets the lock state to Unlocked.
|
void |
validateParameters()
This method calls its parents validateParamters() method.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public MemberLockCmdImpl()
public void setMemberId(java.lang.String memberId)
setMemberId in interface MemberLockCmdmemberId - The memberID of the organization to lock/unlock.public void lock()
lock in interface MemberLockCmdMemberLockCmd.lock()public void unlock()
unlock in interface MemberLockCmdMemberLockCmd.unlock()public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic boolean isGeneric()
isGeneric in interface ControllerCommandisGeneric in class ControllerCommandImplControllerCommand.isGeneric()public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - The requestProperties.ECExceptionControllerCommand.setRequestProperties(TypedProperty)public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionECCommand.validateParameters()public boolean isRetriable()
isRetriable in interface ControllerCommandisRetriable in class ControllerCommandImplControllerCommand.isRetriable()public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionECCommand.getResources()