public interface GroupManagementService
Modifier and Type | Method and Description |
---|---|
void |
addGroupMember(GroupReferenceType group,
ActorReferenceType member)
This method adds a group or user - given by its reference - to a given group.
|
GroupReferenceType |
createGroup(GroupPropertiesType properties)
This method creates a new group with the given data in the current user's tenant.
|
void |
deleteGroup(GroupReferenceType reference)
Deletes the group with the given reference.
|
void |
deleteSchemaExtension(GroupReferenceType group)
This method deletes the schema-extension of the given group.
|
List<AclReferenceType> |
getACLs(GroupReferenceType group)
This method returns the ACLs currently set on the referenced group.
|
Map<String,PropertyType> |
getSchemaExtension(GroupReferenceType group)
This method returns the schema-extension for the given group.
|
GroupType |
loadGroup(GroupReferenceType reference)
This method loads a group given a reference to it.
|
GroupType |
loadGroupByName(String name) |
SearchExecutionService<GroupListItemType> |
newMembershipSearchServiceForGroups(GroupReferenceType parent)
This method returns a
search execution service that searches groups that are
members of the given group. |
SearchExecutionService<UserListItemType> |
newMembershipSearchServiceForUsers(GroupReferenceType parent)
This method returns a
search execution service that searches users that are
members of the given group. |
SearchExecutionService<GroupListItemType> |
newTenantDeletedGroupSearchService()
This method returns a
search execution service that searches deleted groups of the
current user's tenant. |
SearchExecutionService<GroupListItemType> |
newTenantGroupSearchService()
This method returns a
search execution service that searches groups of the
current user's tenant. |
void |
removeGroupMember(GroupReferenceType group,
ActorReferenceType member)
This method removes a member reference to the given group.
|
void |
setSchemaExtension(GroupReferenceType group,
Map<String,PropertyType> schemaExtension)
This method stores the given schema-extension for the given group.
|
void |
undeleteGroup(GroupReferenceType reference)
Un-deletes the group with the given reference.
|
void |
updateGroup(GroupReferenceType reference,
GroupPropertiesType properties)
Updates a group with the given properties.
|
void addGroupMember(GroupReferenceType group, ActorReferenceType member) throws EcmException
group
- a reference to the group the member is added tomember
- a reference to the member to addResourceNotFoundException
- the referenced group does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
GroupReferenceType createGroup(GroupPropertiesType properties) throws EcmException
properties
- the properties of the groupSystemException
- indicates that a system exception occurredEcmException
void deleteGroup(GroupReferenceType reference) throws EcmException
reference
- the group referenceResourceNotFoundException
- the referenced group does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
void undeleteGroup(GroupReferenceType reference) throws EcmException
reference
- the group referenceSystemException
- indicates that a system exception occurredEcmException
SearchExecutionService<GroupListItemType> newTenantGroupSearchService() throws EcmException
search execution service
that searches groups of the
current user's tenant.EcmException
- indicates that a system exception occurredSearchExecutionService<GroupListItemType> newTenantDeletedGroupSearchService() throws EcmException
search execution service
that searches deleted groups of the
current user's tenant.EcmException
- indicates that a system exception occurredGroupType loadGroup(GroupReferenceType reference) throws EcmException
reference
- a reference to the group to load.ResourceNotFoundException
- the referenced group does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
GroupType loadGroupByName(String name) throws EcmException
EcmException
SearchExecutionService<GroupListItemType> newMembershipSearchServiceForGroups(GroupReferenceType parent)
search execution service
that searches groups that are
members of the given group.parent
- a reference to the group to search the members forsearch execution service
that searches groups that are members of the
given groupSearchExecutionService<UserListItemType> newMembershipSearchServiceForUsers(GroupReferenceType parent)
search execution service
that searches users that are
members of the given group.parent
- a reference to the group to search the members forsearch execution service
that searches users that are members of the
given groupvoid removeGroupMember(GroupReferenceType group, ActorReferenceType member) throws EcmException
group
- a reference to the group the member is added tomember
- a reference to the member to addResourceNotFoundException
- the referenced group or member does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
void updateGroup(GroupReferenceType reference, GroupPropertiesType properties) throws EcmException
reference
- reference to the group to updateproperties
- the properties to changeResourceNotFoundException
- the referenced group or member does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
Map<String,PropertyType> getSchemaExtension(GroupReferenceType group) throws EcmException
group
- the groupEcmException
void setSchemaExtension(GroupReferenceType group, Map<String,PropertyType> schemaExtension) throws EcmException
group
- the groupschemaExtension
- the schema-extension to storeEcmException
void deleteSchemaExtension(GroupReferenceType group) throws EcmException
group
- the groupEcmException
- when deleting the schema-extension failedList<AclReferenceType> getACLs(GroupReferenceType group) throws EcmException
group
- a reference to the groupEcmException
- when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.