Class XKOSController
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportAssociationsPublished
(jakarta.servlet.http.HttpServletResponse oRes, org.eclipse.rdf4j.model.IRI correspondence, org.eclipse.rdf4j.rio.RDFFormat format) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
filterAssociationsPublished
(org.eclipse.rdf4j.model.IRI correspondence, boolean assConcepts, int assConcepsLimit, String searchString, boolean useLexicalizations, boolean useLocalName, boolean useURI, SearchMode searchMode, boolean useNotes, List<String> langs, boolean includeLocales, boolean searchInRDFSLabel, boolean searchInSKOSLabel, boolean searchInSKOSXLLabel, boolean searchInOntolex) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getAssociationsPublished
(org.eclipse.rdf4j.model.IRI correspondence, boolean assConcepts, int assConcepsLimit) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getCorrespondencesPublished
(boolean numAss) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getSingleAssociationPublished
(org.eclipse.rdf4j.model.IRI association) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
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 interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
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 -
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)
-