com.ibm.commerce.membergroup.commands

Class DeleteMemberGroupCmdImpl

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

    • Constructor Detail

      • DeleteMemberGroupCmdImpl

        public DeleteMemberGroupCmdImpl()
    • Method Detail

      • enableContentManagement

        public void enableContentManagement(boolean enabled)
        Indicates whether Content Management flow should be used for the command
        Specified by:
        enableContentManagement in interface DeleteMemberGroupCmd
        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 DeleteMemberGroupCmd
        Parameters:
        memberGroupId - Member group ID.
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of this member group.
        Specified by:
        getMemberGroupId in interface DeleteMemberGroupCmd
        Returns:
        ID of this member group.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to call. This method will return false if the member group ID is 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.