Class NuxeoComputedGroup

java.lang.Object
org.nuxeo.ecm.platform.computedgroups.NuxeoComputedGroup
All Implemented Interfaces:
Serializable, NuxeoGroup, ComputedGroup

public class NuxeoComputedGroup extends Object implements ComputedGroup
Computed group implementation class. Delegates part of the implementation logic to the ComputedGroupsService that is pluggable.
Author:
Thierry Delprat
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getMemberUsers

      public List<String> getMemberUsers()
      Description copied from interface: NuxeoGroup
      Gets the list of member users of this group.
      Specified by:
      getMemberUsers in interface NuxeoGroup
      Returns:
      the list of member users of this group
    • getName

      public String getName()
      Description copied from interface: NuxeoGroup
      Gets the name of the group.
      Specified by:
      getName in interface NuxeoGroup
      Returns:
      the name of the group
    • getLabel

      public String getLabel()
      Description copied from interface: NuxeoGroup
      Gets the label of the group
      Specified by:
      getLabel in interface NuxeoGroup
      Returns:
      the label of the group
    • getParentGroups

      public List<String> getParentGroups()
      Description copied from interface: NuxeoGroup
      Gets the list of groups this group is a member of.
      Specified by:
      getParentGroups in interface NuxeoGroup
      Returns:
      the list of parent groups of this group
    • getMemberGroups

      public List<String> getMemberGroups()
      Description copied from interface: NuxeoGroup
      Gets the list of member groups of this group.
      Specified by:
      getMemberGroups in interface NuxeoGroup
      Returns:
      the list of member groups of this group
    • setMemberGroups

      public void setMemberGroups(List<String> groups)
      Description copied from interface: NuxeoGroup
      Sets the list of member groups for this group.
      Specified by:
      setMemberGroups in interface NuxeoGroup
      Parameters:
      groups - a list of groups
    • setMemberUsers

      public void setMemberUsers(List<String> users)
      Description copied from interface: NuxeoGroup
      Sets the list of member users for this group.
      Specified by:
      setMemberUsers in interface NuxeoGroup
      Parameters:
      users - a list of users
    • setName

      public void setName(String name)
      Description copied from interface: NuxeoGroup
      Sets the name of this group.
      Specified by:
      setName in interface NuxeoGroup
      Parameters:
      name - the new name of the group
    • setLabel

      public void setLabel(String label)
      Description copied from interface: NuxeoGroup
      Sets the label of this group.
      Specified by:
      setLabel in interface NuxeoGroup
      Parameters:
      label - the label of the group
    • setParentGroups

      public void setParentGroups(List<String> groups)
      Description copied from interface: NuxeoGroup
      Sets the list of groups this group is member of.
      Specified by:
      setParentGroups in interface NuxeoGroup
      Parameters:
      groups - a list of groups
    • getModel

      public DocumentModel getModel()
      Specified by:
      getModel in interface NuxeoGroup