Uses of Interface
com.atlassian.jira.security.roles.ProjectRole

Packages that use ProjectRole
com.atlassian.jira.bc.projectroles   
com.atlassian.jira.issue.comments   
com.atlassian.jira.issue.worklog   
com.atlassian.jira.security.roles   
 

Uses of ProjectRole in com.atlassian.jira.bc.projectroles
 

Methods in com.atlassian.jira.bc.projectroles that return ProjectRole
 ProjectRole ProjectRoleService.createProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will create the project role with the given projectRole.getName(), projectRole.getDescription() and checking the currentUser has the correct permissions to perform the create operation.
 ProjectRole ProjectRoleService.createProjectRole(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will create the project role with the given projectRole.getName(), projectRole.getDescription() and checking the currentUser has the correct permissions to perform the create operation.
 ProjectRole ProjectRoleService.getProjectRole(User currentUser, Long id, ErrorCollection errorCollection)
          Will return the project role with the given id, and checking the currentUser has the correct permissions to perform the operation.
 ProjectRole ProjectRoleService.getProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Long id, ErrorCollection errorCollection)
          Will return the project role with the given id, and checking the currentUser has the correct permissions to perform the operation.
 ProjectRole ProjectRoleService.getProjectRoleByName(User currentUser, String name, ErrorCollection errorCollection)
          Will return the project role with the given name, and checking the currentUser has the correct permissions to perform the operation.
 ProjectRole ProjectRoleService.getProjectRoleByName(com.atlassian.crowd.embedded.api.User currentUser, String name, ErrorCollection errorCollection)
          Will return the project role with the given name, and checking the currentUser has the correct permissions to perform the operation.
 

Methods in com.atlassian.jira.bc.projectroles that return types with arguments of type ProjectRole
 Collection<ProjectRole> ProjectRoleService.getProjectRoles(User currentUser, ErrorCollection errorCollection)
          Get all the ProjectRoles available in JIRA.
 Collection<ProjectRole> ProjectRoleService.getProjectRoles(com.atlassian.crowd.embedded.api.User currentUser, ErrorCollection errorCollection)
          Get all the ProjectRoles available in JIRA.
 

