com.atlassian.jira.rest.v1.projectcategories
Class ProjectCategoriesResource

java.lang.Object
  extended by com.atlassian.jira.rest.v1.projectcategories.ProjectCategoriesResource

public class ProjectCategoriesResource
extends Object

REST endpoint for setting the active Project Category.


Constructor Summary
ProjectCategoriesResource(JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory contextFactory, ProjectManager projectManager, PermissionManager permissionManager)
           
 
Method Summary
 javax.ws.rs.core.Response getCurrent()
          Returns the active Project Category.
 javax.ws.rs.core.Response setCurrent(String current)
          Sets the active project category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectCategoriesResource

public ProjectCategoriesResource(JiraAuthenticationContext jiraAuthenticationContext,
                                 VelocityRequestContextFactory contextFactory,
                                 ProjectManager projectManager,
                                 PermissionManager permissionManager)
Method Detail

getCurrent

public javax.ws.rs.core.Response getCurrent()
Returns the active Project Category.

Returns:
the active Project Category

setCurrent

public javax.ws.rs.core.Response setCurrent(String current)
Sets the active project category.

Parameters:
current - the active project category
Returns:
a 200 response.


Copyright © 2002-2012 Atlassian. All Rights Reserved.