Class CustomTreesController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.CustomTreesController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class CustomTreesController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getChildrenResourcesPublished
(org.eclipse.rdf4j.model.IRI resource) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
CustomTreesController
public CustomTreesController()
-
-
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
-
getRootsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomTrees/getRoots", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRootsPublished() throws STPropertyAccessException- Throws:
STPropertyAccessException
-
getChildrenResourcesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomTrees/getChildrenResources", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getChildrenResourcesPublished(@RequestParam("resource") org.eclipse.rdf4j.model.IRI resource) throws STPropertyAccessException - Throws:
STPropertyAccessException
-