GroupApi.NotImplemented
Constructor and Description |
---|
NotImplemented() |
Modifier and Type | Method and Description |
---|---|
void |
addGroups(String... groups)
Add groups to be included in this one.
|
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()
List included groups.
|
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)
Remove included groups from this one.
|
void |
removeMembers(String... members)
Remove members from a group.
|
public GroupInfo get()
public GroupInfo detail()
public GroupInfo owner()
public String description()
description
in interface GroupApi
public void description(String description)
GroupApi
description
in interface GroupApi
description
- new description.public GroupOptionsInfo options()
public void options(GroupOptionsInfo options)
GroupApi
public List<AccountInfo> members()
GroupApi
public List<AccountInfo> members(boolean recursive) throws RestApiException
GroupApi
members
in interface GroupApi
recursive
- whether to recursively included groups.RestApiException
public void addMembers(String... members)
GroupApi
addMembers
in interface GroupApi
members
- list of member identifiers, in any format accepted by Accounts.id(String)
public void removeMembers(String... members)
GroupApi
removeMembers
in interface GroupApi
members
- list of member identifiers, in any format accepted by Accounts.id(String)
public List<GroupInfo> includedGroups()
GroupApi
includedGroups
in interface GroupApi
public void addGroups(String... groups)
GroupApi
addGroups
in interface GroupApi
groups
- list of group identifiers, in any format accepted by Groups.id(String)
public void removeGroups(String... groups)
GroupApi
removeGroups
in interface GroupApi
groups
- list of group identifiers, in any format accepted by Groups.id(String)
public List<? extends GroupAuditEventInfo> auditLog() throws RestApiException
GroupApi
auditLog
in interface GroupApi
RestApiException