public interface SecurityActionsService
| Modifier and Type | Method and Description |
|---|---|
Iterable<SocialSecurityAction> |
get(String context)
Gets All SecurityAction for the given context.
|
void |
save(SocialSecurityAction action)
Saves a new Action
|
SocialSecurityAction |
update(String context,
String actionName,
List<String> roles)
Updates the Roles for the given Action of the Context.
|
Iterable<SocialSecurityAction> get(String context)
context - the context.SocialSecurityAction update(String context, String actionName, List<String> roles) throws SocialException
context - context of the action.actionName - Action name to removeWatcher.roles - New roles to assigned the action.SocialExceptionvoid save(SocialSecurityAction action) throws SocialException
action - Action to be save.SocialExceptionCopyright © 2014 CrafterCMS. All Rights Reserved.