Interface SecurityActionsService

  • All Known Implementing Classes:
    SecurityActionsServiceImpl

    public interface SecurityActionsService
    SecurityActions Service Definition
    • Method Detail

      • get

        Iterable<SocialSecurityAction> get​(String context)
        Gets All SecurityAction for the given context.
        Parameters:
        context - the context.
        Returns:
        All SecurityActions for the given context, empty Iterator if nothing is found
      • update

        SocialSecurityAction update​(String context,
                                    String actionName,
                                    List<String> roles)
                             throws SocialException
        Updates the Roles for the given Action of the Context.
        Parameters:
        context - context of the action.
        actionName - Action name to removeWatcher.
        roles - New roles to assign the action.
        Returns:
        the updated SecurityAction, null if unable to find action for the given context.
        Throws:
        SocialException