Class ExportService


  • public class ExportService
    extends org.intermine.webservice.server.core.JSONService
    Web service that produces JSON required by the complex viewer.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  ExportService.FeatureHolder
      hold the feature / linked feature relationships here
    • Field Summary

      • Fields inherited from class org.intermine.webservice.server.core.JSONService

        bagManager, model
      • Fields inherited from class org.intermine.webservice.server.WebService

        dataPackageOutput, DEFAULT_CALLBACK, im, os, out, output, request, response, webProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      ExportService​(org.intermine.api.InterMineAPI im)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute()  
      protected psidev.psi.mi.jami.model.impl.DefaultComplex getComplex​(java.lang.String identifier)  
      • Methods inherited from class org.intermine.webservice.server.core.JSONService

        addOutputInfo, addResultEntries, addResultEntries, addResultEntry, addResultEntry, addResultItem, addResultItem, addResultValue, addResultValue, addResultValue, getDefaultFormat, getHeaderAttributes, getResultsKey, lazyList, postInit
      • Methods inherited from class org.intermine.webservice.server.WebService

        canServe, 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, service, setFormat, setNameSpace, validateState, wantsColumnHeaders, wantsDataPackage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExportService

        public ExportService​(org.intermine.api.InterMineAPI im)
        Default constructor.
        Parameters:
        im - The InterMine state object.
    • Method Detail

      • execute

        protected void execute()
                        throws java.lang.Exception
        Specified by:
        execute in class org.intermine.webservice.server.WebService
        Throws:
        java.lang.Exception
      • getComplex

        protected psidev.psi.mi.jami.model.impl.DefaultComplex getComplex​(java.lang.String identifier)
                                                                   throws org.intermine.objectstore.ObjectStoreException
        Parameters:
        identifier - complex identifier, e.g. EBI-123
        Returns:
        complex of interest
        Throws:
        org.intermine.objectstore.ObjectStoreException - if something goes wrong