Package org.intermine.bio.webservice
Class GenomicRegionFastaService
- java.lang.Object
-
- org.intermine.webservice.server.WebService
-
- org.intermine.webservice.server.core.JSONService
-
- org.intermine.webservice.server.lists.AbstractListService
-
- org.intermine.webservice.server.lists.AuthenticatedListService
-
- org.intermine.webservice.server.lists.ListMakerService
-
- org.intermine.bio.webservice.GenomicRegionSearchService
-
- org.intermine.bio.webservice.AbstractRegionExportService
-
- org.intermine.bio.webservice.GenomicRegionFastaService
-
public class GenomicRegionFastaService extends AbstractRegionExportService
A class for exposing the region search as a FASTA resource.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringSUFFIX
-
Constructor Summary
Constructors Constructor Description GenomicRegionFastaService(org.intermine.api.InterMineAPI im)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPathQuery(org.intermine.pathquery.PathQuery pq)No-op stub.protected java.lang.StringgetContentType()protected org.intermine.web.logic.export.ExportergetExporter(org.intermine.pathquery.PathQuery pq)protected java.lang.StringgetSuffix()-
Methods inherited from class org.intermine.bio.webservice.AbstractRegionExportService
export, getDefaultFileName, getDefaultFormat, getDefaultOutput, getFormatter, getOutputStream, getPrintWriter, isAuthenticated, makeList, makePathQuery, validateState
-
Methods inherited from class org.intermine.bio.webservice.GenomicRegionSearchService
createQueries, doListCreation, getHeaderAttributes, getInput, getNewListType
-
Methods inherited from class org.intermine.webservice.server.lists.ListMakerService
canServe, execute, initialiseDelendumAccumulator
-
Methods inherited from class org.intermine.webservice.server.lists.AbstractListService
getClassesForBags
-
Methods inherited from class org.intermine.webservice.server.core.JSONService
addOutputInfo, addResultEntries, addResultEntries, addResultEntry, addResultEntry, addResultItem, addResultItem, addResultValue, addResultValue, addResultValue, getResultsKey, lazyList, postInit
-
Methods inherited from class org.intermine.webservice.server.WebService
cleanUp, formatIsFlatFile, formatIsJSON, formatIsJSONP, formatIsXML, getAuthenticatedUser, getCallback, getColumnHeaderStyle, getDefaultOutput, getExtension, getFormat, getIntParameter, getIntParameter, getLineBreak, getListManager, getOptionalParameter, getOptionalParameter, getPermission, getProperty, getRawOutput, getRequestFileName, getRequiredParameter, hasCallback, initState, isGzip, isUncompressed, isZip, makeJSONOutput, makeXMLOutput, service, setFormat, setNameSpace, wantsColumnHeaders, wantsDataPackage
-
-
-
-
Field Detail
-
SUFFIX
protected static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentType
protected java.lang.String getContentType()
- Specified by:
getContentTypein classAbstractRegionExportService- Returns:
- content type
-
getExporter
protected org.intermine.web.logic.export.Exporter getExporter(org.intermine.pathquery.PathQuery pq)
- Specified by:
getExporterin classAbstractRegionExportService- Parameters:
pq- pathquery- Returns:
- the exporter
-
getSuffix
protected java.lang.String getSuffix()
- Specified by:
getSuffixin classAbstractRegionExportService- Returns:
- The suffix for the file name.
-
checkPathQuery
protected void checkPathQuery(org.intermine.pathquery.PathQuery pq) throws java.lang.ExceptionDescription copied from class:AbstractRegionExportServiceNo-op stub. Override to implement format checks.- Overrides:
checkPathQueryin classAbstractRegionExportService- Parameters:
pq- pathquery- Throws:
java.lang.Exception- if something goes wrong
-
-