public interface SchemePermissionsDAO
Long getPermissionSchemeIdFor(long projectId)
projectId
List<SchemePermissionsDTO> getSchemePermissions(long schemeId, ProjectPermissionKey projectPermissionKey)
schemeId
and projectPermissionKey
List<String> findGroupsFromTypeGroup(long schemeId, ProjectPermissionKey projectPermissionKey)
JiraPermissionHolderType.GROUP
with non-null parameterschemeId
List<String> findGroupsFromTypeProjectRoleGroup(long schemeId, long projectId, ProjectPermissionKey projectPermissionKey)
projectId
, schemeId
and projectPermissionKey
List<String> findGroupsFromGroupCF(long schemeId, long issueId, ProjectPermissionKey projectPermissionKey)
schemeId
and projectPermissionKey
List<String> findGroupsFromSelectCF(long schemeId, long issueId, ProjectPermissionKey projectPermissionKey)
List<String> findGroupsFromApplicationRole(long schemeId, ProjectPermissionKey permissionKey)
JiraPermissionHolderType.APPLICATION_ROLE
with not null parameterschemeId
and projectPermissionKey
List<UserDTO> findTopUsersFromTypeUser(String userSearchName, long schemeId, ProjectPermissionKey projectPermissionKey, int topN)
JiraPermissionHolderType.USER
topN
users matching userSearchName
for given schemeId
and projectPermissionKey
List<UserDTO> findTopUsersFromUserCF(String userSearchName, long schemeId, long issueId, ProjectPermissionKey projectPermissionKey, int topN)
topN
users matching userSearchName
for given schemeId
and projectPermissionKey
List<UserDTO> findTopUsersFromTypeProjectRoleUsers(String userSearchName, long schemeId, long projectId, ProjectPermissionKey projectPermissionKey, int topN)
topN
users matching userSearchName
for given schemeId
and projectPermissionKey
Copyright © 2002-2023 Atlassian. All Rights Reserved.