Package org.nuxeo.ecm.core.api
Interface NuxeoGroup
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComputedGroup
- All Known Implementing Classes:
NuxeoComputedGroup
,NuxeoGroupImpl
public interface NuxeoGroup extends Serializable
Holds the list of member users and subgroups for a group.- Author:
- George Lefter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLabel()
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.DocumentModel
getModel()
String
getName()
Gets the name of the group.List<String>
getParentGroups()
Gets the list of groups this group is a member of.void
setLabel(String label)
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
setName(String name)
Sets the name of this group.void
setParentGroups(List<String> groups)
Sets the list of groups this group is member of.
-
-
-
Field Detail
-
PREFIX
static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMemberUsers
List<String> getMemberUsers()
Gets the list of member users of this group.- Returns:
- the list of member users of this group
-
getMemberGroups
List<String> getMemberGroups()
Gets the list of member groups of this group.- Returns:
- the list of member groups of this group
-
getParentGroups
List<String> getParentGroups()
Gets the list of groups this group is a member of.- Returns:
- the list of parent groups of this group
-
setMemberUsers
void setMemberUsers(List<String> users)
Sets the list of member users for this group.- Parameters:
users
- a list of users
-
setMemberGroups
void setMemberGroups(List<String> groups)
Sets the list of member groups for this group.- Parameters:
groups
- a list of groups
-
setParentGroups
void setParentGroups(List<String> groups)
Sets the list of groups this group is member of.- Parameters:
groups
- a list of groups
-
setName
void setName(String name)
Sets the name of this group.- Parameters:
name
- the new name of the group
-
setLabel
void setLabel(String label)
Sets the label of this group.- Parameters:
label
- the label of the group
-
getModel
DocumentModel getModel()
- Since:
- 9.3
-
-