public class

OfBizProjectRoleAndActorStore

extends Object
implements ProjectRoleAndActorStore
java.lang.Object
   ↳ com.atlassian.jira.security.roles.OfBizProjectRoleAndActorStore

Class Overview

OfBiz persistent implementation.

Summary

Public Constructors
OfBizProjectRoleAndActorStore(OfBizDelegator genericDelegator, RoleActorFactory roleActorFactory, GroupManager groupManager)
Public Methods
ProjectRole addProjectRole(ProjectRole projectRole)
void applyDefaultsRolesToProject(Project project)
void deleteProjectRole(ProjectRole projectRole)
Collection<ProjectRole> getAllProjectRoles()
DefaultRoleActors getDefaultRoleActors(Long projectRoleId)
Collection<Long> getProjectIdsContainingRoleActorByKeyAndType(String key, String type)
Map<LongList<String>> getProjectIdsForUserInGroupsBecauseOfRole(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userKey)
ProjectRole getProjectRole(Long id)
ProjectRoleActors getProjectRoleActors(Long projectRoleId, Long projectId)
ProjectRole getProjectRoleByName(String name)
void removeAllRoleActorsByKeyAndType(String key, String type)
void removeAllRoleActorsByProject(Project project)
List<Long> roleActorOfTypeExistsForProjects(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter)
void updateDefaultRoleActors(DefaultRoleActors defaultRoleActors)
void updateProjectRole(ProjectRole projectRole)
void updateProjectRoleActors(ProjectRoleActors projectRoleActors)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.security.roles.ProjectRoleAndActorStore

Public Constructors

public OfBizProjectRoleAndActorStore (OfBizDelegator genericDelegator, RoleActorFactory roleActorFactory, GroupManager groupManager)

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)