Class LexicographerViewController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.LexicographerViewController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class LexicographerViewController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<LexicographerView.LexicalEntry>>
getLexicalEntryViewPublished
(org.eclipse.rdf4j.model.Resource lexicalEntry) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getMorphosyntacticPropertiesPublished
(RDFResourceRole role, org.eclipse.rdf4j.model.Resource lexicon, boolean rootsIncluded) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
LexicographerViewController
public LexicographerViewController()
-
-
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
-
getLexicalEntryViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/LexicographerView/getLexicalEntryView", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<LexicographerView.LexicalEntry>> getLexicalEntryViewPublished(@RequestParam("lexicalEntry") org.eclipse.rdf4j.model.Resource lexicalEntry) -
getMorphosyntacticPropertiesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/LexicographerView/getMorphosyntacticProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getMorphosyntacticPropertiesPublished(@RequestParam(value="role",required=false) RDFResourceRole role, @RequestParam(value="lexicon",required=false) org.eclipse.rdf4j.model.Resource lexicon, @RequestParam(value="rootsIncluded",required=false,defaultValue="false") boolean rootsIncluded)
-