@Transactional public class GroupAdministrationConfigurationServiceImpl extends Object implements GroupAdministrationConfigurationService
GroupAdministrationConfigurationService
which only works for cached directories and usersConstructor and Description |
---|
GroupAdministrationConfigurationServiceImpl(UserAdministrationGrantGroupDao userGrantDao,
GroupAdministrationGrantGroupDao groupGrantDao,
InternalGroupDao internalGroupDao,
InternalUserDao internalUserDao) |
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 GroupAdministrationConfigurationServiceImpl(UserAdministrationGrantGroupDao userGrantDao, GroupAdministrationGrantGroupDao groupGrantDao, InternalGroupDao internalGroupDao, InternalUserDao internalUserDao)
public void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
grantGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- the mappingUserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
public void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
grantGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- the mappingGroupNotFoundException
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 void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
revokeGroupPermissions
in interface GroupAdministrationConfigurationService
mapping
- data regarding the admin group and the target groupGroupNotFoundException
FeatureInaccessibleException
public SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException
GroupAdministrationConfigurationService
getGroupAdministrators
in interface GroupAdministrationConfigurationService
group
- the groupGroupNotFoundException
FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.