com.ibm.commerce.membergroup.commands

Class DeleteMemberGroupMemberCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, DeleteMemberGroupMemberCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class DeleteMemberGroupMemberCmdImpl
    extends TaskCommandImpl
    implements DeleteMemberGroupMemberCmd
    This class implements the DeleteMemberGroupMemberCmd interface to provide the task command that removes a member from a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • DeleteMemberGroupMemberCmdImpl

        public DeleteMemberGroupMemberCmdImpl()
    • Method Detail

      • enableContentManagement

        public void enableContentManagement(boolean enabled)
        Indicates whether Content Management flow should be used for the command
        Specified by:
        enableContentManagement in interface DeleteMemberGroupMemberCmd
        Parameters:
        enabled - true will use the Content Management flow
      • setMemberGroupId

        public void setMemberGroupId(java.lang.Long memberGroupId)
        Sets the member group ID.
        Specified by:
        setMemberGroupId in interface DeleteMemberGroupMemberCmd
        Parameters:
        memberGroupId - Member group ID.
      • setMemberId

        public void setMemberId(java.lang.Long memberId)
        Sets the member ID.
        Specified by:
        setMemberId in interface DeleteMemberGroupMemberCmd
        Parameters:
        memberId - Member ID.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to call. This method will return false if either the member group ID or the member ID are null.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if the command is ready to go.