java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.CODAController
All Implemented Interfaces:
IntrospectableController, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Controller public class CODAController extends Object implements org.springframework.context.ApplicationContextAware, IntrospectableController
  • Constructor Details

    • CODAController

      public CODAController()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getServiceSpecies

      public ServiceSpecies getServiceSpecies()
      Specified by:
      getServiceSpecies in interface IntrospectableController
    • getService

      public CODA getService()
      Specified by:
      getService in interface IntrospectableController
    • setRemoteProvisioningEnabledPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/setRemoteProvisioningEnabled", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setRemoteProvisioningEnabledPublished(@RequestParam("enable") boolean enable) throws IOException
      Throws:
      IOException
    • listConverterContractsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/listConverterContracts", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> listConverterContractsPublished()
    • isRemoteProvisioningEnabledPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/isRemoteProvisioningEnabled", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Boolean>> isRemoteProvisioningEnabledPublished() throws IOException
      Throws:
      IOException
    • validatePearlPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/validatePearl", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> validatePearlPublished(@RequestParam("pearlCode") String pearlCode, @RequestParam(value="rulesShouldExists",required=false,defaultValue="true") boolean rulesShouldExists)