Class Groups.NotImplemented

  • All Implemented Interfaces:
    Groups
    Enclosing interface:
    Groups

    public static class Groups.NotImplemented
    extends Object
    implements Groups
    A default implementation which allows source compatibility when adding new methods to the interface.
    • Constructor Detail

      • NotImplemented

        public NotImplemented()
    • Method Detail

      • id

        public GroupApi id​(String id)
                    throws RestApiException
        Description copied from interface: Groups
        Look up a group by ID.

        Note: This method eagerly reads the group. Methods that mutate the group do not necessarily re-read the group. Therefore, calling a getter method on an instance after calling a mutation method on that same instance is not guaranteed to reflect the mutation. It is not recommended to store references to groupApi instances.

        Specified by:
        id in interface Groups
        Parameters:
        id - any identifier supported by the REST API, including group name or UUID.
        Returns:
        API for accessing the group.
        Throws:
        RestApiException - if an error occurred.
      • query

        public Groups.QueryRequest query()
        Description copied from interface: Groups
        Query groups.

        Example code: query().withQuery("inname:test").withLimit(10).get()

        Specified by:
        query in interface Groups
        Returns:
        API for setting parameters and getting result.