com.ibm.commerce.membergroup.commands

Class AddMemberGroupMemberCmdImpl

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

    • Constructor Detail

      • AddMemberGroupMemberCmdImpl

        public AddMemberGroupMemberCmdImpl()
    • Method Detail

      • enableContentManagement

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

        public java.lang.String getMemberId()
        Gets the ID of this member.
        Specified by:
        getMemberId in interface AddMemberGroupMemberCmd
        Returns:
        ID of this member.
      • setMemberGroupId

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

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

        public void setExclude(java.lang.String exclude)
        Sets the exclude flag.
        Specified by:
        setExclude in interface AddMemberGroupMemberCmd
        Parameters:
        exclude - Exclude flag.
      • setField1

        public void setField1(java.lang.String field1)
        Sets the custom field 1 value.
        Specified by:
        setField1 in interface AddMemberGroupMemberCmd
        Parameters:
        field1 - Custom field 1 value.
      • setCustomerId

        public void setCustomerId(java.lang.String customerId)
        Sets the customer ID.
        Specified by:
        setCustomerId in interface AddMemberGroupMemberCmd
        Parameters:
        customerId - Customer ID.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to call. This method will return false if any of the member group id, the member id or the exclude value 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