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.
    • Constructor Detail

      • AbstractGroupAction

        public AbstractGroupAction()
    • Method Detail

      • onMemberAdded

        public void onMemberAdded​(@NotNull
                                  @NotNull Group group,
                                  @NotNull
                                  @NotNull Authorizable member,
                                  @NotNull
                                  @NotNull Root root,
                                  @NotNull
                                  @NotNull NamePathMapper namePathMapper)
                           throws javax.jcr.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:
        javax.jcr.RepositoryException - If an error occurs.
      • onMembersAdded

        public void onMembersAdded​(@NotNull
                                   @NotNull Group group,
                                   @NotNull
                                   @NotNull java.lang.Iterable<java.lang.String> memberIds,
                                   @NotNull
                                   @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                   @NotNull
                                   @NotNull Root root,
                                   @NotNull
                                   @NotNull NamePathMapper namePathMapper)
                            throws javax.jcr.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:
        javax.jcr.RepositoryException - If an error occurs.
      • onMembersAddedContentId

        public void onMembersAddedContentId​(@NotNull
                                            @NotNull Group group,
                                            @NotNull
                                            @NotNull java.lang.Iterable<java.lang.String> memberContentIds,
                                            @NotNull
                                            @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                            @NotNull
                                            @NotNull Root root,
                                            @NotNull
                                            @NotNull NamePathMapper namePathMapper)
                                     throws javax.jcr.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:
        javax.jcr.RepositoryException - If an error occurs.
      • onMemberRemoved

        public void onMemberRemoved​(@NotNull
                                    @NotNull Group group,
                                    @NotNull
                                    @NotNull Authorizable member,
                                    @NotNull
                                    @NotNull Root root,
                                    @NotNull
                                    @NotNull NamePathMapper namePathMapper)
                             throws javax.jcr.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:
        javax.jcr.RepositoryException - If an error occurs.
      • onMembersRemoved

        public void onMembersRemoved​(@NotNull
                                     @NotNull Group group,
                                     @NotNull
                                     @NotNull java.lang.Iterable<java.lang.String> memberIds,
                                     @NotNull
                                     @NotNull java.lang.Iterable<java.lang.String> failedIds,
                                     @NotNull
                                     @NotNull Root root,
                                     @NotNull
                                     @NotNull NamePathMapper namePathMapper)
                              throws javax.jcr.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:
        javax.jcr.RepositoryException - If an error occurs.