Class DatatypesController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.DatatypesController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class DatatypesController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>
createDatatypePublished
(org.eclipse.rdf4j.model.IRI newDatatype) org.springframework.http.HttpEntity<String>
deleteDatatypePublished
(org.eclipse.rdf4j.model.IRI datatype) org.springframework.http.HttpEntity<String>
deleteDatatypeRestrictionPublished
(org.eclipse.rdf4j.model.IRI datatype) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Map<org.eclipse.rdf4j.model.IRI,
DatatypeRestrictionDescription>>> org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<DatatypeRestrictionDescription>>
getRestrictionDescriptionPublished
(org.eclipse.rdf4j.model.BNode restriction) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setDatatypeEnumerationRestrictionsPublished
(org.eclipse.rdf4j.model.IRI datatype, List<org.eclipse.rdf4j.model.Literal> literals) org.springframework.http.HttpEntity<String>
setDatatypeFacetsRestrictionPublished
(org.eclipse.rdf4j.model.IRI datatype, org.eclipse.rdf4j.model.IRI base, Map<org.eclipse.rdf4j.model.IRI, org.eclipse.rdf4j.model.Literal> facets) org.springframework.http.HttpEntity<String>
setDatatypeManchesterRestrictionPublished
(org.eclipse.rdf4j.model.IRI datatype, String manchExpr)
-
Constructor Details
-
DatatypesController
public DatatypesController()
-
-
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
-
getBuiltinDatatypesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getBuiltinDatatypes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getBuiltinDatatypesPublished() -
setDatatypeFacetsRestrictionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/setDatatypeFacetsRestriction", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setDatatypeFacetsRestrictionPublished(@RequestParam("datatype") org.eclipse.rdf4j.model.IRI datatype, @RequestParam("base") org.eclipse.rdf4j.model.IRI base, @RequestParam("facets") Map<org.eclipse.rdf4j.model.IRI, org.eclipse.rdf4j.model.Literal> facets) -
setDatatypeManchesterRestrictionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/setDatatypeManchesterRestriction", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setDatatypeManchesterRestrictionPublished(@RequestParam("datatype") org.eclipse.rdf4j.model.IRI datatype, @RequestParam("manchExpr") String manchExpr) throws ManchesterParserException, ManchesterSyntacticException, ManchesterPrefixNotDefinedException -
getRestrictionDescriptionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getRestrictionDescription", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<DatatypeRestrictionDescription>> getRestrictionDescriptionPublished(@RequestParam("restriction") org.eclipse.rdf4j.model.BNode restriction) -
getDatatypeRestrictionsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getDatatypeRestrictions", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Map<org.eclipse.rdf4j.model.IRI,DatatypeRestrictionDescription>>> getDatatypeRestrictionsPublished() -
createDatatypePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/createDatatype", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>> createDatatypePublished(@RequestParam("newDatatype") org.eclipse.rdf4j.model.IRI newDatatype) -
getRDF11XmlSchemaBuiltinDatatypesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getRDF11XmlSchemaBuiltinDatatypes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRDF11XmlSchemaBuiltinDatatypesPublished() -
getDatatypesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getDatatypes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getDatatypesPublished() -
getDeclaredDatatypesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getDeclaredDatatypes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getDeclaredDatatypesPublished() -
deleteDatatypePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/deleteDatatype", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteDatatypePublished(@RequestParam("datatype") org.eclipse.rdf4j.model.IRI datatype) -
deleteDatatypeRestrictionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/deleteDatatypeRestriction", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteDatatypeRestrictionPublished(@RequestParam("datatype") org.eclipse.rdf4j.model.IRI datatype) -
setDatatypeEnumerationRestrictionsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/setDatatypeEnumerationRestrictions", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setDatatypeEnumerationRestrictionsPublished(@RequestParam("datatype") org.eclipse.rdf4j.model.IRI datatype, @RequestParam("literals") List<org.eclipse.rdf4j.model.Literal> literals) -
getOWL2DatatypeMapPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Datatypes/getOWL2DatatypeMap", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getOWL2DatatypeMapPublished()
-