GroupApi.NotImplemented
Constructor and Description |
---|
NotImplemented() |
Modifier and Type | Method and Description |
---|---|
void |
addGroups(java.util.List<java.lang.String> groups)
Adds subgroups to this group.
|
void |
addMembers(java.util.List<java.lang.String> members)
Add members to a group.
|
java.util.List<? extends GroupAuditEventInfo> |
auditLog()
Returns the audit log of the group.
|
java.lang.String |
description() |
void |
description(java.lang.String description)
Set group decsription.
|
GroupInfo |
detail() |
GroupInfo |
get() |
java.util.List<GroupInfo> |
includedGroups()
Lists the subgroups of this group.
|
void |
index()
Reindexes the group.
|
java.util.List<AccountInfo> |
members()
List group members, non-recursively.
|
java.util.List<AccountInfo> |
members(boolean recursive)
List group members.
|
java.lang.String |
name() |
void |
name(java.lang.String name)
Set group name.
|
GroupOptionsInfo |
options() |
void |
options(GroupOptionsInfo options)
Set group options.
|
GroupInfo |
owner() |
void |
owner(java.lang.String owner)
Set group owner.
|
void |
removeGroups(java.util.List<java.lang.String> groups)
Removes subgroups from this group.
|
void |
removeMembers(java.util.List<java.lang.String> members)
Remove members from a group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addGroups, addMembers, removeGroups, removeMembers
public GroupInfo get() throws RestApiException
get
in interface GroupApi
ListGroupsOption
s set.RestApiException
public GroupInfo detail() throws RestApiException
detail
in interface GroupApi
ListGroupsOption
s set.RestApiException
public java.lang.String name() throws RestApiException
name
in interface GroupApi
RestApiException
public void name(java.lang.String name) throws RestApiException
GroupApi
name
in interface GroupApi
name
- new name.RestApiException
public GroupInfo owner() throws RestApiException
owner
in interface GroupApi
RestApiException
public void owner(java.lang.String owner) throws RestApiException
GroupApi
owner
in interface GroupApi
owner
- identifier of new group owner.RestApiException
public java.lang.String description() throws RestApiException
description
in interface GroupApi
RestApiException
public void description(java.lang.String description) throws RestApiException
GroupApi
description
in interface GroupApi
description
- new description.RestApiException
public GroupOptionsInfo options() throws RestApiException
options
in interface GroupApi
RestApiException
public void options(GroupOptionsInfo options) throws RestApiException
GroupApi
options
in interface GroupApi
options
- new options.RestApiException
public java.util.List<AccountInfo> members() throws RestApiException
GroupApi
members
in interface GroupApi
RestApiException
public java.util.List<AccountInfo> members(boolean recursive) throws RestApiException
GroupApi
members
in interface GroupApi
recursive
- whether to recursively included groups.RestApiException
public void addMembers(java.util.List<java.lang.String> members) throws RestApiException
GroupApi
addMembers
in interface GroupApi
members
- list of member identifiers, in any format accepted by Accounts.id(String)
RestApiException
public void removeMembers(java.util.List<java.lang.String> members) throws RestApiException
GroupApi
removeMembers
in interface GroupApi
members
- list of member identifiers, in any format accepted by Accounts.id(String)
RestApiException
public java.util.List<GroupInfo> includedGroups() throws RestApiException
GroupApi
includedGroups
in interface GroupApi
RestApiException
public void addGroups(java.util.List<java.lang.String> groups) throws RestApiException
GroupApi
addGroups
in interface GroupApi
groups
- list of group identifiers, in any format accepted by Groups.id(String)
RestApiException
public void removeGroups(java.util.List<java.lang.String> groups) throws RestApiException
GroupApi
removeGroups
in interface GroupApi
groups
- list of group identifiers, in any format accepted by Groups.id(String)
RestApiException
public java.util.List<? extends GroupAuditEventInfo> auditLog() throws RestApiException
GroupApi
auditLog
in interface GroupApi
RestApiException
public void index() throws RestApiException
GroupApi
Only supported for internal groups.
index
in interface GroupApi
RestApiException