Package net.worcade.client.api
Interface GroupApi
-
- All Superinterfaces:
OptionalFieldsApi,OwnerApi,RemoteIdsApi
public interface GroupApi extends OwnerApi, RemoteIdsApi
-
-
Method Summary
-
Methods inherited from interface net.worcade.client.api.mixin.OptionalFieldsApi
addOptionalFields, getOptionalFields, removeOptionalFields
-
Methods inherited from interface net.worcade.client.api.mixin.OwnerApi
addOwners, removeOwners
-
Methods inherited from interface net.worcade.client.api.mixin.RemoteIdsApi
addRemoteIds, removeRemoteIds, searchByRemoteId
-
-
-
-
Method Detail
-
createBuilder
GroupCreate createBuilder()
-
getProfile
Result<? extends GroupProfile> getProfile(String id)
-
create
Result<? extends Reference> create(GroupModification subject)
Create a new Group. Use thecreateBuilder()method for a new, empty template.
-
updateProfile
Result<?> updateProfile(GroupModification subject)
-
getGroupList
Result<? extends Collection<? extends Group>> getGroupList(Query<GroupField> query)
Get a filtered list of groups. You can create a Query object usingQuery.group()
-
searchByEmail
Result<? extends Collection<? extends ReferenceWithName>> searchByEmail(String email)
-
addMembers
Result<?> addMembers(String id, Collection<? extends Reference> members)
-
searchByDomain
Result<? extends ReferenceWithName> searchByDomain(String domain)
-
-