Class AbstractGroupAction
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.user.action.AbstractAuthorizableAction
-
- org.apache.jackrabbit.oak.spi.security.user.action.AbstractGroupAction
-
- All Implemented Interfaces:
AuthorizableAction
,GroupAction
public abstract class AbstractGroupAction extends AbstractAuthorizableAction implements GroupAction
Abstract implementation of theGroupAction
interface that doesn't perform any action. This is a convenience implementation allowing subclasses to only implement methods that need extra attention.
-
-
Constructor Summary
Constructors Constructor Description AbstractGroupAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onMemberAdded(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
onMemberRemoved(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
onMembersAdded(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
onMembersAddedContentId(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberContentIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
onMembersRemoved(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.-
Methods inherited from class org.apache.jackrabbit.oak.spi.security.user.action.AbstractAuthorizableAction
init, onCreate, onCreate, onPasswordChange, onRemove
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.user.action.AuthorizableAction
init, onCreate, onCreate, onCreate, onPasswordChange, onRemove
-
-
-
-
Method Detail
-
onMemberAdded
public void onMemberAdded(@NotNull @NotNull Group group, @NotNull @NotNull Authorizable member, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException
Doesn't perform any action.- Specified by:
onMemberAdded
in interfaceGroupAction
- Parameters:
group
- TheGroup
to which theAuthorizable
was added.member
- TheAuthorizable
added.root
- The root associated with the user manager.- Throws:
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 RepositoryException
Doesn't perform any action.- Specified by:
onMembersAdded
in interfaceGroupAction
- Parameters:
group
- TheGroup
to which the members were added.memberIds
- AnIterable
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 interfaceGroupAction
- Parameters:
group
- TheGroup
to which the members were added.memberContentIds
- AnIterable
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 Group group, @NotNull @NotNull Authorizable member, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException
Doesn't perform any action.- Specified by:
onMemberRemoved
in interfaceGroupAction
- Parameters:
group
- TheGroup
from which theAuthorizable
was removed.member
- TheAuthorizable
removed.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 interfaceGroupAction
- Parameters:
group
- TheGroup
from which the members were removed.memberIds
- AnIterable
of the member IDs.root
- The root associated with the user manager.- Throws:
RepositoryException
- If an error occurs.
-
-