Interface UserLookupHandler

  • All Implemented Interfaces:

    
    public interface UserLookupHandler
    
                        

    Users lookup functional interface. Used to create custom users lookup algorithm.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract List<User> handleUserLookup(String query) Performs users lookup by given query in suspend way.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • handleUserLookup

         abstract List<User> handleUserLookup(String query)

        Performs users lookup by given query in suspend way. It's executed on background, so it can perform heavy operations.

        Parameters:
        query - String as user input for lookup algorithm.
        Returns:

        List of users as result of lookup.