com.atlassian.greenhopper.web.rapid.view
Class SubqueryResource

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.web.AbstractResource
          extended by com.atlassian.greenhopper.web.rapid.view.SubqueryResource

public class SubqueryResource
extends AbstractResource


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
SubqueryResource(com.atlassian.jira.security.JiraAuthenticationContext authContext, SubqueryHelper SubqueryHelper)
           
 
Method Summary
 javax.ws.rs.core.Response getSubquery(java.lang.Long rapidViewId, java.lang.String sectionKey)
          Get the Subquery for a given rapidView and key
 javax.ws.rs.core.Response updateSubquery(java.lang.Long rapidViewId, java.lang.String sectionKey, SubqueryEntry editModel)
          Update a Subquery given its id and the id of the rapid view it belongs to
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubqueryResource

public SubqueryResource(com.atlassian.jira.security.JiraAuthenticationContext authContext,
                        SubqueryHelper SubqueryHelper)
Method Detail

getSubquery

public javax.ws.rs.core.Response getSubquery(java.lang.Long rapidViewId,
                                             java.lang.String sectionKey)
Get the Subquery for a given rapidView and key


updateSubquery

public javax.ws.rs.core.Response updateSubquery(java.lang.Long rapidViewId,
                                                java.lang.String sectionKey,
                                                SubqueryEntry editModel)
Update a Subquery given its id and the id of the rapid view it belongs to



Copyright © 2007-2012 Atlassian. All Rights Reserved.