code: public Response find(@QueryParam("include_deleted") final boolean includeDeleted) throws Exception {
          matchedFind(includeDeleted);
          final Query<MODEL> query = server.find(modelType);
  
          if (includeDeleted) {
              query.setIncludeSoftDeletes();
          }
  
          defaultFindOrderBy(query);
  
          final Ref<FutureRowCount> rowCount = Refs.emptyRef();
  
          Object entity = executeTx(t -> {
              configDefaultQuery(query);
              configFindQuery(query, includeDeleted);
              rowCount.set(applyUriQuery(query));
              List<MODEL> list = query.findList();
              return processFoundModelList(list, includeDeleted);
          });
  
          if (isEmptyEntity(entity)) {
              return Response.noContent().build();
          }
          Response response = Response.ok(entity).build();
          applyRowCountHeader(response.getHeaders(), query, rowCount.get());
          return response;
      }
docs: Find the beans for this beanType.
  <p>
  This can use URL query parameters such as order and maxrows to configure
  the query.
  </p>
  
  @param includeDeleted a boolean.
  @return a {@link javax.ws.rs.core.Response} object.
  @throws java.lang.Exception if any.
  @see javax.ws.rs.GET
  @see AbstractModelResource#find