Class AuditingGroupAdministrationConfigurationService
java.lang.Object
com.atlassian.crowd.service.permission.AuditingGroupAdministrationConfigurationService
- All Implemented Interfaces:
GroupAdministrationConfigurationService
public class AuditingGroupAdministrationConfigurationService
extends Object
implements GroupAdministrationConfigurationService
-
Constructor Summary
ConstructorDescriptionAuditingGroupAdministrationConfigurationService
(GroupAdministrationConfigurationService delegate, com.atlassian.event.api.EventPublisher eventPublisher) -
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
-
Constructor Details
-
AuditingGroupAdministrationConfigurationService
public AuditingGroupAdministrationConfigurationService(GroupAdministrationConfigurationService delegate, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
grantGroupPermissions
public void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException Description copied from interface:GroupAdministrationConfigurationService
Grants administration rights basing on the passed mapping- Specified by:
grantGroupPermissions
in interfaceGroupAdministrationConfigurationService
- Parameters:
mapping
- the mapping- Throws:
GroupNotFoundException
FeatureInaccessibleException
-
grantGroupPermissions
public void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException Description copied from interface:GroupAdministrationConfigurationService
Grants administration rights basing on the passed mapping- Specified by:
grantGroupPermissions
in interfaceGroupAdministrationConfigurationService
- Parameters:
mapping
- the mapping- Throws:
UserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
-
revokeGroupPermissions
public void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException Description copied from interface:GroupAdministrationConfigurationService
Removes grant for the specified admin group and the target group- Specified by:
revokeGroupPermissions
in interfaceGroupAdministrationConfigurationService
- Parameters:
mapping
- data regarding the admin group and the target group- Throws:
GroupNotFoundException
FeatureInaccessibleException
-
revokeGroupPermissions
public void revokeGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException Description copied from interface:GroupAdministrationConfigurationService
Removes grant for the specified admin user and the target group- Specified by:
revokeGroupPermissions
in interfaceGroupAdministrationConfigurationService
- Parameters:
mapping
- data regarding the admin user and the target group- Throws:
UserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
-
getGroupAdministrators
public SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException Description copied from interface:GroupAdministrationConfigurationService
Searches and returns all administrators a given group- Specified by:
getGroupAdministrators
in interfaceGroupAdministrationConfigurationService
- Parameters:
group
- the group- Returns:
- the administrators
- Throws:
GroupNotFoundException
FeatureInaccessibleException
-