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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<List<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>>
getLexicalizationPropertiesPublished
(org.eclipse.rdf4j.model.Resource resource, ResourcePosition resourcePosition) org.springframework.http.HttpEntity<Response<Map<String,
ResourceViewSection>>> getResourceViewAtTimePublished
(org.eclipse.rdf4j.model.IRI resource, ZonedDateTime date) org.springframework.http.HttpEntity<Response<Map<String,
ResourceViewSection>>> getResourceViewPublished
(org.eclipse.rdf4j.model.Resource resource, ResourcePosition resourcePosition, boolean includeInferred, boolean ignorePropertyExclusions, boolean computeCvSingleValuePreview) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
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 interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
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
-