Class DuplicateMemberGroupCmdImpl

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

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

    • Constructor Detail

      • DuplicateMemberGroupCmdImpl

        public DuplicateMemberGroupCmdImpl()
    • Method Detail

      • enableContentManagement

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

        public void setMemberGroupId(java.lang.Long memberGroupId)
        set the member group ID.
        Specified by:
        setMemberGroupId in interface DuplicateMemberGroupCmd
        memberGroupId - the Id of the membergroup.
      • setMbrGrpName

        public void setMbrGrpName(java.lang.String name)
        set the member group name.
        Specified by:
        setMbrGrpName in interface DuplicateMemberGroupCmd
        name - the name of the membergroup.
      • setMbrGrpDescription

        public void setMbrGrpDescription(java.lang.String description)
        set the member group description.
        Specified by:
        setMbrGrpDescription in interface DuplicateMemberGroupCmd
        description - the description of the membergroup.
      • getOrigMemberGroupId

        public java.lang.Long getOrigMemberGroupId()
        get the member group Id to be duplicated.
        Specified by:
        getOrigMemberGroupId in interface DuplicateMemberGroupCmd
        the Id of the membergroup to be duplicated.
      • 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
        isReadyToCallExecute in class AbstractECTargetableCommand
        true if the command is ready to go
      • setMemberGroupDisplayName

        public void setMemberGroupDisplayName(java.lang.String _newMemberGroupDisplayName)
        Sets the _newMemberGroupDisplayName.
        _newMemberGroupDisplayName - The _newMemberGroupDisplayName to set