public class NuxeoComputedGroup extends Object implements ComputedGroup
ComputedGroupsService
 that is pluggable.| Modifier and Type | Field and Description | 
|---|---|
protected GroupConfig | 
config  | 
protected List<String> | 
members  | 
protected DocumentModel | 
model  | 
protected List<String> | 
parents  | 
protected List<String> | 
subGroups  | 
PREFIX| Constructor and Description | 
|---|
NuxeoComputedGroup(String name)
Deprecated. 
 
since 9.3. Use  
NuxeoComputedGroup(String, GroupConfig). | 
NuxeoComputedGroup(String name,
                  GroupConfig config)  | 
NuxeoComputedGroup(String name,
                  String label)
Deprecated. 
 
since 9.3. Use  
NuxeoComputedGroup(String, String, GroupConfig). | 
NuxeoComputedGroup(String name,
                  String label,
                  GroupConfig config)  | 
| 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. 
 | 
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. 
 | 
protected DocumentModel model
protected GroupConfig config
public NuxeoComputedGroup(String name, GroupConfig config)
public NuxeoComputedGroup(String name, String label, GroupConfig config)
@Deprecated public NuxeoComputedGroup(String name)
NuxeoComputedGroup(String, GroupConfig).@Deprecated public NuxeoComputedGroup(String name, String label)
NuxeoComputedGroup(String, String, GroupConfig).public List<String> getMemberUsers()
NuxeoGroupgetMemberUsers in interface NuxeoGrouppublic String getName()
NuxeoGroupgetName in interface NuxeoGrouppublic String getLabel()
NuxeoGroupgetLabel in interface NuxeoGrouppublic List<String> getParentGroups()
NuxeoGroupgetParentGroups in interface NuxeoGrouppublic List<String> getMemberGroups()
NuxeoGroupgetMemberGroups in interface NuxeoGrouppublic void setMemberGroups(List<String> groups)
NuxeoGroupsetMemberGroups in interface NuxeoGroupgroups - a list of groupspublic void setMemberUsers(List<String> users)
NuxeoGroupsetMemberUsers in interface NuxeoGroupusers - a list of userspublic void setName(String name)
NuxeoGroupsetName in interface NuxeoGroupname - the new name of the grouppublic void setLabel(String label)
NuxeoGroupsetLabel in interface NuxeoGrouplabel - the label of the grouppublic void setParentGroups(List<String> groups)
NuxeoGroupsetParentGroups in interface NuxeoGroupgroups - a list of groupspublic DocumentModel getModel()
getModel in interface NuxeoGroupCopyright © 2019 Nuxeo. All rights reserved.