Class NuxeoComputedGroup
java.lang.Object
org.nuxeo.ecm.platform.computedgroups.NuxeoComputedGroup
- All Implemented Interfaces:
Serializable,NuxeoGroup,ComputedGroup
Computed group implementation class. Delegates part of the implementation logic to the
ComputedGroupsService
that is pluggable.- Author:
- Thierry Delprat
- See Also:
-
Field Summary
FieldsFields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionNuxeoComputedGroup(String name, String label, GroupConfig config) NuxeoComputedGroup(String name, GroupConfig config) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Gets the label of the groupGets the list of member groups of this group.Gets the list of member users of this group.getModel()getName()Gets the name of the group.Gets the list of groups this group is a member of.voidSets 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.voidSets the name of this group.voidsetParentGroups(List<String> groups) Sets the list of groups this group is member of.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
getId
-
Field Details
-
members
-
subGroups
-
parents
-
model
-
config
-
-
Constructor Details
-
NuxeoComputedGroup
-
NuxeoComputedGroup
-
-
Method Details
-
getMemberUsers
Description copied from interface:NuxeoGroupGets the list of member users of this group.- Specified by:
getMemberUsersin interfaceNuxeoGroup- Returns:
- the list of member users of this group
-
getName
Description copied from interface:NuxeoGroupGets the name of the group.- Specified by:
getNamein interfaceNuxeoGroup- Returns:
- the name of the group
-
getLabel
Description copied from interface:NuxeoGroupGets the label of the group- Specified by:
getLabelin interfaceNuxeoGroup- Returns:
- the label of the group
-
getParentGroups
Description copied from interface:NuxeoGroupGets the list of groups this group is a member of.- Specified by:
getParentGroupsin interfaceNuxeoGroup- Returns:
- the list of parent groups of this group
-
getMemberGroups
Description copied from interface:NuxeoGroupGets the list of member groups of this group.- Specified by:
getMemberGroupsin interfaceNuxeoGroup- Returns:
- the list of member groups of this group
-
setMemberGroups
Description copied from interface:NuxeoGroupSets the list of member groups for this group.- Specified by:
setMemberGroupsin interfaceNuxeoGroup- Parameters:
groups- a list of groups
-
setMemberUsers
Description copied from interface:NuxeoGroupSets the list of member users for this group.- Specified by:
setMemberUsersin interfaceNuxeoGroup- Parameters:
users- a list of users
-
setName
Description copied from interface:NuxeoGroupSets the name of this group.- Specified by:
setNamein interfaceNuxeoGroup- Parameters:
name- the new name of the group
-
setLabel
Description copied from interface:NuxeoGroupSets the label of this group.- Specified by:
setLabelin interfaceNuxeoGroup- Parameters:
label- the label of the group
-
setParentGroups
Description copied from interface:NuxeoGroupSets the list of groups this group is member of.- Specified by:
setParentGroupsin interfaceNuxeoGroup- Parameters:
groups- a list of groups
-
getModel
- Specified by:
getModelin interfaceNuxeoGroup
-