public interface

ProjectRoleAndActorStore

com.atlassian.jira.security.roles.ProjectRoleAndActorStore
Known Indirect Subclasses

Class Overview

This is an interface that defines the storage class for ProjectRoles and RoleActors.

Public Methods

public ProjectRole addProjectRole (ProjectRole projectRole)

public void applyDefaultsRolesToProject (Project project)

public void deleteProjectRole (ProjectRole projectRole)

public Collection<ProjectRole> getAllProjectRoles ()

public DefaultRoleActors getDefaultRoleActors (Long projectRoleId)

public Collection<Long> getProjectIdsContainingRoleActorByKeyAndType (String key, String type)

public Map<LongList<String>> getProjectIdsForUserInGroupsBecauseOfRole (List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userKey)

public ProjectRole getProjectRole (Long id)

public ProjectRoleActors getProjectRoleActors (Long projectRoleId, Long projectId)

public ProjectRole getProjectRoleByName (String name)

public void removeAllRoleActorsByKeyAndType (String key, String type)

public void removeAllRoleActorsByProject (Project project)

public List<Long> roleActorOfTypeExistsForProjects (List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter)

public void updateDefaultRoleActors (DefaultRoleActors defaultRoleActors)

public void updateProjectRole (ProjectRole projectRole)

public void updateProjectRoleActors (ProjectRoleActors projectRoleActors)