Class SettingsController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.SettingsController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class SettingsController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPUSettingsProjectDefaultPublished
(String componentID, String projectName) getPUSettingsUserDefaultPublished
(String componentID, org.eclipse.rdf4j.model.IRI userIri) org.springframework.http.HttpEntity<Response<Collection<SettingsManager>>>
getSettingsDefaultPublished
(String componentID, Scope scope, Scope defaultScope) getSettingsForProjectAdministrationPublished
(String componentID, Scope scope, String projectName, org.eclipse.rdf4j.model.IRI userIri, org.eclipse.rdf4j.model.IRI groupIri) getSettingsPublished
(String componentID, Scope scope) org.springframework.http.HttpEntity<Response<Collection<Scope>>>
getSettingsScopesPublished
(String componentID) org.springframework.http.HttpEntity<Response<Settings.StartupSettings>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
storePUSettingProjectDefaultPublished
(String componentID, String projectName, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue) org.springframework.http.HttpEntity<String>
storePUSettingUserDefaultPublished
(String componentID, org.eclipse.rdf4j.model.IRI userIri, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue) org.springframework.http.HttpEntity<String>
storeSettingDefaultPublished
(String componentID, Scope scope, Scope defaultScope, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue) org.springframework.http.HttpEntity<String>
storeSettingForProjectAdministrationPublished
(String componentID, Scope scope, String projectName, org.eclipse.rdf4j.model.IRI userIri, org.eclipse.rdf4j.model.IRI groupIri, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue) org.springframework.http.HttpEntity<String>
storeSettingPublished
(String componentID, Scope scope, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue) org.springframework.http.HttpEntity<String>
storeSettingsDefaultPublished
(String componentID, Scope scope, Scope defaultScope, com.fasterxml.jackson.databind.node.ObjectNode settings) org.springframework.http.HttpEntity<String>
storeSettingsPublished
(String componentID, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings)
-
Constructor Details
-
SettingsController
public SettingsController()
-
-
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
-
getSettingsDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getSettingsDefault", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings>> getSettingsDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("defaultScope") Scope defaultScope) throws NoSuchSettingsManager, STPropertyAccessException -
storeSettingPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storeSetting", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("propertyName") String propertyName, @RequestParam(value="propertyValue",required=false) @JsonSerialized com.fasterxml.jackson.databind.JsonNode propertyValue) throws NoSuchSettingsManager, STPropertyAccessException, IllegalStateException, STPropertyUpdateException, WrongPropertiesException, PropertyNotFoundException, IOException -
getSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getSettings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings>> getSettingsPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope) throws NoSuchSettingsManager, STPropertyAccessException -
storeSettingDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storeSettingDefault", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("defaultScope") Scope defaultScope, @RequestParam("propertyName") String propertyName, @RequestParam("propertyValue") @JsonSerialized com.fasterxml.jackson.databind.JsonNode propertyValue) throws NoSuchSettingsManager, STPropertyAccessException, IllegalStateException, STPropertyUpdateException, WrongPropertiesException, PropertyNotFoundException, IOException -
getPUSettingsUserDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getPUSettingsUserDefault", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings>> getPUSettingsUserDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("userIri") org.eclipse.rdf4j.model.IRI userIri) throws NoSuchSettingsManager, STPropertyAccessException, UserException -
getSettingManagersPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getSettingManagers", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<SettingsManager>>> getSettingManagersPublished() -
storeSettingsDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storeSettingsDefault", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingsDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("defaultScope") Scope defaultScope, @RequestParam("settings") com.fasterxml.jackson.databind.node.ObjectNode settings) throws NoSuchSettingsManager, STPropertyAccessException, IllegalStateException, STPropertyUpdateException, WrongPropertiesException -
storePUSettingUserDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storePUSettingUserDefault", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storePUSettingUserDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("userIri") org.eclipse.rdf4j.model.IRI userIri, @RequestParam("propertyName") String propertyName, @RequestParam("propertyValue") @JsonSerialized com.fasterxml.jackson.databind.JsonNode propertyValue) throws NoSuchSettingsManager, STPropertyAccessException, UserException, STPropertyUpdateException, PropertyNotFoundException, WrongPropertiesException, IOException -
getPUSettingsProjectDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getPUSettingsProjectDefault", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings>> getPUSettingsProjectDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("projectName") String projectName) throws NoSuchSettingsManager, STPropertyAccessException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
storeSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storeSettings", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingsPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("settings") com.fasterxml.jackson.databind.node.ObjectNode settings) throws NoSuchSettingsManager, STPropertyAccessException, IllegalStateException, STPropertyUpdateException, WrongPropertiesException -
storeSettingForProjectAdministrationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storeSettingForProjectAdministration", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingForProjectAdministrationPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("projectName") String projectName, @RequestParam(value="userIri",required=false) org.eclipse.rdf4j.model.IRI userIri, @RequestParam(value="groupIri",required=false) org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("propertyName") String propertyName, @RequestParam("propertyValue") @JsonSerialized com.fasterxml.jackson.databind.JsonNode propertyValue) throws NoSuchSettingsManager, STPropertyAccessException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException, UserException, STPropertyUpdateException, PropertyNotFoundException, WrongPropertiesException, IOException -
storePUSettingProjectDefaultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/storePUSettingProjectDefault", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storePUSettingProjectDefaultPublished(@RequestParam("componentID") String componentID, @RequestParam("projectName") String projectName, @RequestParam("propertyName") String propertyName, @RequestParam("propertyValue") @JsonSerialized com.fasterxml.jackson.databind.JsonNode propertyValue) throws NoSuchSettingsManager, STPropertyAccessException, STPropertyUpdateException, PropertyNotFoundException, WrongPropertiesException, IOException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
getStartupSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getStartupSettings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings.StartupSettings>> getStartupSettingsPublished() throws STPropertyAccessException- Throws:
STPropertyAccessException
-
getSettingsScopesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getSettingsScopes", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Scope>>> getSettingsScopesPublished(@RequestParam("componentID") String componentID) throws NoSuchSettingsManager - Throws:
NoSuchSettingsManager
-
getSettingsForProjectAdministrationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Settings/getSettingsForProjectAdministration", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Settings>> getSettingsForProjectAdministrationPublished(@RequestParam("componentID") String componentID, @RequestParam("scope") Scope scope, @RequestParam("projectName") String projectName, @RequestParam(value="userIri",required=false) org.eclipse.rdf4j.model.IRI userIri, @RequestParam(value="groupIri",required=false) org.eclipse.rdf4j.model.IRI groupIri) throws NoSuchSettingsManager, STPropertyAccessException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException, UserException
-