Class ExportService
- java.lang.Object
-
- org.intermine.webservice.server.WebService
-
- org.intermine.webservice.server.core.JSONService
-
- org.intermine.webservice.server.complexes.ExportService
-
public class ExportService extends org.intermine.webservice.server.core.JSONServiceWeb service that produces JSON required by the complex viewer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classExportService.FeatureHolderhold the feature / linked feature relationships here
-
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 voidexecute()protected psidev.psi.mi.jami.model.impl.DefaultComplexgetComplex(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
-
-
-
-
Method Detail
-
execute
protected void execute() throws java.lang.Exception- Specified by:
executein classorg.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
-
-