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

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

    • ClassesController

      public ClassesController()
  • 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 Classes getService()
      Specified by:
      getService in interface IntrospectableController
    • addSuperClsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/addSuperCls", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addSuperClsPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("supercls") org.eclipse.rdf4j.model.IRI supercls)
    • getInstancesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/getInstances", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getInstancesPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam(value="includeNonDirect",required=false,defaultValue="false") boolean includeNonDirect)
    • createInstancePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/createInstance", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>> createInstancePublished(@RequestParam(value="newInstance",required=false) org.eclipse.rdf4j.model.IRI newInstance, @RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam(value="customFormValue",required=false) CustomFormValue customFormValue) throws CODAException, CustomFormException
      Throws:
      CODAException
      CustomFormException
    • addUnionOfPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/addUnionOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addUnionOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("clsDescriptions") List<String> clsDescriptions) throws ManchesterParserException, ManchesterSyntacticException, ManchesterPrefixNotDefinedException
      Throws:
      ManchesterParserException
      ManchesterSyntacticException
      ManchesterPrefixNotDefinedException
    • removeIntersectionOfPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/removeIntersectionOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeIntersectionOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("collectionBNode") org.eclipse.rdf4j.model.BNode collectionBNode)
    • removeOneOfPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/removeOneOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeOneOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("collectionBNode") org.eclipse.rdf4j.model.BNode collectionBNode)
    • getSuperClassesPublished

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

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/getNumberOfInstances", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Integer>> getNumberOfInstancesPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam(value="includeNonDirect",required=false,defaultValue="false") boolean includeNonDirect)
    • removeUnionOfPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/removeUnionOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeUnionOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("collectionBNode") org.eclipse.rdf4j.model.BNode collectionBNode)
    • removeSuperClsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/removeSuperCls", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeSuperClsPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("supercls") org.eclipse.rdf4j.model.IRI supercls)
    • getClassesInfoPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/getClassesInfo", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getClassesInfoPublished(@RequestParam("classList") org.eclipse.rdf4j.model.IRI[] classList, @RequestParam(value="numInst",required=false,defaultValue="true") boolean numInst)
    • getSubClassesPublished

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

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/addOneOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addOneOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("individuals") List<org.eclipse.rdf4j.model.IRI> individuals)
    • addIntersectionOfPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/addIntersectionOf", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addIntersectionOfPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls, @RequestParam("clsDescriptions") List<String> clsDescriptions) throws ManchesterParserException, ManchesterSyntacticException, ManchesterPrefixNotDefinedException
      Throws:
      ManchesterParserException
      ManchesterSyntacticException
      ManchesterPrefixNotDefinedException
    • deleteInstancePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/deleteInstance", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteInstancePublished(@RequestParam("instance") org.eclipse.rdf4j.model.IRI instance)
    • deleteClassPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/deleteClass", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteClassPublished(@RequestParam("cls") org.eclipse.rdf4j.model.IRI cls) throws DeniedOperationException
      Throws:
      DeniedOperationException
    • createClassPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Classes/createClass", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>> createClassPublished(@RequestParam(value="newClass",required=false) org.eclipse.rdf4j.model.IRI newClass, @RequestParam("superClass") org.eclipse.rdf4j.model.IRI superClass, @RequestParam(value="classType",required=false) org.eclipse.rdf4j.model.IRI classType, @RequestParam(value="customFormValue",required=false) CustomFormValue customFormValue) throws CODAException, CustomFormException
      Throws:
      CODAException
      CustomFormException