Class ExportController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.ExportController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class ExportController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportPublished
(jakarta.servlet.http.HttpServletResponse oRes, org.eclipse.rdf4j.model.IRI[] graphs, TransformationPipeline filteringPipeline, boolean includeInferred, String outputFormat, boolean force, PluginSpecification reformattingExporterSpec, PluginSpecification deployerSpec) org.springframework.http.HttpEntity<Response<List<DataFormat>>>
getExportFormatsPublished
(String reformattingExporterID) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Collection<org.eclipse.rdf4j.rio.RDFFormat>>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
ExportController
public ExportController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
getExportFormatsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Export/getExportFormats", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<DataFormat>>> getExportFormatsPublished(@RequestParam("reformattingExporterID") String reformattingExporterID) -
getNamedGraphsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Export/getNamedGraphs", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getNamedGraphsPublished() throws Exception- Throws:
Exception
-
getOutputFormatsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Export/getOutputFormats", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<org.eclipse.rdf4j.rio.RDFFormat>>> getOutputFormatsPublished() -
exportPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Export/export", method=POST, produces="application/json;charset=UTF-8") public void exportPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam(value="graphs",required=false,defaultValue="") org.eclipse.rdf4j.model.IRI[] graphs, @RequestParam(value="filteringPipeline",required=false,defaultValue="[]") TransformationPipeline filteringPipeline, @RequestParam(value="includeInferred",required=false,defaultValue="false") boolean includeInferred, @RequestParam(value="outputFormat",required=false) String outputFormat, @RequestParam(value="force",required=false,defaultValue="false") boolean force, @RequestParam(value="reformattingExporterSpec",required=false) PluginSpecification reformattingExporterSpec, @RequestParam(value="deployerSpec",required=false) PluginSpecification deployerSpec) throws Exception - Throws:
Exception
-