Class MultiverseController

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

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

    • MultiverseController

      public MultiverseController()
  • 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 Multiverse getService()
      Specified by:
      getService in interface IntrospectableController
    • listWorldsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/listWorlds", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> listWorldsPublished()
    • createWorldPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/createWorld", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createWorldPublished(@RequestParam("name") String name) throws IOException, WorldAlreadyExistingException
      Throws:
      IOException
      WorldAlreadyExistingException
    • destroyWorldPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/destroyWorld", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> destroyWorldPublished(@RequestParam("name") String name)
    • listAlternativeWorldInfosPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/listAlternativeWorldInfos", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<WorldInfo>>> listAlternativeWorldInfosPublished()