Interface DeleteGroup

  • All Known Implementing Classes:
    DeleteAuthorizableServlet

    public interface DeleteGroup
    The DeleteGroup service api.

    This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.

    Since:
    2.2.0
    • Method Detail

      • deleteGroup

        void deleteGroup​(javax.jcr.Session jcrSession,
                         String name,
                         List<org.apache.sling.servlets.post.Modification> changes)
                  throws javax.jcr.RepositoryException
        Deletes a group from the repository
        Parameters:
        jcrSession - the JCR session of the user creating the user
        name - The name of the group to delete (required)
        changes - The list of changes for this operation (optional)
        Throws:
        javax.jcr.RepositoryException - if group can't be deleted