Interface GroupAdministrationConfigurationService
public interface GroupAdministrationConfigurationService
Checks, assigns and revokes access to administer groups by other groups and users
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupAdministrators(Group group) Searches and returns all administrators a given groupvoidGrants administration rights basing on the passed mappingvoidGrants administration rights basing on the passed mappingvoidRemoves grant for the specified admin group and the target groupvoidRemoves grant for the specified admin user and the target group
-
Method Details
-
grantGroupPermissions
void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException Grants administration rights basing on the passed mapping- Parameters:
mapping- the mapping- Throws:
GroupNotFoundExceptionFeatureInaccessibleException
-
grantGroupPermissions
void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException Grants administration rights basing on the passed mapping- Parameters:
mapping- the mapping- Throws:
UserNotFoundExceptionGroupNotFoundExceptionFeatureInaccessibleException
-
revokeGroupPermissions
void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException Removes grant for the specified admin group and the target group- Parameters:
mapping- data regarding the admin group and the target group- Throws:
GroupNotFoundExceptionFeatureInaccessibleException
-
revokeGroupPermissions
void revokeGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException Removes grant for the specified admin user and the target group- Parameters:
mapping- data regarding the admin user and the target group- Throws:
UserNotFoundExceptionGroupNotFoundExceptionFeatureInaccessibleException
-
getGroupAdministrators
SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException Searches and returns all administrators a given group- Parameters:
group- the group- Returns:
- the administrators
- Throws:
GroupNotFoundExceptionFeatureInaccessibleException
-