@Path(value="/projectAndPlan") @Produces(value={"application/json","application/xml"}) public class PlanProjectResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PlanProjectResource.Option |
Constructor and Description |
---|
PlanProjectResource(CachedPlanManager cachedPlanManager,
ProjectManager projectManager) |
Modifier and Type | Method and Description |
---|---|
Collection<PlanProjectResource.Option> |
getPlansForProjects(String allProjects,
javax.ws.rs.core.UriInfo uriInfo) |
Collection<PlanProjectResource.Option> |
getProjectsAndPlans(String query,
String selectedProjects,
String selectedPlans,
javax.ws.rs.core.UriInfo uriInfo) |
public PlanProjectResource(CachedPlanManager cachedPlanManager, ProjectManager projectManager)
@GET public Collection<PlanProjectResource.Option> getProjectsAndPlans(@QueryParam(value="q") String query, @QueryParam(value="selectedProjects") String selectedProjects, @QueryParam(value="selectedPlans") String selectedPlans, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="plansForProjects") public Collection<PlanProjectResource.Option> getPlansForProjects(@QueryParam(value="projects") String allProjects, @Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.