com.ibm.commerce.usermanagement.commands
Interface MemberLockCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
MemberLockCmdImpl

public interface MemberLockCmd
extends ControllerCommand

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
          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
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values
Method Detail

setMemberId

public void setMemberId(java.lang.String memberId)
Sets the memberId for the organization to either Locked or Unlocked state.
Parameters:
memberId - The memberId of the organization to lock/unlock.

lock

public void lock()
Sets the lock state to Locked.

unlock

public void unlock()
Sets the lock state to Unlocked.