Class CustomServicesController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.CustomServicesController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class CustomServicesController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addOperationToCustomServicePublished
(String id, com.fasterxml.jackson.databind.node.ObjectNode operationDefinition) org.springframework.http.HttpEntity<String>
createCustomServicePublished
(String id, com.fasterxml.jackson.databind.node.ObjectNode definition) org.springframework.http.HttpEntity<String>
org.springframework.http.HttpEntity<Response<Collection<String>>>
org.springframework.http.HttpEntity<Response<CustomService>>
org.springframework.http.HttpEntity<Response<List<Configuration>>>
org.springframework.http.HttpEntity<String>
org.springframework.http.HttpEntity<String>
org.springframework.http.HttpEntity<String>
removeOperationFromCustomServicePublished
(String id, String operationName) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
updateCustomServicePublished
(String id, com.fasterxml.jackson.databind.node.ObjectNode definition) org.springframework.http.HttpEntity<String>
updateOperationInCustomServicePublished
(String id, com.fasterxml.jackson.databind.node.ObjectNode operationDefinition, String oldOperationName)
-
Constructor Details
-
CustomServicesController
public CustomServicesController()
-
-
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
-
createCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/createCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createCustomServicePublished(@RequestParam("id") String id, @RequestParam("definition") com.fasterxml.jackson.databind.node.ObjectNode definition) throws IOException, WrongPropertiesException, STPropertyUpdateException, STPropertyAccessException, InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, InvalidConfigurationException, CustomServiceException -
removeOperationFromCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/removeOperationFromCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeOperationFromCustomServicePublished(@RequestParam("id") String id, @RequestParam("operationName") String operationName) throws IOException, WrongPropertiesException, STPropertyAccessException, STPropertyUpdateException, InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, InvalidConfigurationException, CustomServiceException -
getOperationFormsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/getOperationForms", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<Configuration>>> getOperationFormsPublished() -
reloadCustomServicesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/reloadCustomServices", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> reloadCustomServicesPublished() throws NoSuchConfigurationManager- Throws:
NoSuchConfigurationManager
-
getCustomServiceIdentifiersPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/getCustomServiceIdentifiers", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> getCustomServiceIdentifiersPublished() -
getCustomServiceIdPublished
-
updateOperationInCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/updateOperationInCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateOperationInCustomServicePublished(@RequestParam("id") String id, @RequestParam("operationDefinition") com.fasterxml.jackson.databind.node.ObjectNode operationDefinition, @RequestParam(value="oldOperationName",required=false) String oldOperationName) throws IOException, WrongPropertiesException, STPropertyUpdateException, STPropertyAccessException, InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, InvalidConfigurationException, CustomServiceException -
getCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/getCustomService", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<CustomService>> getCustomServicePublished(@RequestParam("id") String id) throws STPropertyAccessException - Throws:
STPropertyAccessException
-
addOperationToCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/addOperationToCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addOperationToCustomServicePublished(@RequestParam("id") String id, @RequestParam("operationDefinition") com.fasterxml.jackson.databind.node.ObjectNode operationDefinition) throws IOException, WrongPropertiesException, STPropertyUpdateException, STPropertyAccessException, InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, InvalidConfigurationException, CustomServiceException -
updateCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/updateCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateCustomServicePublished(@RequestParam("id") String id, @RequestParam("definition") com.fasterxml.jackson.databind.node.ObjectNode definition) throws IOException, WrongPropertiesException, STPropertyUpdateException, STPropertyAccessException, InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, InvalidConfigurationException, CustomServiceException -
deleteCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/deleteCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteCustomServicePublished(@RequestParam("id") String id) throws ConfigurationNotFoundException - Throws:
ConfigurationNotFoundException
-
reloadCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CustomServices/reloadCustomService", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> reloadCustomServicePublished(@RequestParam("id") String id) throws InstantiationException, IllegalAccessException, SchemaException, IllegalArgumentException, NoSuchExtensionException, STPropertyAccessException, WrongPropertiesException, InvalidConfigurationException, DuplicateName
-