Class NuxeoGroupImpl
java.lang.Object
org.nuxeo.ecm.platform.usermanager.NuxeoGroupImpl
- All Implemented Interfaces:
Serializable,NuxeoGroup
- Author:
- George Lefter
- See Also:
-
Field Summary
FieldsFields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionNuxeoGroupImpl(String name) NuxeoGroupImpl(String name, String label) NuxeoGroupImpl(DocumentModel model, GroupConfig config) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()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.inthashCode()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.toString()
-
Field Details
-
model
-
config
-
-
Constructor Details
-
NuxeoGroupImpl
-
NuxeoGroupImpl
-
NuxeoGroupImpl
-
-
Method Details
-
getMemberUsers
Description copied from interface:NuxeoGroupGets the list of member users of this group.- Specified by:
getMemberUsersin interfaceNuxeoGroup- Returns:
- the list of member users of this group
-
getMemberGroups
Description copied from interface:NuxeoGroupGets the list of member groups of this group.- Specified by:
getMemberGroupsin interfaceNuxeoGroup- Returns:
- the list of member groups of this group
-
getParentGroups
Description copied from interface:NuxeoGroupGets the list of groups this group is a member of.- Specified by:
getParentGroupsin interfaceNuxeoGroup- Returns:
- the list of parent groups of this group
-
setMemberUsers
Description copied from interface:NuxeoGroupSets the list of member users for this group.- Specified by:
setMemberUsersin interfaceNuxeoGroup- Parameters:
users- a list of users
-
setMemberGroups
Description copied from interface:NuxeoGroupSets the list of member groups for this group.- Specified by:
setMemberGroupsin interfaceNuxeoGroup- Parameters:
groups- a list of groups
-
setParentGroups
Description copied from interface:NuxeoGroupSets the list of groups this group is member of.- Specified by:
setParentGroupsin interfaceNuxeoGroup- Parameters:
groups- a list of groups
-
getId
Description copied from interface:NuxeoGroupReturns a unique identifier to use to reference this group externally.- Specified by:
getIdin interfaceNuxeoGroup- Returns:
- A unique identifier
- See Also:
-
getName
Description copied from interface:NuxeoGroupGets the name of the group.- Specified by:
getNamein interfaceNuxeoGroup- Returns:
- the name of the group
-
setName
Description copied from interface:NuxeoGroupSets the name of this group.- Specified by:
setNamein interfaceNuxeoGroup- Parameters:
name- the new name of the group
-
getLabel
Description copied from interface:NuxeoGroupGets the label of the group- Specified by:
getLabelin interfaceNuxeoGroup- Returns:
- the label of the group
-
setLabel
Description copied from interface:NuxeoGroupSets the label of this group.- Specified by:
setLabelin interfaceNuxeoGroup- Parameters:
label- the label of the group
-
getModel
- Specified by:
getModelin interfaceNuxeoGroup
-
hashCode
public int hashCode() -
equals
-
toString
-