Class ResourcesController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.ResourcesController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class ResourcesController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addValuePublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, SpecialValue value) getOutgoingTriplesPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.rio.RDFFormat format) org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>
getResourceDescriptionPublished
(org.eclipse.rdf4j.model.Resource resource) getResourcePositionPublished
(org.eclipse.rdf4j.model.IRI resource) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
getResourcesInfoPublished
(org.eclipse.rdf4j.model.Resource[] resources) org.springframework.http.HttpEntity<Response<Map<String,
ResourcePosition>>> getResourcesPositionPublished
(org.eclipse.rdf4j.model.IRI[] resources) org.springframework.http.HttpEntity<String>
removePredicateObjectPublished
(org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value) org.springframework.http.HttpEntity<String>
removeValuePublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setDeprecatedPublished
(org.eclipse.rdf4j.model.IRI resource) org.springframework.http.HttpEntity<String>
updateFlatLexicalizationPropertyPublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.IRI newProperty, org.eclipse.rdf4j.model.Value value) org.springframework.http.HttpEntity<String>
updateLexicalizationPublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Literal value, org.eclipse.rdf4j.model.Literal newValue) org.springframework.http.HttpEntity<String>
updatePredicateObjectPublished
(org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.Value newValue) org.springframework.http.HttpEntity<String>
updateResourceTriplesDescriptionPublished
(org.eclipse.rdf4j.model.Resource resource, String triples, org.eclipse.rdf4j.rio.RDFFormat format) org.springframework.http.HttpEntity<String>
updateTriplePredicatePublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.IRI newPredicate) org.springframework.http.HttpEntity<String>
updateTriplePublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.Value newValue) org.springframework.http.HttpEntity<String>
updateTripleValuePublished
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.Value newValue) org.springframework.http.HttpEntity<Response<List<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>>
validateIRIListPublished
(String iriList)
-
Constructor Details
-
ResourcesController
public ResourcesController()
-
-
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
-
updateResourceTriplesDescriptionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateResourceTriplesDescription", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateResourceTriplesDescriptionPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("triples") String triples, @RequestParam("format") org.eclipse.rdf4j.rio.RDFFormat format) throws IOException - Throws:
IOException
-
updateFlatLexicalizationPropertyPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateFlatLexicalizationProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateFlatLexicalizationPropertyPublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("newProperty") org.eclipse.rdf4j.model.IRI newProperty, @RequestParam("value") org.eclipse.rdf4j.model.Value value) -
updateTriplePredicatePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateTriplePredicate", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateTriplePredicatePublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("predicate") org.eclipse.rdf4j.model.IRI predicate, @RequestParam("value") org.eclipse.rdf4j.model.Value value, @RequestParam("newPredicate") org.eclipse.rdf4j.model.IRI newPredicate) -
getResourcePositionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/getResourcePosition", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> getResourcePositionPublished(@RequestParam("resource") org.eclipse.rdf4j.model.IRI resource) throws ProjectAccessException - Throws:
ProjectAccessException
-
getOutgoingTriplesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/getOutgoingTriples", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> getOutgoingTriplesPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("format") org.eclipse.rdf4j.rio.RDFFormat format) throws IOException - Throws:
IOException
-
validateIRIListPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/validateIRIList", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>> validateIRIListPublished(@RequestParam("iriList") String iriList) -
setDeprecatedPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/setDeprecated", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setDeprecatedPublished(@RequestParam("resource") org.eclipse.rdf4j.model.IRI resource) -
getResourcesPositionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/getResourcesPosition", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Map<String,ResourcePosition>>> getResourcesPositionPublished(@RequestParam("resources") @JsonSerialized org.eclipse.rdf4j.model.IRI[] resources) throws ProjectAccessException - Throws:
ProjectAccessException
-
updatePredicateObjectPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updatePredicateObject", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updatePredicateObjectPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue) -
updateTriplePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateTriple", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateTriplePublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue) -
getResourceDescriptionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/getResourceDescription", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>> getResourceDescriptionPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource) -
removeValuePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/removeValue", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeValuePublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value) -
getResourcesInfoPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/getResourcesInfo", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getResourcesInfoPublished(@RequestParam("resources") @JsonSerialized org.eclipse.rdf4j.model.Resource[] resources) -
updateTripleValuePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateTripleValue", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateTripleValuePublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue) -
updateLexicalizationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/updateLexicalization", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateLexicalizationPublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Literal value, @RequestParam("newValue") org.eclipse.rdf4j.model.Literal newValue) -
removePredicateObjectPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/removePredicateObject", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePredicateObjectPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value) -
addValuePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Resources/addValue", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addValuePublished(@RequestParam("subject") org.eclipse.rdf4j.model.Resource subject, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") SpecialValue value) throws CODAException - Throws:
CODAException
-