org.intermine.webservice.server.template.result
Class TemplateResultService

java.lang.Object
  extended by org.intermine.webservice.server.WebService
      extended by org.intermine.webservice.server.query.result.QueryResultService
          extended by org.intermine.webservice.server.template.result.TemplateResultService

public class TemplateResultService
extends QueryResultService

Web service that returns results of public template constrained with values in request. All constraints operations and values that are in template must be specified in request.


Field Summary
static java.lang.String NAME_PARAMETER
          Name of name parameter
static java.lang.String TYPE_PARAMETER
          Name of type parameter
 
Fields inherited from class org.intermine.webservice.server.WebService
CSV_FORMAT, HTML_FORMAT, im, output, request, response, TSV_FORMAT, XML_FORMAT
 
Constructor Summary
TemplateResultService(InterMineAPI im)
          Construct with an InterMineAPI.
 
Method Summary
protected  void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Executes service specific logic.
 
Methods inherited from class org.intermine.webservice.server.query.result.QueryResultService
runPathQuery
 
Methods inherited from class org.intermine.webservice.server.WebService
getFormat, getHtmlForward, isAuthenticated, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_PARAMETER

public static final java.lang.String TYPE_PARAMETER
Name of type parameter

See Also:
Constant Field Values

NAME_PARAMETER

public static final java.lang.String NAME_PARAMETER
Name of name parameter

See Also:
Constant Field Values
Constructor Detail

TemplateResultService

public TemplateResultService(InterMineAPI im)
Construct with an InterMineAPI.

Parameters:
im - the InterMine API
Method Detail

execute

protected void execute(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Executes service specific logic.}

Overrides:
execute in class QueryResultService
Parameters:
request - request
response - response