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
memberId
is null (_ERR_MISSING_PARMS).state
is null (_ERR_MISSING_PARMS).
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
NAME The name of this interface. |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Method Summary | |
---|---|
void |
lock() Sets the lock state to Locked. |
void |
setMemberId(java.lang.String memberId) Sets the memberId for the organization to either Locked or Unlocked state. |
void |
unlock() Sets the lock state to Unlocked. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
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,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
Method Detail |
---|
public void setMemberId(java.lang.String memberId)
memberId
- The memberId of the organization to
lock/unlock.public void lock()
public void unlock()