Class AddMemberGroupMembersCmdImpl

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

    public class AddMemberGroupMembersCmdImpl
    extends TaskCommandImpl
    implements AddMemberGroupMembersCmd
    This class implements the AddMemberGroupMembersCmd interface to provide the task command that adds a list of members to a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • AddMemberGroupMembersCmdImpl

        public AddMemberGroupMembersCmdImpl()
    • Method Detail

      • enableContentManagement

        public void enableContentManagement(boolean enabled)
        Indicates whether Content Management flow should be used for the command
        Specified by:
        enableContentManagement in interface AddMemberGroupMembersCmd
        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 AddMemberGroupMembersCmd
        memberGroupId - the Id of the membergroup.
      • setMemberIds

        public void setMemberIds(java.lang.Long[] memberIds)
        Sets the member IDs.
        Specified by:
        setMemberIds in interface AddMemberGroupMembersCmd
        memberIds - the IDs of the members to be added.
      • setExclude

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

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

        public void setField1s(java.lang.String[] field1s)
        Sets the custom array of field 1 values.
        Specified by:
        setField1s in interface AddMemberGroupMembersCmd
        field1s - custom array of field 1 values. If field1s is not found code uses setField1 for all the members
      • setCustomerId

        public void setCustomerId(java.lang.String customerId)
        Sets the customer ID.
        Specified by:
        setCustomerId in interface AddMemberGroupMembersCmd
        customerId - the customer Id of mbrgrpmbr table.
      • setCustomerIds

        public void setCustomerIds(java.lang.String[] customerIds)
        Sets the custom array of customer ID values.
        Specified by:
        setCustomerIds in interface AddMemberGroupMembersCmd
        customerIds - custom array of customer Ids values. If customerIds is not found code uses setCustomerId for all the members
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of this member group.
        Specified by:
        getMemberGroupId in interface AddMemberGroupMembersCmd
        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 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