Interface GroupAdministrationConfigurationService
- All Known Implementing Classes:
AuditingGroupAdministrationConfigurationService
,GroupAdministrationConfigurationServiceImpl
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 groupvoid
Grants administration rights basing on the passed mappingvoid
Grants administration rights basing on the passed mappingvoid
Removes grant for the specified admin group and the target groupvoid
Removes 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:
GroupNotFoundException
FeatureInaccessibleException
-
grantGroupPermissions
void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException Grants administration rights basing on the passed mapping- Parameters:
mapping
- the mapping- Throws:
UserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
-
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:
GroupNotFoundException
FeatureInaccessibleException
-
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:
UserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
-
getGroupAdministrators
SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException Searches and returns all administrators a given group- Parameters:
group
- the group- Returns:
- the administrators
- Throws:
GroupNotFoundException
FeatureInaccessibleException
-