com.ibm.commerce.usermanagement.commands

Interface MemberLockCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    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

    • Sets the lock state for the organization with the given memberId to the lock value specified.

    Exception Conditions

    • memberId is null (_ERR_MISSING_PARMS).
    • state is null (_ERR_MISSING_PARMS).
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • setMemberId

        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

        void lock()
        Sets the lock state to Locked.
      • unlock

        void unlock()
        Sets the lock state to Unlocked.