Class TemplateListAppendService
- java.lang.Object
-
- org.intermine.webservice.server.WebService
-
- org.intermine.webservice.server.query.AbstractQueryService
-
- org.intermine.webservice.server.query.QueryToListService
-
- org.intermine.webservice.server.template.TemplateToListService
-
- org.intermine.webservice.server.template.TemplateListAppendService
-
public class TemplateListAppendService extends TemplateToListService
A class to append items from a set of template results to a list.- Author:
- alex
-
-
Field Summary
-
Fields inherited from class org.intermine.webservice.server.query.QueryToListService
bagManager
-
Fields inherited from class org.intermine.webservice.server.WebService
dataPackageOutput, DEFAULT_CALLBACK, im, os, out, output, request, response, webProperties
-
-
Constructor Summary
Constructors Constructor Description TemplateListAppendService(InterMineAPI im)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateListFromQuery(PathQuery pq, ListInput input, Profile profile)
Generate a list from a pathquery.-
Methods inherited from class org.intermine.webservice.server.template.TemplateToListService
getQuery
-
Methods inherited from class org.intermine.webservice.server.query.QueryToListService
canServe, execute, getDefaultFormat, getQuery, setHeaderAttributes, validateState
-
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, initState, isAuthenticated, isGzip, isUncompressed, isZip, makeJSONOutput, makeXMLOutput, postInit, service, setFormat, setNameSpace, wantsColumnHeaders, wantsDataPackage
-
-
-
-
Constructor Detail
-
TemplateListAppendService
public TemplateListAppendService(InterMineAPI im)
Constructor.- Parameters:
im
- The reference to the InterMine settings bundle.
-
-
Method Detail
-
generateListFromQuery
protected void generateListFromQuery(PathQuery pq, ListInput input, Profile profile) throws ObjectStoreException, PathException
Description copied from class:QueryToListService
Generate a list from a pathquery.- Overrides:
generateListFromQuery
in classQueryToListService
- Parameters:
pq
- The pathqueryinput
- The inputprofile
- The profile the list should belong to- Throws:
ObjectStoreException
- If there is an issue running the queries that generate the list.PathException
- If the paths supplied are illegal.
-
-