GroupsServiceImpl

public class GroupsServiceImpl extends BaseApiService<CloudIdentity>
implements Service

Nested Class Summary

class GroupsServiceImpl.Builder  

Inherited Field Summary

Public Method Summary

ListenableFuture<Operation>
createGroup(Group group)
ListenableFuture<Operation>
createMembership(String groupId, Membership member)
ListenableFuture<Operation>
deleteGroup(String groupId)
ListenableFuture<Operation>
deleteMembership(String memberId)
static GroupsServiceImpl
ListenableFuture<Group>
getGroup(String groupId)
ListenableFuture<Membership>
getMembership(String memberId)
Iterable<Group>
listGroups(String groupNamespace)
Iterable<Membership>
listMembers(String groupId)

Protected Method Summary

void
void

Inherited Method Summary

Public Methods

public ListenableFuture<Operation> createGroup (Group group)

Parameters
group
Throws
IOException

public ListenableFuture<Operation> createMembership (String groupId, Membership member)

Parameters
groupId
member
Throws
IOException

public ListenableFuture<Operation> deleteGroup (String groupId)

Parameters
groupId
Throws
IOException

public ListenableFuture<Operation> deleteMembership (String memberId)

Parameters
memberId
Throws
IOException

public static GroupsServiceImpl fromConfiguration (CredentialFactory credentialFactory)

Parameters
credentialFactory
Throws
GeneralSecurityException
IOException

public ListenableFuture<Group> getGroup (String groupId)

Parameters
groupId
Throws
IOException

public ListenableFuture<Membership> getMembership (String memberId)

Parameters
memberId
Throws
IOException

public Iterable<Group> listGroups (String groupNamespace)

Parameters
groupNamespace
Throws
IOException

public Iterable<Membership> listMembers (String groupId)

Parameters
groupId
Throws
IOException

Protected Methods

protected void shutDown ()

Throws
Exception

protected void startUp ()

Throws
Exception

Send feedback about...

Cloud Search
Cloud Search