Class CustomViewsController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.CustomViewsController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class CustomViewsController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addAssociationPublished
(org.eclipse.rdf4j.model.IRI property, String customViewRef, ViewsEnum defaultView) org.springframework.http.HttpEntity<String>
createCustomViewPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode definition, CustomViewModelEnum model) org.springframework.http.HttpEntity<String>
deleteAssociationPublished
(String reference) org.springframework.http.HttpEntity<String>
deleteCustomViewPublished
(String reference) org.springframework.http.HttpEntity<String>
deleteSingleValueDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value, Map<String, org.eclipse.rdf4j.model.Value> pivots) void
exportCustomViewPublished
(jakarta.servlet.http.HttpServletResponse oRes, String reference) org.springframework.http.HttpEntity<Response<CustomView>>
getCustomViewPublished
(String reference) org.springframework.http.HttpEntity<Response<CustomViewData>>
getViewDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property) org.springframework.http.HttpEntity<Response<Collection<String>>>
org.springframework.http.HttpEntity<String>
importCustomViewPublished
(org.springframework.web.multipart.MultipartFile inputFile, String reference) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) suggestAdvSingleValueCVFromCustomFormPublished
(String cfId, String chosenPh) org.springframework.http.HttpEntity<String>
updateCustomViewPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode definition, CustomViewModelEnum model) org.springframework.http.HttpEntity<String>
updateDynamicVectorDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, String fieldName, org.eclipse.rdf4j.model.Value oldValue, org.eclipse.rdf4j.model.Value newValue, Map<String, org.eclipse.rdf4j.model.Value> pivots) org.springframework.http.HttpEntity<String>
updateSingleValueDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value oldValue, org.eclipse.rdf4j.model.Value newValue, Map<String, org.eclipse.rdf4j.model.Value> pivots) org.springframework.http.HttpEntity<String>
updateSparqlBasedDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, Map<CustomViewDataBindings, org.eclipse.rdf4j.model.Value> bindings) org.springframework.http.HttpEntity<String>
updateStaticVectorDataPublished
(org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.IRI fieldProperty, org.eclipse.rdf4j.model.Value oldValue, org.eclipse.rdf4j.model.Value newValue)
-
Constructor Details
-
CustomViewsController
public CustomViewsController()
-
-
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
-
updateSparqlBasedDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/updateSparqlBasedData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSparqlBasedDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("bindings") Map<CustomViewDataBindings, org.eclipse.rdf4j.model.Value> bindings) -
deleteSingleValueDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/deleteSingleValueData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteSingleValueDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("value") org.eclipse.rdf4j.model.Value value, @RequestParam(value="pivots",required=false) Map<String, org.eclipse.rdf4j.model.Value> pivots) -
updateStaticVectorDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/updateStaticVectorData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateStaticVectorDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("fieldProperty") org.eclipse.rdf4j.model.IRI fieldProperty, @RequestParam("oldValue") org.eclipse.rdf4j.model.Value oldValue, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue) -
updateSingleValueDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/updateSingleValueData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSingleValueDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("oldValue") org.eclipse.rdf4j.model.Value oldValue, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue, @RequestParam(value="pivots",required=false) Map<String, org.eclipse.rdf4j.model.Value> pivots) -
updateCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/updateCustomView", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateCustomViewPublished(@RequestParam("reference") String reference, @RequestParam("definition") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode definition, @RequestParam("model") CustomViewModelEnum model) throws IOException, WrongPropertiesException, STPropertyUpdateException -
suggestDynamicVectorCVFromCustomFormPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/suggestDynamicVectorCVFromCustomForm", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> suggestDynamicVectorCVFromCustomFormPublished(@RequestParam("cfId") String cfId) throws it.uniroma2.art.coda.exception.parserexception.PRParserException - Throws:
it.uniroma2.art.coda.exception.parserexception.PRParserException
-
suggestAdvSingleValueCVFromCustomFormPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/suggestAdvSingleValueCVFromCustomForm", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> suggestAdvSingleValueCVFromCustomFormPublished(@RequestParam("cfId") String cfId, @RequestParam(value="chosenPh",required=false) String chosenPh) throws it.uniroma2.art.coda.exception.parserexception.PRParserException - Throws:
it.uniroma2.art.coda.exception.parserexception.PRParserException
-
exportCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/exportCustomView", method=GET, produces="application/json;charset=UTF-8") public void exportCustomViewPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam("reference") String reference) throws IOException - Throws:
IOException
-
getViewsIdentifiersPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/getViewsIdentifiers", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> getViewsIdentifiersPublished() -
addAssociationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/addAssociation", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addAssociationPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("customViewRef") String customViewRef, @RequestParam("defaultView") ViewsEnum defaultView) throws STPropertyUpdateException, WrongPropertiesException, IOException, ConfigurationNotFoundException -
deleteCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/deleteCustomView", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteCustomViewPublished(@RequestParam("reference") String reference) throws ConfigurationNotFoundException - Throws:
ConfigurationNotFoundException
-
getCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/getCustomView", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<CustomView>> getCustomViewPublished(@RequestParam("reference") String reference) -
listAssociationsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/listAssociations", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> listAssociationsPublished() throws ConfigurationNotFoundException- Throws:
ConfigurationNotFoundException
-
deleteAssociationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/deleteAssociation", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteAssociationPublished(@RequestParam("reference") String reference) throws ConfigurationNotFoundException - Throws:
ConfigurationNotFoundException
-
getValueCandidatesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/getValueCandidates", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Set<String>>> getValueCandidatesPublished(@RequestParam("cfId") String cfId) throws it.uniroma2.art.coda.exception.parserexception.PRParserException - Throws:
it.uniroma2.art.coda.exception.parserexception.PRParserException
-
createCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/createCustomView", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createCustomViewPublished(@RequestParam("reference") String reference, @RequestParam("definition") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode definition, @RequestParam("model") CustomViewModelEnum model) throws IOException, WrongPropertiesException, STPropertyUpdateException -
importCustomViewPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/importCustomView", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> importCustomViewPublished(@RequestParam("inputFile") org.springframework.web.multipart.MultipartFile inputFile, @RequestParam("reference") String reference) throws IOException, STPropertyAccessException - Throws:
IOException
STPropertyAccessException
-
updateDynamicVectorDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/updateDynamicVectorData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateDynamicVectorDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("fieldName") String fieldName, @RequestParam("oldValue") org.eclipse.rdf4j.model.Value oldValue, @RequestParam("newValue") org.eclipse.rdf4j.model.Value newValue, @RequestParam("pivots") Map<String, org.eclipse.rdf4j.model.Value> pivots) -
getViewDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomViews/getViewData", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<CustomViewData>> getViewDataPublished(@RequestParam("resource") org.eclipse.rdf4j.model.Resource resource, @RequestParam("property") org.eclipse.rdf4j.model.IRI property)
-