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 theComputedGroupsServicethat is pluggable.- Author:
- Thierry Delprat
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected GroupConfigconfigprotected List<String>membersprotected DocumentModelmodelprotected List<String>parentsprotected List<String>subGroups- 
Fields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroupPREFIX
 
- 
 - 
Constructor SummaryConstructors Constructor Description NuxeoComputedGroup(String name)Deprecated.since 9.3.NuxeoComputedGroup(String name, String label)Deprecated.since 9.3.NuxeoComputedGroup(String name, String label, GroupConfig config)NuxeoComputedGroup(String name, GroupConfig config)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets the label of the groupList<String>getMemberGroups()Gets the list of member groups of this group.List<String>getMemberUsers()Gets the list of member users of this group.DocumentModelgetModel()StringgetName()Gets the name of the group.List<String>getParentGroups()Gets the list of groups this group is a member of.voidsetLabel(String label)Sets the label of this group.voidsetMemberGroups(List<String> groups)Sets the list of member groups for this group.voidsetMemberUsers(List<String> users)Sets the list of member users for this group.voidsetName(String name)Sets the name of this group.voidsetParentGroups(List<String> groups)Sets the list of groups this group is member of.
 
- 
- 
- 
Field Detail- 
modelprotected DocumentModel model 
 - 
configprotected GroupConfig config 
 
- 
 - 
Constructor Detail- 
NuxeoComputedGrouppublic NuxeoComputedGroup(String name, GroupConfig config) 
 - 
NuxeoComputedGrouppublic NuxeoComputedGroup(String name, String label, GroupConfig config) 
 - 
NuxeoComputedGroup@Deprecated public NuxeoComputedGroup(String name) Deprecated.since 9.3. UseNuxeoComputedGroup(String, GroupConfig).
 - 
NuxeoComputedGroup@Deprecated public NuxeoComputedGroup(String name, String label) Deprecated.since 9.3. UseNuxeoComputedGroup(String, String, GroupConfig).
 
- 
 - 
Method Detail- 
getMemberUserspublic List<String> getMemberUsers() Description copied from interface:NuxeoGroupGets the list of member users of this group.- Specified by:
- getMemberUsersin interface- NuxeoGroup
- Returns:
- the list of member users of this group
 
 - 
getNamepublic String getName() Description copied from interface:NuxeoGroupGets the name of the group.- Specified by:
- getNamein interface- NuxeoGroup
- Returns:
- the name of the group
 
 - 
getLabelpublic String getLabel() Description copied from interface:NuxeoGroupGets the label of the group- Specified by:
- getLabelin interface- NuxeoGroup
- Returns:
- the label of the group
 
 - 
getParentGroupspublic List<String> getParentGroups() Description copied from interface:NuxeoGroupGets the list of groups this group is a member of.- Specified by:
- getParentGroupsin interface- NuxeoGroup
- Returns:
- the list of parent groups of this group
 
 - 
getMemberGroupspublic List<String> getMemberGroups() Description copied from interface:NuxeoGroupGets the list of member groups of this group.- Specified by:
- getMemberGroupsin interface- NuxeoGroup
- Returns:
- the list of member groups of this group
 
 - 
setMemberGroupspublic void setMemberGroups(List<String> groups) Description copied from interface:NuxeoGroupSets the list of member groups for this group.- Specified by:
- setMemberGroupsin interface- NuxeoGroup
- Parameters:
- groups- a list of groups
 
 - 
setMemberUserspublic void setMemberUsers(List<String> users) Description copied from interface:NuxeoGroupSets the list of member users for this group.- Specified by:
- setMemberUsersin interface- NuxeoGroup
- Parameters:
- users- a list of users
 
 - 
setNamepublic void setName(String name) Description copied from interface:NuxeoGroupSets the name of this group.- Specified by:
- setNamein interface- NuxeoGroup
- Parameters:
- name- the new name of the group
 
 - 
setLabelpublic void setLabel(String label) Description copied from interface:NuxeoGroupSets the label of this group.- Specified by:
- setLabelin interface- NuxeoGroup
- Parameters:
- label- the label of the group
 
 - 
setParentGroupspublic void setParentGroups(List<String> groups) Description copied from interface:NuxeoGroupSets the list of groups this group is member of.- Specified by:
- setParentGroupsin interface- NuxeoGroup
- Parameters:
- groups- a list of groups
 
 - 
getModelpublic DocumentModel getModel() - Specified by:
- getModelin interface- NuxeoGroup
 
 
- 
 
-