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 StringgetLabel()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.DocumentModelgetModel()StringgetName()Gets the name of the group.List<String>getParentGroups()Gets the list of groups this group is a member of.voidsetLabel(String label)Sets 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.voidsetName(String name)Sets the name of this group.voidsetParentGroups(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
-
getName
String getName()
Gets the name of the group.- Returns:
- the name of the group
-
setName
void setName(String name)
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
void setLabel(String label)
Sets the label of this group.- Parameters:
label- the label of the group
-
getModel
DocumentModel getModel()
- Since:
- 9.3
-
-