public class AuditingGroupAdministrationConfigurationService extends Object implements GroupAdministrationConfigurationService
Constructor and Description |
---|
AuditingGroupAdministrationConfigurationService(GroupAdministrationConfigurationService delegate,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
SingleGroupAdministrationMappings |
getGroupAdministrators(Group group)
Searches and returns all administrators a given group
|
void |
grantGroupPermissions(GroupGroupAdministrationMapping mapping)
Grants administration rights basing on the passed mapping
|
void |
grantGroupPermissions(UserGroupAdministrationMapping mapping)
Grants administration rights basing on the passed mapping
|
void |
revokeGroupPermissions(GroupGroupAdministrationMapping mapping)
Removes grant for the specified admin group and the target group
|
void |
revokeGroupPermissions(UserGroupAdministrationMapping mapping)
Removes grant for the specified admin user and the target group
|
public AuditingGroupAdministrationConfigurationService(GroupAdministrationConfigurationService delegate, com.atlassian.event.api.EventPublisher eventPublisher)
public void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
grantGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- the mappingGroupNotFoundException
FeatureInaccessibleException
public void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
grantGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- the mappingUserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
public void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
revokeGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- data regarding the admin group and the target groupGroupNotFoundException
FeatureInaccessibleException
public void revokeGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
revokeGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- data regarding the admin user and the target groupUserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
public SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
getGroupAdministrators
in interface GroupAdministrationConfigurationService
group
- the groupGroupNotFoundException
FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.