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

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

    • RefactorController

      public RefactorController()
  • 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 Refactor getService()
      Specified by:
      getService in interface IntrospectableController
    • SKOStoSKOSXLPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/SKOStoSKOSXL", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> SKOStoSKOSXLPublished(@RequestParam("reifyNotes") boolean reifyNotes) throws URIGenerationException
      Throws:
      URIGenerationException
    • changeResourceURIPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/changeResourceURI", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> changeResourceURIPublished(@RequestParam("oldResource") org.eclipse.rdf4j.model.IRI oldResource, @RequestParam("newResource") org.eclipse.rdf4j.model.IRI newResource) throws DuplicatedResourceException
      Throws:
      DuplicatedResourceException
    • spawnNewConceptFromLabelPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/spawnNewConceptFromLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>> spawnNewConceptFromLabelPublished(@RequestParam(value="newConcept",required=false) org.eclipse.rdf4j.model.IRI newConcept, @RequestParam("xLabel") org.eclipse.rdf4j.model.Resource xLabel, @RequestParam(value="oldConcept",required=false) org.eclipse.rdf4j.model.IRI oldConcept, @RequestParam(value="broaderConcept",required=false) org.eclipse.rdf4j.model.Resource broaderConcept, @RequestParam("conceptSchemes") List<org.eclipse.rdf4j.model.IRI> conceptSchemes, @RequestParam(value="customFormValue",required=false) CustomFormValue customFormValue) throws URIGenerationException, CustomFormException, CODAException, NonExistingLiteralFormForResourceException
      Throws:
      URIGenerationException
      CustomFormException
      CODAException
      NonExistingLiteralFormForResourceException
    • moveXLabelToResourcePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/moveXLabelToResource", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> moveXLabelToResourcePublished(@RequestParam("sourceResource") org.eclipse.rdf4j.model.Resource sourceResource, @RequestParam("predicate") org.eclipse.rdf4j.model.IRI predicate, @RequestParam("xLabel") org.eclipse.rdf4j.model.Resource xLabel, @RequestParam("targetResource") org.eclipse.rdf4j.model.Resource targetResource, @RequestParam(value="force",required=false,defaultValue="false") Boolean force) throws PrefPrefLabelClashException
      Throws:
      PrefPrefLabelClashException
    • replaceBaseURIPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/replaceBaseURI", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> replaceBaseURIPublished(@RequestParam(value="sourceBaseURI",required=false) org.eclipse.rdf4j.model.IRI sourceBaseURI, @RequestParam("targetBaseURI") org.eclipse.rdf4j.model.IRI targetBaseURI) throws ProjectUpdateException
      Throws:
      ProjectUpdateException
    • migrateDefaultGraphToBaseURIGraphPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/migrateDefaultGraphToBaseURIGraph", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> migrateDefaultGraphToBaseURIGraphPublished(@RequestParam(value="clearDestinationGraph",required=false,defaultValue="false") boolean clearDestinationGraph)
    • SKOSXLtoSKOSPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Refactor/SKOSXLtoSKOS", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> SKOSXLtoSKOSPublished(@RequestParam("flattenNotes") boolean flattenNotes)