Class UsersImpl

java.lang.Object
io.camunda.identity.sdk.impl.UsersImpl
All Implemented Interfaces:
Users

public class UsersImpl extends Object implements Users
  • Field Details

  • Constructor Details

  • Method Details

    • withAccessToken

      public Users withAccessToken(String accessToken)
      Description copied from interface: Users
      All calls performed with the returned Users instance will be made using given access token
      Specified by:
      withAccessToken in interface Users
      Parameters:
      accessToken - access token
      Returns:
      Users instance
    • search

      public List<User> search(String search)
      Description copied from interface: Users
      Returns the list of users which match the search string passed in.
      Specified by:
      search in interface Users
      Parameters:
      search - the search string
      Returns:
      the list of users
    • search

      public List<User> search(String search, Integer page)
      Description copied from interface: Users
      Returns the list of users which match the search string passed in, found on the page requested.
      Specified by:
      search in interface Users
      Parameters:
      search - the search string
      page - the page of results
      Returns:
      the list of users
    • search

      public List<User> search(String search, Integer page, Integer resultSize)
      Description copied from interface: Users
      Returns the list of users which match the search string passed in, found on the page requested with the maximum number of results defined by result size.
      Specified by:
      search in interface Users
      Parameters:
      search - the search string
      page - the page of results
      resultSize - the amount of results per page
      Returns:
      the list of users
    • get

      public List<User> get(List<String> userIds)
      Description copied from interface: Users
      Returns the list of users which match the userIds passed in.
      Specified by:
      get in interface Users
      Parameters:
      userIds - the userIds
      Returns:
      the list of users
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: Users
      Returns a true/false indicating if the search is available or not.
      Specified by:
      isAvailable in interface Users
      Returns:
      the availability of search