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

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