Example #1
0
 @RequestMapping(value = "/config/catalogo/module_del", method = RequestMethod.GET)
 public @ResponseBody boolean delConfigModules(@RequestParam List<Long> ids) {
   return servicioConfigModule.deleteIds(ids);
 }
Example #2
0
 @RequestMapping(value = "/config/catalogo/module_add", method = RequestMethod.GET)
 public @ResponseBody boolean addConfigModules(
     @ModelAttribute("configModule") ConfigModule configModule) {
   return servicioConfigModule.saveOrUpdate(configModule);
 }
Example #3
0
 @RequestMapping(value = "/config/catalogo/module_load", method = RequestMethod.GET)
 public @ResponseBody ConfigModule loadConfigModules(@RequestParam Long idModule) {
   ConfigModule configModule = servicioConfigModule.load(idModule);
   return configModule;
 }
Example #4
0
 @RequestMapping(value = "/config/catalogo/module_get", method = RequestMethod.GET)
 public @ResponseBody Map<String, Object> getallConfigModules() {
   Map<String, Object> a = new HashMap<String, Object>();
   a.put("aaData", servicioConfigModule.getAll());
   return a;
 }