java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.Sheet2RDFController
All Implemented Interfaces:
IntrospectableController, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Controller public class Sheet2RDFController extends Object implements org.springframework.context.ApplicationContextAware, IntrospectableController
  • Constructor Details

    • Sheet2RDFController

      public Sheet2RDFController()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getServiceSpecies

      public ServiceSpecies getServiceSpecies()
      Specified by:
      getServiceSpecies in interface IntrospectableController
    • getService

      public Sheet2RDF getService()
      Specified by:
      getService in interface IntrospectableController
    • replicateMultipleHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/replicateMultipleHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> replicateMultipleHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId)
    • validateGraphPatternPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/validateGraphPattern", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> validateGraphPatternPublished(@RequestParam("pearlCode") String pearlCode, @RequestParam(value="rulesShouldExists",required=false,defaultValue="true") boolean rulesShouldExists)
    • importGlobalStatusPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/importGlobalStatus", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> importGlobalStatusPublished(@RequestParam("statusFile") org.springframework.web.multipart.MultipartFile statusFile) throws IOException, it.uniroma2.art.sheet2rdf.exception.InvalidWizardStatusException
      Throws:
      IOException
      it.uniroma2.art.sheet2rdf.exception.InvalidWizardStatusException
    • updateSimpleGraphApplicationPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateSimpleGraphApplication", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSimpleGraphApplicationPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("graphId") String graphId, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("nodeId") String nodeId, @RequestParam(value="type",required=false) org.eclipse.rdf4j.model.IRI type)
    • updateGraphApplicationDeletePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateGraphApplicationDelete", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateGraphApplicationDeletePublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("graphId") String graphId, @RequestParam("delete") boolean delete)
    • updateSubjectHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateSubjectHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSubjectHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("converterContract") String converterContract, @RequestParam(value="converterParams",required=false) Map<String,String> converterParams, @RequestParam(value="type",required=false) org.eclipse.rdf4j.model.IRI type, @RequestParam(value="defaultNamespace",required=false) String defaultNamespace, @RequestParam(value="additionalPredObjs",required=false,defaultValue="[]") @JsonSerialized List<Pair<org.eclipse.rdf4j.model.IRI,org.eclipse.rdf4j.model.Value>> additionalPredObjs, @RequestParam(value="memoization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeMemoization memoization, @RequestParam(value="sanitization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeSanitization sanitization)
    • getConfigurationPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getConfiguration", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Configuration>> getConfigurationPublished(@RequestParam("identifier") String identifier) throws STPropertyAccessException, IOException
      Throws:
      STPropertyAccessException
      IOException
    • savePearlPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/savePearl", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> savePearlPublished(@RequestParam("sheetName") String sheetName, @RequestParam("pearlCode") String pearlCode) throws IOException
      Throws:
      IOException
    • getTriplesPreviewPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getTriplesPreview", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getTriplesPreviewPublished(@RequestParam("sheetName") String sheetName, @RequestParam("maxTableRows") int maxTableRows) throws org.apache.uima.UIMAException, it.uniroma2.art.coda.exception.parserexception.PRParserException, it.uniroma2.art.coda.provisioning.ComponentProvisioningException, it.uniroma2.art.coda.exception.ConverterException, it.uniroma2.art.coda.exception.DependencyException, it.uniroma2.art.coda.exception.RDFModelNotSetException, it.uniroma2.art.coda.exception.ProjectionRuleModelNotSet, it.uniroma2.art.coda.exception.UnassignableFeaturePathException, it.uniroma2.art.sheet2rdf.exception.NotExistingSheetException, it.uniroma2.art.coda.exception.ValueNotPresentDueToConfigurationException
      Throws:
      org.apache.uima.UIMAException
      it.uniroma2.art.coda.exception.parserexception.PRParserException
      it.uniroma2.art.coda.provisioning.ComponentProvisioningException
      it.uniroma2.art.coda.exception.ConverterException
      it.uniroma2.art.coda.exception.DependencyException
      it.uniroma2.art.coda.exception.RDFModelNotSetException
      it.uniroma2.art.coda.exception.ProjectionRuleModelNotSet
      it.uniroma2.art.coda.exception.UnassignableFeaturePathException
      it.uniroma2.art.sheet2rdf.exception.NotExistingSheetException
      it.uniroma2.art.coda.exception.ValueNotPresentDueToConfigurationException
    • listSheetNamesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/listSheetNames", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<String>>> listSheetNamesPublished()
    • getSheetHeadersPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getSheetHeaders", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getSheetHeadersPublished(@RequestParam("sheetName") String sheetName) throws DOMException
      Throws:
      DOMException
    • closeSessionPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/closeSession", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> closeSessionPublished()
    • getSupportedDBDriversPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getSupportedDBDrivers", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<String>>> getSupportedDBDriversPublished()
    • addAdvancedGraphApplicationToHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/addAdvancedGraphApplicationToHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addAdvancedGraphApplicationToHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("graphPattern") String graphPattern, @RequestParam("nodeIds") List<String> nodeIds, @RequestParam("prefixMapping") Map<String,String> prefixMapping, @RequestParam(value="defaultPredicate",required=false) org.eclipse.rdf4j.model.IRI defaultPredicate)
    • isNodeIdAlreadyUsedPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/isNodeIdAlreadyUsed", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Boolean>> isNodeIdAlreadyUsedPublished(@RequestParam("sheetName") String sheetName, @RequestParam("nodeId") String nodeId)
    • updateNodeInHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateNodeInHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateNodeInHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("nodeId") String nodeId, @RequestParam("converterCapability") it.uniroma2.art.coda.interfaces.annotations.converters.RDFCapabilityType converterCapability, @RequestParam("converterContract") String converterContract, @RequestParam(value="converterDatatypeUri",required=false) String converterDatatypeUri, @RequestParam(value="converterLanguage",required=false) String converterLanguage, @RequestParam(value="converterParams",required=false) Map<String,String> converterParams, @RequestParam(value="defaultNamespace",required=false) String defaultNamespace, @RequestParam(value="memoization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeMemoization memoization, @RequestParam(value="sanitization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeSanitization sanitization)
    • getPrefixMappingsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getPrefixMappings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Metadata.PrefixMapping>>> getPrefixMappingsPublished()
    • addTriplesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/addTriples", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addTriplesPublished(@RequestParam("sheetName") String sheetName)
    • exportSheetStatusPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/exportSheetStatus", method=GET, produces="application/json;charset=UTF-8") public void exportSheetStatusPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam("sheetName") String sheetName) throws IOException
      Throws:
      IOException
    • getHeadersPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getHeaders", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getHeadersPublished() throws DOMException
      Throws:
      DOMException
    • uploadPearlPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/uploadPearl", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> uploadPearlPublished(@RequestParam("sheetName") String sheetName, @RequestParam("file") org.springframework.web.multipart.MultipartFile file) throws IOException
      Throws:
      IOException
    • getPearlPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getPearl", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getPearlPublished(@RequestParam("sheetName") String sheetName) throws IOException
      Throws:
      IOException
    • importSheetStatusPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/importSheetStatus", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> importSheetStatusPublished(@RequestParam("statusFile") org.springframework.web.multipart.MultipartFile statusFile, @RequestParam("sheetName") String sheetName) throws IOException, it.uniroma2.art.sheet2rdf.exception.InvalidWizardStatusException
      Throws:
      IOException
      it.uniroma2.art.sheet2rdf.exception.InvalidWizardStatusException
    • exportTriplesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/exportTriples", method=GET, produces="application/json;charset=UTF-8") public void exportTriplesPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam("sheetName") String sheetName, @RequestParam("outputFormat") org.eclipse.rdf4j.rio.RDFFormat outputFormat) throws IOException
      Throws:
      IOException
    • ignoreHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/ignoreHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> ignoreHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("ignore") boolean ignore)
    • removeNodeFromHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/removeNodeFromHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeNodeFromHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("nodeId") String nodeId)
    • updateAdvancedGraphApplicationPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateAdvancedGraphApplication", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateAdvancedGraphApplicationPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("graphId") String graphId, @RequestParam("graphPattern") String graphPattern, @RequestParam("nodeIds") List<String> nodeIds, @RequestParam("prefixMapping") Map<String,String> prefixMapping, @RequestParam(value="defaultPredicate",required=false) org.eclipse.rdf4j.model.IRI defaultPredicate)
    • addNodeToHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/addNodeToHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addNodeToHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("nodeId") String nodeId, @RequestParam("converterCapability") it.uniroma2.art.coda.interfaces.annotations.converters.RDFCapabilityType converterCapability, @RequestParam("converterContract") String converterContract, @RequestParam(value="converterDatatypeUri",required=false) String converterDatatypeUri, @RequestParam(value="converterLanguage",required=false) String converterLanguage, @RequestParam(value="converterParams",required=false) Map<String,String> converterParams, @RequestParam(value="defaultNamespace",required=false) String defaultNamespace, @RequestParam(value="memoization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeMemoization memoization, @RequestParam(value="sanitization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeSanitization sanitization)
    • addSimpleGraphApplicationToHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/addSimpleGraphApplicationToHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addSimpleGraphApplicationToHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("nodeId") String nodeId, @RequestParam(value="type",required=false) org.eclipse.rdf4j.model.IRI type)
    • renameNodeIdPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/renameNodeId", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> renameNodeIdPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("nodeId") String nodeId, @RequestParam("newNodeId") String newNodeId)
    • updateRuleSanitizationPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/updateRuleSanitization", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateRuleSanitizationPublished(@RequestParam("sheetName") String sheetName, @RequestParam(value="sanitization",required=false) @JsonSerialized it.uniroma2.art.sheet2rdf.header.NodeSanitization sanitization)
    • removeGraphApplicationFromHeaderPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/removeGraphApplicationFromHeader", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeGraphApplicationFromHeaderPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId, @RequestParam("graphId") String graphId)
    • getHeaderFromIdPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getHeaderFromId", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getHeaderFromIdPublished(@RequestParam("sheetName") String sheetName, @RequestParam("headerId") String headerId)
    • uploadDBInfoPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/uploadDBInfo", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> uploadDBInfoPublished(@RequestParam("db_base_url") String db_base_url, @RequestParam("db_name") String db_name, @RequestParam("db_tableList") List<String> db_tableList, @RequestParam("db_user") String db_user, @RequestParam("db_password") String db_password, @RequestParam("db_driverName") it.uniroma2.art.sheet2rdf.db.AvailableDBDriverName.Values db_driverName, @RequestParam(value="fsNamingStrategy",required=false,defaultValue="columnNumericIndex") it.uniroma2.art.sheet2rdf.utils.FsNamingStrategy fsNamingStrategy) throws it.uniroma2.art.sheet2rdf.exception.GenericSheet2RDFException
      Throws:
      it.uniroma2.art.sheet2rdf.exception.GenericSheet2RDFException
    • exportGlobalStatusPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/exportGlobalStatus", method=GET, produces="application/json;charset=UTF-8") public void exportGlobalStatusPublished(jakarta.servlet.http.HttpServletResponse oRes) throws IOException
      Throws:
      IOException
    • uploadSpreadsheetPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/uploadSpreadsheet", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> uploadSpreadsheetPublished(@RequestParam("file") org.springframework.web.multipart.MultipartFile file, @RequestParam(value="fsNamingStrategy",required=false,defaultValue="columnNumericIndex") it.uniroma2.art.sheet2rdf.utils.FsNamingStrategy fsNamingStrategy) throws IOException, it.uniroma2.art.sheet2rdf.exception.GenericSheet2RDFException
      Throws:
      IOException
      it.uniroma2.art.sheet2rdf.exception.GenericSheet2RDFException
    • getTablePreviewPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getTablePreview", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getTablePreviewPublished(@RequestParam("sheetName") String sheetName, @RequestParam("maxRows") int maxRows) throws it.uniroma2.art.sheet2rdf.exception.NotExistingSheetException
      Throws:
      it.uniroma2.art.sheet2rdf.exception.NotExistingSheetException
    • getDefaultAdvancedGraphApplicationConfigurationsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sheet2RDF/getDefaultAdvancedGraphApplicationConfigurations", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Reference>>> getDefaultAdvancedGraphApplicationConfigurationsPublished()