Class SKOSXLController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.SKOSXLController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class SKOSXLController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addAltLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal, org.eclipse.rdf4j.model.IRI labelCls, SKOSXL.XLabelCreationMode mode) org.springframework.http.HttpEntity<String>
addHiddenLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal, org.eclipse.rdf4j.model.IRI labelCls, SKOSXL.XLabelCreationMode mode) org.springframework.http.HttpEntity<String>
altToPrefLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Resource xlabel) org.springframework.http.HttpEntity<String>
changeLabelInfoPublished
(org.eclipse.rdf4j.model.Resource xlabel, org.eclipse.rdf4j.model.Literal literal) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getAltLabelsPublished
(org.eclipse.rdf4j.model.IRI concept, String lang) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getHiddenLabelsPublished
(org.eclipse.rdf4j.model.IRI concept, String lang) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getPrefLabelPublished
(org.eclipse.rdf4j.model.IRI concept, String lang) org.springframework.http.HttpEntity<String>
prefToAtlLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Resource xlabel) org.springframework.http.HttpEntity<String>
removeAltLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Resource xlabel) org.springframework.http.HttpEntity<String>
removeHiddenLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Resource xlabel) org.springframework.http.HttpEntity<String>
removePrefLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Resource xlabel) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setPrefLabelPublished
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal, org.eclipse.rdf4j.model.IRI labelCls, SKOSXL.XLabelCreationMode mode, boolean checkExistingAltLabel, boolean checkExistingPrefLabel) org.springframework.http.HttpEntity<String>
updateSKOSXLLexicalizationPropertyPublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.IRI newProperty, org.eclipse.rdf4j.model.Value value)
-
Constructor Details
-
SKOSXLController
public SKOSXLController()
-
-
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
-
addAltLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/addAltLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addAltLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal, @RequestParam(value="labelCls",required=false) org.eclipse.rdf4j.model.IRI labelCls, @RequestParam("mode") SKOSXL.XLabelCreationMode mode) throws URIGenerationException, AltPrefLabelClashException -
removeHiddenLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/removeHiddenLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeHiddenLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel) -
changeLabelInfoPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/changeLabelInfo", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> changeLabelInfoPublished(@RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal) -
getHiddenLabelsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/getHiddenLabels", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getHiddenLabelsPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam(value="lang",required=false,defaultValue="*") String lang) -
addHiddenLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/addHiddenLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addHiddenLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal, @RequestParam(value="labelCls",required=false) org.eclipse.rdf4j.model.IRI labelCls, @RequestParam("mode") SKOSXL.XLabelCreationMode mode) throws URIGenerationException - Throws:
URIGenerationException
-
getAltLabelsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/getAltLabels", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getAltLabelsPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam(value="lang",required=false,defaultValue="*") String lang) -
updateSKOSXLLexicalizationPropertyPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/updateSKOSXLLexicalizationProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSKOSXLLexicalizationPropertyPublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("newProperty") org.eclipse.rdf4j.model.IRI newProperty, @RequestParam("value") org.eclipse.rdf4j.model.Value value) -
altToPrefLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/altToPrefLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> altToPrefLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel) -
removeAltLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/removeAltLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeAltLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel) -
setPrefLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/setPrefLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setPrefLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal, @RequestParam(value="labelCls",required=false) org.eclipse.rdf4j.model.IRI labelCls, @RequestParam("mode") SKOSXL.XLabelCreationMode mode, @RequestParam(value="checkExistingAltLabel",required=false,defaultValue="true") boolean checkExistingAltLabel, @RequestParam(value="checkExistingPrefLabel",required=false,defaultValue="true") boolean checkExistingPrefLabel) throws URIGenerationException, PrefPrefLabelClashException, PrefAltLabelClashException -
prefToAtlLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/prefToAtlLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> prefToAtlLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel) -
removePrefLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/removePrefLabel", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePrefLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam("xlabel") org.eclipse.rdf4j.model.Resource xlabel) -
getPrefLabelPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SKOSXL/getPrefLabel", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getPrefLabelPublished(@RequestParam("concept") org.eclipse.rdf4j.model.IRI concept, @RequestParam(value="lang",required=false,defaultValue="*") String lang)
-