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

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

    • XKOSController

      public XKOSController()
  • 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 XKOS getService()
      Specified by:
      getService in interface IntrospectableController
    • filterAssociationsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/XKOS/filterAssociations", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> filterAssociationsPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.IRI correspondence, @RequestParam(value="assConcepts",required=false,defaultValue="true") boolean assConcepts, @RequestParam(value="assConcepsLimit",required=false,defaultValue="5") int assConcepsLimit, @RequestParam(value="searchString",required=false) String searchString, @RequestParam(value="useLexicalizations",required=false,defaultValue="true") boolean useLexicalizations, @RequestParam(value="useLocalName",required=false,defaultValue="false") boolean useLocalName, @RequestParam(value="useURI",required=false,defaultValue="false") boolean useURI, @RequestParam("searchMode") SearchMode searchMode, @RequestParam(value="useNotes",required=false,defaultValue="false") boolean useNotes, @RequestParam(value="langs",required=false) List<String> langs, @RequestParam(value="includeLocales",required=false,defaultValue="false") boolean includeLocales, @RequestParam(value="searchInRDFSLabel",required=false,defaultValue="false") boolean searchInRDFSLabel, @RequestParam(value="searchInSKOSLabel",required=false,defaultValue="false") boolean searchInSKOSLabel, @RequestParam(value="searchInSKOSXLLabel",required=false,defaultValue="false") boolean searchInSKOSXLLabel, @RequestParam(value="searchInOntolex",required=false,defaultValue="false") boolean searchInOntolex) throws SearchStatusException, STPropertyAccessException
      Throws:
      SearchStatusException
      STPropertyAccessException
    • exportAssociationsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/XKOS/exportAssociations", method=GET, produces="application/json;charset=UTF-8") public void exportAssociationsPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam(value="correspondence",required=false) org.eclipse.rdf4j.model.IRI correspondence, @RequestParam(value="format",required=false,defaultValue="TURTLE") org.eclipse.rdf4j.rio.RDFFormat format) throws IOException
      Throws:
      IOException
    • getCorrespondencesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/XKOS/getCorrespondences", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getCorrespondencesPublished(@RequestParam(value="numAss",required=false,defaultValue="true") boolean numAss)
    • getSingleAssociationPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/XKOS/getSingleAssociation", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getSingleAssociationPublished(@RequestParam("association") org.eclipse.rdf4j.model.IRI association)
    • getAssociationsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/XKOS/getAssociations", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getAssociationsPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.IRI correspondence, @RequestParam(value="assConcepts",required=false,defaultValue="true") boolean assConcepts, @RequestParam(value="assConcepsLimit",required=false,defaultValue="5") int assConcepsLimit)