public static class GroupApi.NotImplemented extends Object implements GroupApi
GroupApi.NotImplemented| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroups(String... groups)
Adds subgroups to this group.
|
void |
addMembers(String... members)
Add members to a group.
|
List<? extends GroupAuditEventInfo> |
auditLog()
Returns the audit log of the group.
|
String |
description() |
void |
description(String description)
Set group decsription.
|
GroupInfo |
detail() |
GroupInfo |
get() |
List<GroupInfo> |
includedGroups()
Lists the subgroups of this group.
|
void |
index()
Reindexes the group.
|
List<AccountInfo> |
members()
List group members, non-recursively.
|
List<AccountInfo> |
members(boolean recursive)
List group members.
|
String |
name() |
void |
name(String name)
Set group name.
|
GroupOptionsInfo |
options() |
void |
options(GroupOptionsInfo options)
Set group options.
|
GroupInfo |
owner() |
void |
owner(String owner)
Set group owner.
|
void |
removeGroups(String... groups)
Removes subgroups from this group.
|
void |
removeMembers(String... members)
Remove members from a group.
|
public GroupInfo get() throws RestApiException
get in interface GroupApiListGroupsOptions set.RestApiExceptionpublic GroupInfo detail() throws RestApiException
detail in interface GroupApiListGroupsOptions set.RestApiExceptionpublic String name() throws RestApiException
name in interface GroupApiRestApiExceptionpublic void name(String name) throws RestApiException
GroupApiname in interface GroupApiname - new name.RestApiExceptionpublic GroupInfo owner() throws RestApiException
owner in interface GroupApiRestApiExceptionpublic void owner(String owner) throws RestApiException
GroupApiowner in interface GroupApiowner - identifier of new group owner.RestApiExceptionpublic String description() throws RestApiException
description in interface GroupApiRestApiExceptionpublic void description(String description) throws RestApiException
GroupApidescription in interface GroupApidescription - new description.RestApiExceptionpublic GroupOptionsInfo options() throws RestApiException
options in interface GroupApiRestApiExceptionpublic void options(GroupOptionsInfo options) throws RestApiException
GroupApioptions in interface GroupApioptions - new options.RestApiExceptionpublic List<AccountInfo> members() throws RestApiException
GroupApimembers in interface GroupApiRestApiExceptionpublic List<AccountInfo> members(boolean recursive) throws RestApiException
GroupApimembers in interface GroupApirecursive - whether to recursively included groups.RestApiExceptionpublic void addMembers(String... members) throws RestApiException
GroupApiaddMembers in interface GroupApimembers - list of member identifiers, in any format accepted by Accounts.id(String)RestApiExceptionpublic void removeMembers(String... members) throws RestApiException
GroupApiremoveMembers in interface GroupApimembers - list of member identifiers, in any format accepted by Accounts.id(String)RestApiExceptionpublic List<GroupInfo> includedGroups() throws RestApiException
GroupApiincludedGroups in interface GroupApiRestApiExceptionpublic void addGroups(String... groups) throws RestApiException
GroupApiaddGroups in interface GroupApigroups - list of group identifiers, in any format accepted by Groups.id(String)RestApiExceptionpublic void removeGroups(String... groups) throws RestApiException
GroupApiremoveGroups in interface GroupApigroups - list of group identifiers, in any format accepted by Groups.id(String)RestApiExceptionpublic List<? extends GroupAuditEventInfo> auditLog() throws RestApiException
GroupApiauditLog in interface GroupApiRestApiExceptionpublic void index()
throws RestApiException
GroupApiOnly supported for internal groups.
index in interface GroupApiRestApiExceptionCopyright © 2018. All rights reserved.