Class NuxeoGroupImpl
java.lang.Object
org.nuxeo.ecm.platform.usermanager.NuxeoGroupImpl
- All Implemented Interfaces:
Serializable
,NuxeoGroup
- Author:
- George Lefter
- See Also:
-
Field Summary
Fields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
PREFIX
-
Constructor Summary
ConstructorDescriptionNuxeoGroupImpl
(String name) NuxeoGroupImpl
(String name, String label) NuxeoGroupImpl
(DocumentModel model, GroupConfig config) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.int
hashCode()
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.toString()
-
Field Details
-
model
-
config
-
-
Constructor Details
-
NuxeoGroupImpl
-
NuxeoGroupImpl
-
NuxeoGroupImpl
-
-
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
-
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
-
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
-
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
-
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
-
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
-
getName
Description copied from interface:NuxeoGroup
Gets the name of the group.- Specified by:
getName
in interfaceNuxeoGroup
- Returns:
- the name of the group
-
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
-
getLabel
Description copied from interface:NuxeoGroup
Gets the label of the group- Specified by:
getLabel
in interfaceNuxeoGroup
- Returns:
- the label 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
-
getModel
- Specified by:
getModel
in interfaceNuxeoGroup
-
equals
-
hashCode
public int hashCode() -
toString
-