com.ibm.commerce.membergroup.commands

Class DeleteMemberGroupAllMemberCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, DeleteMemberGroupAllMemberCmd, 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 DeleteMemberGroupAllMemberCmdImpl
    extends TaskCommandImpl
    implements DeleteMemberGroupAllMemberCmd
    This class implements the DeleteMemberGroupAllMemberCmd interface to provide the task command that removes all member from a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • DeleteMemberGroupAllMemberCmdImpl

        public DeleteMemberGroupAllMemberCmdImpl()
    • Method Detail

      • enableContentManagement

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

        public void setMemberGroupId(java.lang.Long memberGroupId)
        set the member group ID.
        Specified by:
        setMemberGroupId in interface DeleteMemberGroupAllMemberCmd
        Parameters:
        memberGroupId - the Id of the membergroup.
      • setExclusion

        public void setExclusion(java.lang.String exclusion)
        set the exclude flag.
        Specified by:
        setExclusion in interface DeleteMemberGroupAllMemberCmd
        Parameters:
        exclude - exclude flag of the members
      • 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.