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 Details

    • DatatypesController

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