Class AddMemberGroupMemberCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AddMemberGroupMemberCmd,,,,,,

    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
        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
        ID of this member.
      • setMemberGroupId

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

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

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

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

        public void setCustomerId(java.lang.String customerId)
        Sets the customer ID.
        Specified by:
        setCustomerId in interface AddMemberGroupMemberCmd
        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
        isReadyToCallExecute in class AbstractECTargetableCommand
        true if the command is ready to go