Methods in com.atlassian.jira.bc.projectroles with parameters of type ProjectRole
 void ProjectRoleService.addActorsToProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
          Will add project role actor associations for the given actors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.addActorsToProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
          Will add project role actor associations for the given actors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.addDefaultActorsToProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, String type, ErrorCollection errorCollection)
          Will add default role actor associations based off the passed in actors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.addDefaultActorsToProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Collection<String> actors, ProjectRole projectRole, String type, ErrorCollection errorCollection)
          Will add default role actor associations based off the passed in actors and checking the currentUser has the correct permissions to perform the update operation.
 ProjectRole ProjectRoleService.createProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will create the project role with the given projectRole.getName(), projectRole.getDescription() and checking the currentUser has the correct permissions to perform the create operation.
 ProjectRole ProjectRoleService.createProjectRole(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will create the project role with the given projectRole.getName(), projectRole.getDescription() and checking the currentUser has the correct permissions to perform the create operation.
 void ProjectRoleService.deleteProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will delete the given projectRole and checks the currentUser has the correct permissions to perform the delete operation.
 void ProjectRoleService.deleteProjectRole(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will delete the given projectRole and checks the currentUser has the correct permissions to perform the delete operation.
 Collection ProjectRoleService.getAssociatedIssueSecuritySchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all issue security scheme's that the specified projectRole is currently used in.
 Collection ProjectRoleService.getAssociatedIssueSecuritySchemes(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all issue security scheme's that the specified projectRole is currently used in.
 Collection ProjectRoleService.getAssociatedNotificationSchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all notification scheme's that the specified projectRole is currently used in.
 Collection ProjectRoleService.getAssociatedNotificationSchemes(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all notification scheme's that the specified projectRole is currently used in.
 Collection ProjectRoleService.getAssociatedPermissionSchemes(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all permission scheme's that the specified projectRole is currently used in.
 Collection ProjectRoleService.getAssociatedPermissionSchemes(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will get all permission scheme's that the specified projectRole is currently used in.
 org.apache.commons.collections.MultiMap ProjectRoleService.getAssociatedWorkflows(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Returns workflows and their actions that are associated with the given ProjectRole.
 org.apache.commons.collections.MultiMap ProjectRoleService.getAssociatedWorkflows(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Returns workflows and their actions that are associated with the given ProjectRole.
 DefaultRoleActors ProjectRoleService.getDefaultRoleActors(User currentUser, ProjectRole projectRole, ErrorCollection collection)
          Will return a DefaultRoleActors for the given projectRole checking the currentUser has the correct permissions to perform the get operation.
 DefaultRoleActors ProjectRoleService.getDefaultRoleActors(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection collection)
          Will return a DefaultRoleActors for the given projectRole checking the currentUser has the correct permissions to perform the get operation.
 Map<Long,List<String>> ProjectRoleService.getProjectIdsForUserInGroupsBecauseOfRole(User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userName, ErrorCollection errorCollection)
          Returns a Map of Lists.
 Map<Long,List<String>> ProjectRoleService.getProjectIdsForUserInGroupsBecauseOfRole(com.atlassian.crowd.embedded.api.User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userName, ErrorCollection errorCollection)
          Returns a Map of Lists.
 ProjectRoleActors ProjectRoleService.getProjectRoleActors(User currentUser, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
          Will return a {@link ProjectRoleActors) for the given projectRole and project checking the currentUser has the correct permissions to perform the get operation.
 ProjectRoleActors ProjectRoleService.getProjectRoleActors(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
          Will return a {@link ProjectRoleActors) for the given projectRole and project checking the currentUser has the correct permissions to perform the get operation.
 void ProjectRoleService.removeActorsFromProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
          Will remove project role actor associations for the given actors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.removeActorsFromProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Collection<String> actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)
          Will remove project role actor associations for the given actors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.removeDefaultActorsFromProjectRole(User currentUser, Collection<String> actors, ProjectRole projectRole, String actorType, ErrorCollection errorCollection)
          Will remove default actor associations based off the passed in actors, projectRole and actorType and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.removeDefaultActorsFromProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Collection<String> actors, ProjectRole projectRole, String actorType, ErrorCollection errorCollection)
          Will remove default actor associations based off the passed in actors, projectRole and actorType and checking the currentUser has the correct permissions to perform the update operation.
 List<Long> ProjectRoleService.roleActorOfTypeExistsForProjects(User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter, ErrorCollection errorCollection)
          Returns a list of projectId's for which the role actor of the specified type exists in the project for the provided projectRole.
 List<Long> ProjectRoleService.roleActorOfTypeExistsForProjects(com.atlassian.crowd.embedded.api.User currentUser, List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter, ErrorCollection errorCollection)
          Returns a list of projectId's for which the role actor of the specified type exists in the project for the provided projectRole.
 void ProjectRoleService.setActorsForProjectRole(com.atlassian.crowd.embedded.api.User currentUser, Map<String,Set<String>> newRoleActors, ProjectRole projectRole, Project project, ErrorCollection errorCollection)
          Will set the project role actor associations for the given newRoleActors and checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.updateProjectRole(User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will update projectRole, checking the currentUser has the correct permissions to perform the update operation.
 void ProjectRoleService.updateProjectRole(com.atlassian.crowd.embedded.api.User currentUser, ProjectRole projectRole, ErrorCollection errorCollection)
          Will update projectRole, checking the currentUser has the correct permissions to perform the update operation.
 

Uses of ProjectRole in com.atlassian.jira.issue.comments
 

Methods in com.atlassian.jira.issue.comments that return ProjectRole
 ProjectRole CommentManager.getProjectRole(Long projectRoleId)
          This is a convenience method to allow us to easily get a ProjectRole.
 ProjectRole Comment.getRoleLevel()
           
 

Uses of ProjectRole in com.atlassian.jira.issue.worklog
 

Methods in com.atlassian.jira.issue.worklog that return ProjectRole
 ProjectRole WorklogManager.getProjectRole(Long projectRoleId)
          This is a convenience method to allow us to easily get a ProjectRole.
 ProjectRole Worklog.getRoleLevel()
           
 

Uses of ProjectRole in com.atlassian.jira.security.roles
 

Methods in com.atlassian.jira.security.roles that return ProjectRole
 ProjectRole ProjectRoleManager.createRole(ProjectRole projectRole)
          Creates a project role object
 ProjectRole ProjectRoleManager.getProjectRole(Long id)
          Retrieves a project role object
 ProjectRole ProjectRoleManager.getProjectRole(String name)
          Retrieves a project role object by name
 

Methods in com.atlassian.jira.security.roles that return types with arguments of type ProjectRole
 Collection<ProjectRole> ProjectRoleManager.getProjectRoles()
          Get all the ProjectRoles available in JIRA.
 Collection<ProjectRole> ProjectRoleManager.getProjectRoles(com.atlassian.crowd.embedded.api.User user, Project project)
          This will return all the ProjectRoles that the user is currently a member of for the given project.
 Collection<ProjectRole> ProjectRoleManager.getProjectRoles(User user, Project project)
          Deprecated. Please use ProjectRoleManager.getProjectRoles(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.project.Project). Since v4.3
 

Methods in com.atlassian.jira.security.roles with parameters of type ProjectRole
 ProjectRole ProjectRoleManager.createRole(ProjectRole projectRole)
          Creates a project role object
 void ProjectRoleManager.deleteRole(ProjectRole projectRole)
          Deletes a project role object
 DefaultRoleActors ProjectRoleManager.getDefaultRoleActors(ProjectRole projectRole)
          This method will return the default role actors for a ProjectRole
 Map<Long,List<String>> ProjectRoleManager.getProjectIdsForUserInGroupsBecauseOfRole(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String userName)
          Returns a Map of Lists.
 ProjectRoleActors ProjectRoleManager.getProjectRoleActors(ProjectRole projectRole, Project project)
          This method will retrieve the object that represents the actors associate with the given projectRole and project context
 boolean ProjectRoleManager.isUserInProjectRole(com.atlassian.crowd.embedded.api.User user, ProjectRole projectRole, Project project)
          Returns true only if the given user is in the given project role for the given project.
 boolean ProjectRoleManager.isUserInProjectRole(User user, ProjectRole projectRole, Project project)
          Deprecated. Please use ProjectRoleManager.isUserInProjectRole(com.atlassian.crowd.embedded.api.User, ProjectRole, com.atlassian.jira.project.Project). Since v4.3
 List<Long> ProjectRoleManager.roleActorOfTypeExistsForProjects(List<Long> projectsToLimitBy, ProjectRole projectRole, String projectRoleType, String projectRoleParameter)
          Returns a list of projectId's for which the role actor of the specified type exists in the project for the provided projectRole.
 void ProjectRoleManager.updateRole(ProjectRole projectRole)
          Updates a project role object
 



Copyright © 2002-2011 Atlassian. All Rights Reserved.