Interface Database.Querrier.DataListener<S extends Database.Querrier<S>,W extends Database.Querrier.QueryResult<?>>

Type Parameters:
S - The type of the querrier
W - The type of return data
Enclosing interface:
Database.Querrier<T extends Database.Querrier<T>>

public static interface Database.Querrier.DataListener<S extends Database.Querrier<S>,W extends Database.Querrier.QueryResult<?>>
Listener that is called when a query finishes loading data and returns data
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCompletion(S query, W data, boolean success)
    Called when the query has completed getting the data
  • Method Details

    • onCompletion

      void onCompletion(@Observes S query, @Particulates W data, boolean success)
      Called when the query has completed getting the data
      Parameters:
      query - The query
      data - The list of instances found by the query