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
Fields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
PREFIX
-
Constructor Summary
ConstructorDescriptionNuxeoComputedGroup
(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.void
Sets the label of this group.void
setMemberGroups
(List<String> groups) Sets the list of member groups for this group.void
setMemberUsers
(List<String> users) Sets the list of member users for this group.void
Sets the name of this group.void
setParentGroups
(List<String> groups) Sets the list of groups this group is member of.
-
Field Details
-
members
-
subGroups
-
parents
-
model
-
config
-
-
Constructor Details
-
NuxeoComputedGroup
-
NuxeoComputedGroup
-
-
Method Details
-
getMemberUsers
Description copied from interface:NuxeoGroup
Gets the list of member users of this group.- Specified by:
getMemberUsers
in interfaceNuxeoGroup
- Returns:
- the list of member users of this group
-
getName
Description copied from interface:NuxeoGroup
Gets the name of the group.- Specified by:
getName
in interfaceNuxeoGroup
- Returns:
- the name of the group
-
getLabel
Description copied from interface:NuxeoGroup
Gets the label of the group- Specified by:
getLabel
in interfaceNuxeoGroup
- Returns:
- the label of the group
-
getParentGroups
Description copied from interface:NuxeoGroup
Gets the list of groups this group is a member of.- Specified by:
getParentGroups
in interfaceNuxeoGroup
- Returns:
- the list of parent groups of this group
-
getMemberGroups
Description copied from interface:NuxeoGroup
Gets the list of member groups of this group.- Specified by:
getMemberGroups
in interfaceNuxeoGroup
- Returns:
- the list of member groups of this group
-
setMemberGroups
Description copied from interface:NuxeoGroup
Sets the list of member groups for this group.- Specified by:
setMemberGroups
in interfaceNuxeoGroup
- Parameters:
groups
- a list of groups
-
setMemberUsers
Description copied from interface:NuxeoGroup
Sets the list of member users for this group.- Specified by:
setMemberUsers
in interfaceNuxeoGroup
- Parameters:
users
- a list of users
-
setName
Description copied from interface:NuxeoGroup
Sets the name of this group.- Specified by:
setName
in interfaceNuxeoGroup
- Parameters:
name
- the new name of the group
-
setLabel
Description copied from interface:NuxeoGroup
Sets the label of this group.- Specified by:
setLabel
in interfaceNuxeoGroup
- Parameters:
label
- the label of the group
-
setParentGroups
Description copied from interface:NuxeoGroup
Sets the list of groups this group is member of.- Specified by:
setParentGroups
in interfaceNuxeoGroup
- Parameters:
groups
- a list of groups
-
getModel
- Specified by:
getModel
in interfaceNuxeoGroup
-