Class InvokableReportersController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.InvokableReportersController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class InvokableReportersController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addSectionToReporterPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode section, int index) void
compileAndExportReportPublished
(jakarta.servlet.http.HttpServletResponse response, String reporterReference, String targetMimeType, PluginSpecification deployerSpec) org.springframework.http.HttpEntity<Response<InvokableReporters.Report>>
compileReportPublished
(String reporterReference, boolean render, boolean includeTemplate) org.springframework.http.HttpEntity<String>
createInvokableReporterPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode definition) org.springframework.http.HttpEntity<String>
deleteInvokableReporterPublished
(String reference) org.springframework.http.HttpEntity<Response<Collection<Scope>>>
org.springframework.http.HttpEntity<Response<InvokableReporter>>
org.springframework.http.HttpEntity<Response<Collection<Reference>>>
org.springframework.http.HttpEntity<Response<InvokableReporter>>
getInvokableReporterPublished
(String reference) org.springframework.http.HttpEntity<String>
removeSectionFromReporterPublished
(String reference, int index) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
updateInvokableReporterPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode definition) org.springframework.http.HttpEntity<String>
updateSectionInReporterPublished
(String reference, com.fasterxml.jackson.databind.node.ObjectNode section, int index)
-
Constructor Details
-
InvokableReportersController
public InvokableReportersController()
-
-
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
-
getInvokableReporterIdentifiersPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/getInvokableReporterIdentifiers", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Reference>>> getInvokableReporterIdentifiersPublished() throws NoSuchConfigurationManager- Throws:
NoSuchConfigurationManager
-
updateSectionInReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/updateSectionInReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateSectionInReporterPublished(@RequestParam("reference") String reference, @RequestParam("section") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode section, @RequestParam("index") int index) throws NoSuchConfigurationManager, IOException, WrongPropertiesException, STPropertyAccessException, STPropertyUpdateException -
removeSectionFromReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/removeSectionFromReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeSectionFromReporterPublished(@RequestParam("reference") String reference, @RequestParam("index") int index) throws NoSuchConfigurationManager, IOException, WrongPropertiesException, STPropertyAccessException, STPropertyUpdateException -
updateInvokableReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/updateInvokableReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateInvokableReporterPublished(@RequestParam("reference") String reference, @RequestParam("definition") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode definition) throws IOException, WrongPropertiesException, STPropertyUpdateException, NoSuchConfigurationManager -
createInvokableReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/createInvokableReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createInvokableReporterPublished(@RequestParam("reference") String reference, @RequestParam("definition") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode definition) throws IOException, WrongPropertiesException, STPropertyUpdateException, NoSuchConfigurationManager -
getInvokableReporterFormPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/getInvokableReporterForm", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<InvokableReporter>> getInvokableReporterFormPublished() -
addSectionToReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/addSectionToReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addSectionToReporterPublished(@RequestParam("reference") String reference, @RequestParam("section") @JsonSerialized com.fasterxml.jackson.databind.node.ObjectNode section, @RequestParam(value="index",required=false,defaultValue="-1") int index) throws NoSuchConfigurationManager, IOException, WrongPropertiesException, STPropertyAccessException, STPropertyUpdateException -
compileAndExportReportPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/compileAndExportReport", method=GET, produces="application/json;charset=UTF-8") public void compileAndExportReportPublished(jakarta.servlet.http.HttpServletResponse response, @RequestParam("reporterReference") String reporterReference, @RequestParam(value="targetMimeType",required=false) String targetMimeType, @RequestParam(value="deployerSpec",required=false) PluginSpecification deployerSpec) throws NoSuchConfigurationManager, IOException, ConfigurationNotFoundException, WrongPropertiesException, STPropertyAccessException, IllegalArgumentException, InvokableReporterException, InvalidConfigurationException -
getConfigurationScopesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/getConfigurationScopes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Scope>>> getConfigurationScopesPublished() throws NoSuchConfigurationManager- Throws:
NoSuchConfigurationManager
-
compileReportPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/compileReport", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<InvokableReporters.Report>> compileReportPublished(@RequestParam("reporterReference") String reporterReference, @RequestParam(value="render",required=false,defaultValue="true") boolean render, @RequestParam(value="includeTemplate",required=false,defaultValue="true") boolean includeTemplate) throws NoSuchConfigurationManager, IOException, ConfigurationNotFoundException, WrongPropertiesException, STPropertyAccessException, IllegalArgumentException, InvokableReporterException -
getInvokableReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/getInvokableReporter", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<InvokableReporter>> getInvokableReporterPublished(@RequestParam("reference") String reference) throws NoSuchConfigurationManager, STPropertyAccessException -
deleteInvokableReporterPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/InvokableReporters/deleteInvokableReporter", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteInvokableReporterPublished(@RequestParam("reference") String reference) throws ConfigurationNotFoundException, NoSuchConfigurationManager
-