vertx/src/main/java/eu/internetofus/common/vertx/ModelResources.java
/**
   * Retrieve a page of models.
   *
   * @param offset   index of the first model to return.
   * @param limit    number maximum of models to return.
   * @param searcher function to obtain the page.
   * @param context  of the request.
   */
Retrieve a page of models.
@param offset   index of the first model to return.
@param limit    number maximum of models to return.
@param searcher function to obtain the page.
@param context  of the request.
Retrieve a page of models . @param offset index of the first model to return . @param limit number maximum of models to return . @param searcher function to obtain the page . @param context of the request .
static public void retrieveModelsPage(final int offset, final int limit,
      @NotNull final BiConsumer<ModelsPageContext, Promise<JsonObject>> searcher,
      @NotNull final ServiceContext context) {
    retrieveModelsPageChain(offset, limit, searcher, context,
        found -> ServiceResponseHandlers.responseOk(context.resultHandler, found));
  }
static public void retrieveModelsPage ( final int offset , final int limit , @ NotNull final BiConsumer < ModelsPageContext , Promise < JsonObject > > searcher , @ NotNull final ServiceContext context ) { retrieveModelsPageChain ( offset , limit , searcher , context , found -> ServiceResponseHandlers . responseOk ( context . resultHandler , found ) ) ; }
Retrieve a page of models.
Retrieve a page of models .