Class ResourceViewController

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

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

    • ResourceViewController

      public ResourceViewController()
  • 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 ResourceView getService()
      Specified by:
      getService in interface IntrospectableController
    • getResourceViewPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ResourceView/getResourceView", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Map<String,ResourceViewSection>>> getResourceViewPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam(value="resourcePosition",required=false) ResourcePosition resourcePosition, @RequestParam(value="includeInferred",required=false,defaultValue="false") boolean includeInferred, @RequestParam(value="ignorePropertyExclusions",required=false,defaultValue="false") boolean ignorePropertyExclusions, @RequestParam(value="computeCvSingleValuePreview",required=false,defaultValue="false") boolean computeCvSingleValuePreview) throws Exception
      Throws:
      Exception
    • getLexicalizationPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ResourceView/getLexicalizationProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>> getLexicalizationPropertiesPublished(@RequestParam(value="resource",required=false) org.eclipse.rdf4j.model.Resource resource, @RequestParam(value="resourcePosition",required=false) ResourcePosition resourcePosition) throws ProjectAccessException
      Throws:
      ProjectAccessException
    • getResourceViewAtTimePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ResourceView/getResourceViewAtTime", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Map<String,ResourceViewSection>>> getResourceViewAtTimePublished(@RequestParam("resource") org.eclipse.rdf4j.model.IRI resource, @RequestParam("date") ZonedDateTime date) throws Exception
      Throws:
      Exception