Package org.nuxeo.ecm.core.api
Interface NuxeoGroup
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComputedGroup
- All Known Implementing Classes:
NuxeoComputedGroup,NuxeoGroupImpl
Holds the list of member users and subgroups for a group.
- Author:
- George Lefter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetId()Returns a unique identifier to use to reference this group externally.getLabel()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.
-
Field Details
-
PREFIX
- See Also:
-
-
Method Details
-
getMemberUsers
Gets the list of member users of this group.- Returns:
- the list of member users of this group
-
getMemberGroups
Gets the list of member groups of this group.- Returns:
- the list of member groups of this group
-
getParentGroups
Gets the list of groups this group is a member of.- Returns:
- the list of parent groups of this group
-
setMemberUsers
Sets the list of member users for this group.- Parameters:
users- a list of users
-
setMemberGroups
Sets the list of member groups for this group.- Parameters:
groups- a list of groups
-
setParentGroups
Sets the list of groups this group is member of.- Parameters:
groups- a list of groups
-
getId
Returns a unique identifier to use to reference this group externally.- Returns:
- A unique identifier
- Since:
- 2025.9
- See Also:
-
getName
String getName()Gets the name of the group.- Returns:
- the name of the group
-
setName
Sets the name of this group.- Parameters:
name- the new name of the group
-
getLabel
String getLabel()Gets the label of the group- Returns:
- the label of the group
-
setLabel
Sets the label of this group.- Parameters:
label- the label of the group
-
getModel
DocumentModel getModel()- Since:
- 9.3
-