public interface ProjectRoleAndActorStore
ProjectRole addProjectRole(ProjectRole projectRole)
void updateProjectRole(ProjectRole projectRole)
Collection<ProjectRole> getAllProjectRoles()
ProjectRole getProjectRole(Long id)
ProjectRole getProjectRoleByName(String name)
void deleteProjectRole(ProjectRole projectRole)
ProjectRoleActors getProjectRoleActors(@Nonnull Long projectRoleId, Long projectId)
ProjectRoleActors
for a given project role ID and project ID.projectRoleId
- the ID of the project role.projectId
- the ID of the project.ProjectRoleActors
object containing the role actors for the given project with the given
project role id. If none are found, a ProjectRoleActors
object with an empty set will be returned.void updateProjectRoleActors(ProjectRoleActors projectRoleActors)
void updateDefaultRoleActors(DefaultRoleActors defaultRoleActors)
DefaultRoleActors getDefaultRoleActors(@Nonnull Long projectRoleId)
ProjectRoleActors
for a given project role ID.projectRoleId
- the ID of the project role.ProjectRoleActors
object containing the default role actors for the given project. If none are
found, a ProjectRoleActors
object with an empty set will be returned.void applyDefaultsRolesToProject(Project project)
void removeAllRoleActorsByProject(Project project)
Collection<Long> getProjectIdsContainingRoleActorByKeyAndType(String key, String type)
List<Long> roleActorOfTypeExistsForProjects(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter)
Map<Long,List<String>> getProjectIdsForUserInGroupsBecauseOfRole(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userKey)
Copyright © 2002-2022 Atlassian. All Rights Reserved.