Class AddMemberGroupCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AddMemberGroupCmd, SegmentConstants,,,,,,

    public class AddMemberGroupCmdImpl
    extends TaskCommandImpl
    implements AddMemberGroupCmd, SegmentConstants
    This class implements the AddMemberGroupCmd interface to provide the task command that creates a member group. AccessBean used within the implementation:MemberGroupAccessBean, MemberGroupUsageAccessBean,RecognizedMemberGroupAccessBean
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • AddMemberGroupCmdImpl

        public AddMemberGroupCmdImpl()
    • Method Detail

      • setIsCalledFromService

        public void setIsCalledFromService(boolean bService)
        Indicates whether this task command is called from a service.
        Specified by:
        setIsCalledFromService in interface AddMemberGroupCmd
        bService - true the command is called from a service.
      • enableContentManagement

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

        public void setMemberGroupName(java.lang.String name)
        Sets the member group name.
        Specified by:
        setMemberGroupName in interface AddMemberGroupCmd
        name - Member group name.
      • setMemberGroupOwnerId

        public void setMemberGroupOwnerId(java.lang.Long ownerId)
        Sets the member group owner ID.
        Specified by:
        setMemberGroupOwnerId in interface AddMemberGroupCmd
        ownerId - Member group owner ID.
      • setMemberGroupDescription

        public void setMemberGroupDescription(java.lang.String description)
        Sets the member group description.
        Specified by:
        setMemberGroupDescription in interface AddMemberGroupCmd
        description - Member group description.
      • setMemberGroupConditions

        public void setMemberGroupConditions(java.lang.String conditions)
        Sets the member group conditions.
        Specified by:
        setMemberGroupConditions in interface AddMemberGroupCmd
        conditions - Member group conditions.
      • setMemberGroupDN

        public void setMemberGroupDN(java.lang.String dn)
        Sets the member group distinguished name.
        Specified by:
        setMemberGroupDN in interface AddMemberGroupCmd
        dn - Member group distinguished name.
      • setMemberGroupField1

        public void setMemberGroupField1(java.lang.String field1)
        Sets the member group custom field 1.
        Specified by:
        setMemberGroupField1 in interface AddMemberGroupCmd
        field1 - Member group custom field 1.
      • setMemberGroupField2

        public void setMemberGroupField2(java.lang.String field2)
        Sets the member group custom field 2.
        Specified by:
        setMemberGroupField2 in interface AddMemberGroupCmd
        field2 - Member group custom field 2.
      • setMemberGroupField3

        public void setMemberGroupField3(java.lang.String field3)
        Sets the member group custom field 3.
        Specified by:
        setMemberGroupField3 in interface AddMemberGroupCmd
        field3 - Member group custom field 3.
      • setMemberGroupOID

        public void setMemberGroupOID(java.lang.String oid)
        Sets the member group OID.
        Specified by:
        setMemberGroupOID in interface AddMemberGroupCmd
        oid - Member group OID.
      • setMemberGroupUsageTypeId

        public void setMemberGroupUsageTypeId(java.lang.Integer usageTypeId)
        Sets the member group usage type ID.
        Specified by:
        setMemberGroupUsageTypeId in interface AddMemberGroupCmd
        usageTypeId - Member group usage type ID.
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of this member group.
        Specified by:
        getMemberGroupId in interface AddMemberGroupCmd
        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 name is null.
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        true if the command is ready to go
      • setMemberGroupDisplayName

        public void setMemberGroupDisplayName(java.lang.String _memberGroupDisplayName)
        Sets the member group display name.
        _memberGroupDisplayName - The _memberGroupDisplayName to set