public interface ProjectFieldScreenHelper
Modifier and Type | Method and Description |
---|---|
boolean |
canUserViewFieldScreenForProject(ApplicationUser user,
FieldScreen fieldScreen,
Project project)
Whether the provided user can view the field screen for the project.
|
List<Project> |
getProjectsForFieldScreen(FieldScreen fieldScreen)
Gets the projects using a given
FieldScreen . |
List<Project> getProjectsForFieldScreen(FieldScreen fieldScreen)
FieldScreen
. A project uses a given FieldScreen
if it:
FieldScreen
as a transition screen, orFieldScreen
for one of its issue operations
Only projects for which the requesting user has ProjectAction.EDIT_PROJECT_CONFIG
permissions are returned.
fieldScreen
- field screen to find associated projects for.ProjectNameComparator.COMPARATOR
boolean canUserViewFieldScreenForProject(ApplicationUser user, FieldScreen fieldScreen, Project project)
user
- the user to check to access for. Must not be null.fieldScreen
- the field screen to query view access on. Must not be null.project
- the project the field screen should be on. Must not be null.Copyright © 2002-2015 Atlassian. All Rights Reserved.