public interface GroupAdministrationGrantGroupDao
| Modifier and Type | Method and Description |
|---|---|
GroupAdministrationGrantToGroup |
add(GroupAdministrationGrantToGroup grant)
Adds a new group administration grant to a group
|
List<GroupAdministrationGrantToGroup> |
findAll() |
List<GroupAdministrationGrantToGroup> |
findGrantsOfGroups(Collection<InternalGroup> groups)
Looks for grants assigned to given groups
|
List<GroupAdministrationGrantToGroup> |
findGrantsToGroup(InternalGroup targetGroup)
Looks for administration grants for a given group
|
List<GroupAdministrationGrantToGroup> |
findGrantsToGroupFromDirectory(InternalGroup group,
Directory directory)
Looks for grants of groups which administer an other group and come from given directory
|
void |
remove(InternalGroup adminGroup,
InternalGroup targetGroup)
Remove administration grant for a group to a group
|
GroupAdministrationGrantToGroup add(GroupAdministrationGrantToGroup grant)
grant - the grantList<GroupAdministrationGrantToGroup> findGrantsToGroup(InternalGroup targetGroup)
targetGroup - the groupList<GroupAdministrationGrantToGroup> findGrantsOfGroups(Collection<InternalGroup> groups)
groups - the groupsList<GroupAdministrationGrantToGroup> findGrantsToGroupFromDirectory(InternalGroup group, Directory directory)
group - the group which is administereddirectory - the directoryList<GroupAdministrationGrantToGroup> findAll()
void remove(InternalGroup adminGroup, InternalGroup targetGroup)
adminGroup - the group which will lose the granttargetGroup - the id of group to which grant will be lostCopyright © 2023 Atlassian. All rights reserved.