Class ConfigurationController


  • @Controller
    @RequestMapping("/platform/**")
    public class ConfigurationController
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String CHANGED  
      protected static java.lang.String CREATED  
      protected static java.lang.String EDITED  
      protected static java.lang.String HAS_EDITED  
      protected static java.lang.String IS_NEW  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map applyEdited()  
      java.lang.String config​(org.springframework.ui.Model model)  
      void configDelete​(org.springframework.ui.Model model, java.lang.String key, javax.servlet.http.HttpServletResponse response)  
      void configLockUnlockCreate​(java.lang.Boolean lock, javax.servlet.http.HttpServletResponse response)  
      java.util.Map configUpdateCreate​(java.lang.String key, java.lang.String val)  
      java.util.Map getEdited()  
      protected java.lang.String getParameter​(java.lang.String key)  
      java.util.Map resetEdited()  
      void setSessionService​(SessionService sessionService)  
      java.util.Map valuechanged​(java.lang.String key, java.lang.String val)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationController

        public ConfigurationController()
    • Method Detail

      • config

        @RequestMapping(value="config",
                        method=GET)
        public java.lang.String config​(org.springframework.ui.Model model)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • configDelete

        @RequestMapping(value="configdelete",
                        method=POST)
        @ResponseBody
        public void configDelete​(org.springframework.ui.Model model,
                                 @RequestParam
                                 java.lang.String key,
                                 javax.servlet.http.HttpServletResponse response)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • configUpdateCreate

        @RequestMapping(value="configstore",
                        method=POST,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.Map configUpdateCreate​(@RequestParam
                                                java.lang.String key,
                                                @RequestParam
                                                java.lang.String val)
      • configLockUnlockCreate

        @RequestMapping(value="config/lock",
                        method=POST)
        @ResponseBody
        public void configLockUnlockCreate​(@RequestParam
                                           java.lang.Boolean lock,
                                           javax.servlet.http.HttpServletResponse response)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • applyEdited

        @RequestMapping(value="config/applyedited",
                        method=POST)
        @ResponseBody
        public java.util.Map applyEdited()
      • resetEdited

        @RequestMapping(value="config/resetedited",
                        method=POST)
        @ResponseBody
        public java.util.Map resetEdited()
      • valuechanged

        @RequestMapping(value="config/valuechanged",
                        method=POST)
        @ResponseBody
        public java.util.Map valuechanged​(@RequestParam
                                          java.lang.String key,
                                          @RequestParam
                                          java.lang.String val)
      • getParameter

        protected java.lang.String getParameter​(java.lang.String key)
      • getEdited

        @RequestMapping(value="config/edited",
                        method=POST)
        @ResponseBody
        public java.util.Map getEdited()
      • setSessionService

        public void setSessionService​(SessionService sessionService)