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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public 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 MemberLockCmd
memberId
- The memberID of the organization to lock/unlock.public void lock()
lock
in interface MemberLockCmd
MemberLockCmd.lock()
public void unlock()
unlock
in interface MemberLockCmd
MemberLockCmd.unlock()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public boolean isGeneric()
isGeneric
in interface ControllerCommand
isGeneric
in class ControllerCommandImpl
ControllerCommand.isGeneric()
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- The requestProperties.ECException
ControllerCommand.setRequestProperties(TypedProperty)
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECCommand.validateParameters()
public boolean isRetriable()
isRetriable
in interface ControllerCommand
isRetriable
in class ControllerCommandImpl
ControllerCommand.isRetriable()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
ECCommand.getResources()