Class AbstractGroupAction

  • All Implemented Interfaces:
    AuthorizableAction, GroupAction

    public abstract class AbstractGroupAction
    extends AbstractAuthorizableAction
    implements GroupAction
    Abstract implementation of the GroupAction interface that doesn't perform any action. This is a convenience implementation allowing subclasses to only implement methods that need extra attention.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onMemberAdded​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull org.apache.jackrabbit.api.security.user.Authorizable member, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onMemberRemoved​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull org.apache.jackrabbit.api.security.user.Authorizable member, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onMembersAdded​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onMembersAddedContentId​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull java.lang.Iterable<java.lang.String> memberContentIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onMembersRemoved​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractGroupAction

        public AbstractGroupAction()
    • Method Detail

      • onMemberAdded

        public void onMemberAdded​(@NotNull
                                  @NotNull org.apache.jackrabbit.api.security.user.Group group,
                                  @NotNull
                                  @NotNull org.apache.jackrabbit.api.security.user.Authorizable member,
                                  @NotNull
                                  @NotNull org.apache.jackrabbit.oak.api.Root root,
                                  @NotNull
                                  @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                           throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onMemberAdded in interface GroupAction
        Parameters:
        group - The Group to which the Authorizable was added.
        member - The Authorizable added.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onMembersAdded

        public void onMembersAdded​(@NotNull
                                   @NotNull org.apache.jackrabbit.api.security.user.Group group,
                                   @NotNull
                                   @NotNull java.lang.Iterable<java.lang.String> memberIds,
                                   @NotNull
                                   @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                   @NotNull
                                   @NotNull org.apache.jackrabbit.oak.api.Root root,
                                   @NotNull
                                   @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                            throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onMembersAdded in interface GroupAction
        Parameters:
        group - The Group to which the members were added.
        memberIds - An Iterable of the member IDs.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onMembersAddedContentId

        public void onMembersAddedContentId​(@NotNull
                                            @NotNull org.apache.jackrabbit.api.security.user.Group group,
                                            @NotNull
                                            @NotNull java.lang.Iterable<java.lang.String> memberContentIds,
                                            @NotNull
                                            @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                            @NotNull
                                            @NotNull org.apache.jackrabbit.oak.api.Root root,
                                            @NotNull
                                            @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                                     throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onMembersAddedContentId in interface GroupAction
        Parameters:
        group - The Group to which the members were added.
        memberContentIds - An Iterable of the member content IDs (UUIDs).
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onMemberRemoved

        public void onMemberRemoved​(@NotNull
                                    @NotNull org.apache.jackrabbit.api.security.user.Group group,
                                    @NotNull
                                    @NotNull org.apache.jackrabbit.api.security.user.Authorizable member,
                                    @NotNull
                                    @NotNull org.apache.jackrabbit.oak.api.Root root,
                                    @NotNull
                                    @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                             throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onMemberRemoved in interface GroupAction
        Parameters:
        group - The Group from which the Authorizable was removed.
        member - The Authorizable removed.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onMembersRemoved

        public void onMembersRemoved​(@NotNull
                                     @NotNull org.apache.jackrabbit.api.security.user.Group group,
                                     @NotNull
                                     @NotNull java.lang.Iterable<java.lang.String> memberIds,
                                     @NotNull
                                     @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                     @NotNull
                                     @NotNull org.apache.jackrabbit.oak.api.Root root,
                                     @NotNull
                                     @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                              throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onMembersRemoved in interface GroupAction
        Parameters:
        group - The Group from which the members were removed.
        memberIds - An Iterable of the member IDs.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.