public class NuxeoComputedGroup extends Object implements ComputedGroup
ComputedGroupsService
that is pluggable.Modifier and Type | Field and Description |
---|---|
protected List<String> |
members |
protected String |
name |
protected List<String> |
parents |
protected List<String> |
subGroups |
PREFIX
Constructor and Description |
---|
NuxeoComputedGroup(String name) |
NuxeoComputedGroup(String name,
String label) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Gets the label of the group
|
List<String> |
getMemberGroups()
Gets the list of member groups of this group.
|
List<String> |
getMemberUsers()
Gets the list of member users of this group.
|
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.
|
public NuxeoComputedGroup(String name)
public NuxeoComputedGroup(String name, String label)
public List<String> getMemberUsers()
NuxeoGroup
getMemberUsers
in interface NuxeoGroup
public String getName()
NuxeoGroup
getName
in interface NuxeoGroup
public String getLabel()
NuxeoGroup
getLabel
in interface NuxeoGroup
public List<String> getParentGroups()
NuxeoGroup
getParentGroups
in interface NuxeoGroup
public List<String> getMemberGroups()
NuxeoGroup
getMemberGroups
in interface NuxeoGroup
public void setMemberGroups(List<String> groups)
NuxeoGroup
setMemberGroups
in interface NuxeoGroup
groups
- a list of groupspublic void setMemberUsers(List<String> users)
NuxeoGroup
setMemberUsers
in interface NuxeoGroup
users
- a list of userspublic void setName(String name)
NuxeoGroup
setName
in interface NuxeoGroup
name
- the new name of the grouppublic void setLabel(String label)
NuxeoGroup
setLabel
in interface NuxeoGroup
label
- the label of the grouppublic void setParentGroups(List<String> groups)
NuxeoGroup
setParentGroups
in interface NuxeoGroup
groups
- a list of groupsCopyright © 2017 Nuxeo. All rights reserved.