Class TemplateResultService
- java.lang.Object
-
- org.intermine.webservice.server.WebService
-
- org.intermine.webservice.server.query.AbstractQueryService
-
- org.intermine.webservice.server.query.result.QueryResultService
-
- 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.- Author:
- Jakub Kulaviak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME_PARAMETER
Name of name parameterstatic java.lang.String
TYPE_PARAMETER
Name of type parameter-
Fields inherited from class org.intermine.webservice.server.query.result.QueryResultService
attributes, BATCH_SIZE, executor
-
Fields inherited from class org.intermine.webservice.server.WebService
dataPackageOutput, DEFAULT_CALLBACK, im, os, out, output, request, response, webProperties
-
-
Constructor Summary
Constructors Constructor Description TemplateResultService(InterMineAPI im)
Construct with an InterMineAPI.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute()
Executes service specific logic.-
Methods inherited from class org.intermine.webservice.server.query.result.QueryResultService
canServe, encode, getDefaultFormat, getFormatType, getPathQueryExecutor, initState, makeJSONOutput, postInit, runPathQuery, setHeaderAttributes, writeDataPackageAttributes
-
Methods inherited from class org.intermine.webservice.server.query.AbstractQueryService
formatIsJsonObj, getQueryBuilder, getSchemaLocation, getSchemaUrl
-
Methods inherited from class org.intermine.webservice.server.WebService
cleanUp, formatIsFlatFile, formatIsJSON, formatIsJSONP, formatIsXML, getAuthenticatedUser, getCallback, getColumnHeaderStyle, getDefaultFileName, getDefaultOutput, getDefaultOutput, getExtension, getFormat, getIntParameter, getIntParameter, getLineBreak, getListManager, getOptionalParameter, getOptionalParameter, getPermission, getProperty, getRawOutput, getRequestFileName, getRequiredParameter, hasCallback, isAuthenticated, isGzip, isUncompressed, isZip, makeXMLOutput, service, setFormat, setNameSpace, validateState, wantsColumnHeaders, wantsDataPackage
-
-
-
-
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()
Executes service specific logic.}- Overrides:
execute
in classQueryResultService
-
-