Example #1
0
 @RequestMapping("/loadActionsXmlForTree/{groupId}")
 @ResponseBody
 public Set<Action> loadActions(@PathVariable int groupId) {
   return groupService.loadByEntityId(groupId).getActions();
 }
Example #2
0
 @RequestMapping("/load/{Id}")
 @ResponseBody
 public Group load(@PathVariable int Id) {
   return groupService.loadByEntityId(Id);
 }