Class ActionsController
- java.lang.Object
-
- org.craftercms.social.controllers.rest.v3.system.ActionsController
-
@Controller @RequestMapping("/api/3/system/actions") public class ActionsController extends Object
-
-
Constructor Summary
Constructors Constructor Description ActionsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SocialSecurityAction>
getCurrentActions()
SocialSecurityAction
update(String actionName, String roles)
-
-
-
Method Detail
-
getCurrentActions
@RequestMapping(method=GET) @ResponseBody public Iterable<SocialSecurityAction> getCurrentActions()
-
update
@RequestMapping(method={PUT,POST}) @ResponseBody public SocialSecurityAction update(@RequestParam("actionName") String actionName, @RequestParam String roles) throws SocialException
- Throws:
SocialException
-
-