public class Group extends ConnectableEntity<UserManagerAPI,Group>
| Modifier and Type | Field and Description |
|---|---|
protected String |
groupLabel |
protected String |
groupName |
protected List<String> |
memberGroups |
protected List<String> |
memberUsers |
protected List<String> |
parentGroups |
entityTypeapi, apiClass, nuxeoClientheaderInterceptors, headerValues, okhttpBuilder, retrofit, retrofitBuilder| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
Groups |
fetchMemberGroups()
Returns a list of member groups fetched from server.
|
Users |
fetchMemberUsers()
Returns a list of member users fetched from server.
|
String |
getGroupLabel() |
String |
getGroupName() |
List<String> |
getMemberGroups()
Returns a list of member groups if information is returned by server.
|
List<String> |
getMemberUsers()
Returns a list of member users if information is returned by server.
|
List<String> |
getParentGroups()
Returns a list of parent groups if information is returned by server.
|
void |
setGroupLabel(String groupLabel) |
void |
setGroupName(String groupName) |
void |
setMemberGroups(List<String> memberGroups)
Sets the memberGroups to this object.
|
void |
setMemberUsers(List<String> memberUsers)
Sets the memberUsers to this object.
|
void |
setParentGroups(List<String> parentGroups)
Sets the parentGroups to this object.
|
getEntityTypebuildRetrofit, fetchResponse, fetchResponse, reconnectWithconnectTimeout, depth, enrichers, enrichers, enrichersForDocument, fetchProperties, fetchProperties, fetchPropertiesForDocument, fetchPropertiesForGroup, header, header, header, header, header, header, header, readTimeout, replaceWith, schemas, schemas, timeout, transactionTimeout, versionpublic String getGroupName()
public void setGroupName(String groupName)
public String getGroupLabel()
public void setGroupLabel(String groupLabel)
public List<String> getMemberUsers()
fetch.group=memberUsers header to request.
This could be achieved with client API like this:
// if you want to apply header on all requests
client.fetchPropertiesForGroup("memberUsers").userManager().fetchGroup("...");
// if you want to apply header only on requests made by this userManager
client.userManager().fetchPropertiesForGroup("memberUsers").fetchGroup("...");
public Users fetchMemberUsers()
public void setMemberUsers(List<String> memberUsers)
UserManager.createGroup(Group) or UserManager.updateGroup(Group).public List<String> getMemberGroups()
fetch.group=memberGroups header to request.
This could be achieved with client API like this:
// if you want to apply header on all requests
client.fetchPropertiesForGroup("memberGroups").userManager().fetchGroup("...");
// if you want to apply header only on requests made by this userManager
client.userManager().fetchPropertiesForGroup("memberGroups").fetchGroup("...");
public Groups fetchMemberGroups()
public void setMemberGroups(List<String> memberGroups)
UserManager.createGroup(Group) or UserManager.updateGroup(Group).public List<String> getParentGroups()
fetch.group=parentGroups header to request.
This could be achieved with client API like this:
// if you want to apply header on all requests
client.fetchPropertiesForGroup("parentGroups").userManager().fetchGroup("...");
// if you want to apply header only on requests made by this userManager
client.userManager().fetchPropertiesForGroup("parentGroups").fetchGroup("...");
CAUTION: Only available for Nuxeo Server greater than LTS 2016 - 8.10-HF19
public void setParentGroups(List<String> parentGroups)
UserManager.createGroup(Group) or UserManager.updateGroup(Group).
CAUTION: Only available for Nuxeo Server greater than LTS 2016 - 8.10-HF19
Copyright © 2018 Nuxeo. All rights reserved.