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 Details

    • SKOSXLController

      public SKOSXLController()
  • 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 SKOSXL getService()
      Specified by:
      getService in interface IntrospectableController
    • 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
      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
      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)