public class ProjectsAndProjectCategoriesResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectsAndProjectCategoriesResource.Option |
static class |
ProjectsAndProjectCategoriesResource.ProjectAndCategories |
Modifier and Type | Field and Description |
---|---|
static String |
ALL_CATEGORIES |
static String |
ALL_PROJECTS |
Constructor and Description |
---|
ProjectsAndProjectCategoriesResource(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
static Set<Long> |
filterProjectCategoryIds(Collection<String> projectOrCategoryIds)
Filter project category ids from the given collection.
|
static Set<Long> |
filterProjectIds(Collection<String> projectOrCategoryIds)
Filter project ids from the given collection.
|
javax.ws.rs.core.Response |
generate()
Generates an option list of all projects and categories.
|
public static final String ALL_PROJECTS
public static final String ALL_CATEGORIES
public ProjectsAndProjectCategoriesResource(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
public javax.ws.rs.core.Response generate()
ProjectsAndProjectCategoriesResource.ProjectAndCategories
object.public static Set<Long> filterProjectIds(Collection<String> projectOrCategoryIds)
projectOrCategoryIds
- collection of project or category idspublic static Set<Long> filterProjectCategoryIds(Collection<String> projectOrCategoryIds)
CATEGORY
) and XYZ is a
long number.projectOrCategoryIds
- collection of project or category idsCopyright © 2002-2015 Atlassian. All Rights Reserved.