com.atlassian.jira.gadgets.system
Class ProjectGadgetResource

java.lang.Object
  extended by com.atlassian.jira.gadgets.system.AbstractResource
      extended by com.atlassian.jira.gadgets.system.ProjectGadgetResource

public class ProjectGadgetResource
extends AbstractResource

REST resource for the project gadget.

Since:
v4.0

Nested Class Summary
static class ProjectGadgetResource.Category
           
static class ProjectGadgetResource.DetailedProjectData
           
static class ProjectGadgetResource.OpenIssuesData
           
static class ProjectGadgetResource.OptionData
           
static class ProjectGadgetResource.OptionDataList
           
static class ProjectGadgetResource.Projects
           
 
Constructor Summary
ProjectGadgetResource(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ProjectManager projectManager, com.atlassian.plugin.PluginAccessor pluginAccessor, ConstantsManager constantsManager, SearchService searchService, SimpleLinkManager simpleLinkManager)
           
 
Method Summary
 javax.ws.rs.core.Response generate(String projectsOrCategories, boolean showStats)
           
 javax.ws.rs.core.Response getFilters(String projectId)
           
 javax.ws.rs.core.Response getReports(String projectId)
           
 javax.ws.rs.core.Response validate(String projectsOrCategories)
           
 
Methods inherited from class com.atlassian.jira.gadgets.system.AbstractResource
createErrorResponse, createIndexingUnavailableResponse, createValidationResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectGadgetResource

public ProjectGadgetResource(JiraAuthenticationContext authenticationContext,
                             PermissionManager permissionManager,
                             ProjectManager projectManager,
                             com.atlassian.plugin.PluginAccessor pluginAccessor,
                             ConstantsManager constantsManager,
                             SearchService searchService,
                             SimpleLinkManager simpleLinkManager)
Method Detail

validate

public javax.ws.rs.core.Response validate(String projectsOrCategories)

getFilters

public javax.ws.rs.core.Response getFilters(String projectId)

getReports

public javax.ws.rs.core.Response getReports(String projectId)

generate

public javax.ws.rs.core.Response generate(String projectsOrCategories,
                                          boolean showStats)


Copyright © 2002-2012 Atlassian. All Rights Reserved.