Package com.strongdm.api
Class Groups
java.lang.Object
com.strongdm.api.Groups
- All Implemented Interfaces:
SnapshotGroups
A Group is a set of principals.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate registers a new Group.createFromRoles
(Collection<String> roleIds, boolean commit) Delete removes a Group by ID.Get reads one Group by ID.List gets a list of Groups matching a given set of criteria.Update replaces all the fields of a Group by ID.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Groups service which has the given deadline set for all method calls.
-
Constructor Details
-
Groups
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Groups service which has the given deadline set for all method calls. -
create
Create registers a new Group.- Throws:
RpcException
-
createFromRoles
public GroupCreateFromRolesResponse createFromRoles(Collection<String> roleIds, boolean commit) throws RpcException - Throws:
RpcException
-
get
Get reads one Group by ID.- Specified by:
get
in interfaceSnapshotGroups
- Throws:
RpcException
-
update
Update replaces all the fields of a Group by ID.- Throws:
RpcException
-
delete
Delete removes a Group by ID.- Throws:
RpcException
-
list
List gets a list of Groups matching a given set of criteria.- Specified by:
list
in interfaceSnapshotGroups
- Throws:
RpcException
-