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
-
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
-
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
-
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
-