Interface GroupService

  • All Known Implementing Classes:
    GroupServiceImpl

    public interface GroupService
    API service for finding user groups in confluence. Membership of a group can confer permissions and the ability to perform various operations to a user.
    Since:
    5.10
    • Method Detail

      • find

        GroupService.GroupFinder find​(Expansion... expansions)
        Create a GroupFinder for locating groups, the expansions will be applied to each group that matches the finder. No expansions are currently supported on groups. Groups will be retrieved by using the fetch methods on the returned GroupFinder.

        For example, to fetch a group called "developers"

             groupService.find()
             .withName("developers")
             .fetchOneOrNull();
             
         
        Parameters:
        expansions -
        Returns:
        a groupFinder for locating groups
      • validator

        GroupService.Validator validator()
        Get the validator view of the GroupService.
        Returns:
        a Validator that can be used to validate service requests.