Class GroupWrapper

  • Direct Known Subclasses:
    GroupFacade

    public class GroupWrapper
    extends AuthorizableWrapper
    Group wrapper, Authorizable interface is not a ConsumerType and so should not be implemented. See OAK-10252
    • Constructor Detail

      • GroupWrapper

        public GroupWrapper​(org.apache.jackrabbit.api.security.user.Group group)
    • Method Detail

      • getDeclaredMembers

        public Iterator<AuthorizableWrapper> getDeclaredMembers()
                                                         throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getMembers

        public Iterator<AuthorizableWrapper> getMembers()
                                                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • isDeclaredMember

        public boolean isDeclaredMember​(org.apache.jackrabbit.api.security.user.Authorizable authorizable)
                                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • isMember

        public boolean isMember​(org.apache.jackrabbit.api.security.user.Authorizable authorizable)
                         throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • addMember

        public boolean addMember​(org.apache.jackrabbit.api.security.user.Authorizable authorizable)
                          throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • addMembers

        public Set<String> addMembers​(@NotNull
                                      @NotNull String... memberIds)
                               throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • removeMember

        public boolean removeMember​(org.apache.jackrabbit.api.security.user.Authorizable authorizable)
                             throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • removeMembers

        public Set<String> removeMembers​(@NotNull
                                         @NotNull String... memberIds)
                                  throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException