Class RefactorController
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
changeResourceURIPublished
(org.eclipse.rdf4j.model.IRI oldResource, org.eclipse.rdf4j.model.IRI newResource) org.springframework.http.HttpEntity<String>
migrateDefaultGraphToBaseURIGraphPublished
(boolean clearDestinationGraph) org.springframework.http.HttpEntity<String>
moveXLabelToResourcePublished
(org.eclipse.rdf4j.model.Resource sourceResource, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Resource xLabel, org.eclipse.rdf4j.model.Resource targetResource, Boolean force) org.springframework.http.HttpEntity<String>
replaceBaseURIPublished
(org.eclipse.rdf4j.model.IRI sourceBaseURI, org.eclipse.rdf4j.model.IRI targetBaseURI) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
SKOStoSKOSXLPublished
(boolean reifyNotes) org.springframework.http.HttpEntity<String>
SKOSXLtoSKOSPublished
(boolean flattenNotes) org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>
spawnNewConceptFromLabelPublished
(org.eclipse.rdf4j.model.IRI newConcept, org.eclipse.rdf4j.model.Resource xLabel, org.eclipse.rdf4j.model.IRI oldConcept, org.eclipse.rdf4j.model.Resource broaderConcept, List<org.eclipse.rdf4j.model.IRI> conceptSchemes, CustomFormValue customFormValue)
-
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 interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
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 -
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)
-