void
|
addActorsToProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
|
void
|
addActorsToProjectRole(Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
|
void
|
addDefaultActorsToProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, String type, ErrorCollection errorCollection)
|
void
|
addDefaultActorsToProjectRole(Collection<String> actors, ProjectRole projectRole, String type, ErrorCollection errorCollection)
|
ProjectRole
|
createProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
ProjectRole
|
createProjectRole(ProjectRole projectRole, ErrorCollection errorCollection)
|
void
|
deleteProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
void
|
deleteProjectRole(ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedIssueSecuritySchemes(ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedIssueSecuritySchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedNotificationSchemes(ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedNotificationSchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedPermissionSchemes(ProjectRole projectRole, ErrorCollection errorCollection)
|
Collection
|
getAssociatedPermissionSchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
MultiMap
|
getAssociatedWorkflows(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
MultiMap
|
getAssociatedWorkflows(ProjectRole projectRole, ErrorCollection errorCollection)
|
DefaultRoleActors
|
getDefaultRoleActors(User currentUser, ProjectRole projectRole, ErrorCollection collection)
|
DefaultRoleActors
|
getDefaultRoleActors(ProjectRole projectRole, ErrorCollection collection)
|
Map<Long, List<String>>
|
getProjectIdsForUserInGroupsBecauseOfRole(User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userName, ErrorCollection errorCollection)
|
Map<Long, List<String>>
|
getProjectIdsForUserInGroupsBecauseOfRole(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userName, ErrorCollection errorCollection)
|
ProjectRole
|
getProjectRole(Long id, ErrorCollection errorCollection)
|
ProjectRole
|
getProjectRole(User currentUser, Long id, ErrorCollection errorCollection)
This method is deprecated.
Use getProjectRole(Long, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return the project role with the given id , and checking the currentUser
has the correct permissions to perform the operation.
The passed in errorCollection will contain any errors that are generated, such as permission violations.
|
ProjectRoleActors
|
getProjectRoleActors(User currentUser, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
|
ProjectRoleActors
|
getProjectRoleActors(ProjectRole projectRole, Project project, ErrorCollection errorCollection)
|
ProjectRole
|
getProjectRoleByName(String name, ErrorCollection errorCollection)
|
ProjectRole
|
getProjectRoleByName(User currentUser, String name, ErrorCollection errorCollection)
This method is deprecated.
Use getProjectRoleByName(String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return the project role with the given name , and checking the currentUser
has the correct permissions to perform the operation.
The passed in errorCollection will contain any errors that are generated, such as permission violations.
|
Collection<ProjectRole>
|
getProjectRoles(User currentUser, ErrorCollection errorCollection)
|
Collection<ProjectRole>
|
getProjectRoles(ErrorCollection errorCollection)
|
Collection<Project>
|
getProjectsContainingRoleActorByNameAndType(String name, String type, ErrorCollection errorCollection)
|
Collection<Project>
|
getProjectsContainingRoleActorByNameAndType(User currentUser, String name, String type, ErrorCollection errorCollection)
|
boolean
|
hasProjectRolePermission(User currentUser, Project project)
|
boolean
|
hasProjectRolePermission(Project project)
|
boolean
|
isProjectRoleNameUnique(User currentUser, String name, ErrorCollection errorCollection)
|
boolean
|
isProjectRoleNameUnique(String name, ErrorCollection errorCollection)
|
void
|
removeActorsFromProjectRole(Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
|
void
|
removeActorsFromProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
|
void
|
removeAllRoleActorsByNameAndType(String name, String type)
|
void
|
removeAllRoleActorsByNameAndType(String name, String type, ErrorCollection errorCollection)
|
void
|
removeAllRoleActorsByNameAndType(User currentUser, String name, String type, ErrorCollection errorCollection)
This method is deprecated.
Use removeAllRoleActorsByNameAndType(String, String, ErrorCollection) instead. Since v6.0.
Will remove all role actors with the specified name and the specified type. This method should be used
to clean up after the actual subject of the role actor has been deleted (ex. deleting a user from the system).
|
void
|
removeAllRoleActorsByProject(User currentUser, Project project, ErrorCollection errorCollection)
|
void
|
removeAllRoleActorsByProject(Project project, ErrorCollection errorCollection)
|
void
|
removeDefaultActorsFromProjectRole(Collection<String> actors, ProjectRole projectRole, String actorType, ErrorCollection errorCollection)
|
void
|
removeDefaultActorsFromProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, String actorType, ErrorCollection errorCollection)
|
List<Long>
|
roleActorOfTypeExistsForProjects(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter, ErrorCollection errorCollection)
|
List<Long>
|
roleActorOfTypeExistsForProjects(User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter, ErrorCollection errorCollection)
|
void
|
setActorsForProjectRole(User currentUser, Map<String, Set<String>> newRoleActors, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
|
void
|
setActorsForProjectRole(Map<String, Set<String>> newRoleActors, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
|
void
|
updateProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
|
void
|
updateProjectRole(ProjectRole projectRole, ErrorCollection errorCollection)
|
ErrorCollection
|
validateRemoveAllRoleActorsByNameAndType(String name, String type)
|
ErrorCollection
|
validateRemoveAllRoleActorsByNameAndType(User currentUser, String name, String type)
This method is deprecated.
Use removeAllRoleActorsByNameAndType(String, String) instead. Since v6.0.
Will validate removing all role actors with the specified name and the specified type. This method should be used
before clean up after the actual subject of the role actor has been deleted (ex. deleting a user from the system).
Validation error wil be reported when name does not exists, type does not exists or user performing validation
does not have administrative rights
|