<T extends Model> LazyList<T> |
ScopeBuilder.all() |
Use in case the scopes define all criteria you need.
|
static <T extends Model> LazyList<T> |
Model.find(String subquery,
Object... params) |
|
static <T extends Model> LazyList<T> |
Model.findAll() |
This method returns all records from this table.
|
static <T extends Model> LazyList<T> |
ModelDelegate.findAll(Class<T> clazz) |
|
static <T extends Model> LazyList<T> |
ModelDelegate.findBySql(Class<T> clazz,
String fullQuery,
Object... params) |
|
static <T extends Model> LazyList<T> |
Model.findBySQL(String fullQuery,
Object... params) |
Free form query finder.
|
<C extends Model> LazyList<C> |
Model.get(Class<C> targetModelClass,
String criteria,
Object... params) |
Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list
by criteria.
|
<C extends Model> LazyList<C> |
Model.getAll(Class<C> clazz) |
This methods supports one to many, many to many relationships as well as polymorphic associations.
|
LazyList<T> |
Paginator.getPage() |
|
LazyList<T> |
Paginator.getPage(int pageNumber) |
This method will return a list of records for a specific page.
|
<E extends Model> LazyList<E> |
LazyList.include(Class<? extends Model>... classes) |
This method includes associated objects.
|
<E extends Model> LazyList<E> |
SuperLazyList.include(Class<? extends Model>... classes) |
|
<E extends Model> LazyList<E> |
LazyList.limit(long limit) |
This method limits the number of results in the resultset.
|
<E extends Model> LazyList<E> |
SuperLazyList.limit(long limit) |
|
<E extends Model> LazyList<E> |
LazyList.load() |
This method exists to force immediate load from DB.
|
<E extends Model> LazyList<E> |
SuperLazyList.load() |
|
<E extends Model> LazyList<E> |
LazyList.offset(long offset) |
This method sets an offset of a resultset.
|
<E extends Model> LazyList<E> |
SuperLazyList.offset(long offset) |
|
<E extends Model> LazyList<E> |
LazyList.orderBy(String orderBy) |
Use this method to order results by a column.
|
<E extends Model> LazyList<E> |
SuperLazyList.orderBy(String orderBy) |
|
static <T extends Model> LazyList<T> |
Model.where(String subquery,
Object... params) |
Finder method for DB queries based on table represented by this model.
|
static <T extends Model> LazyList<T> |
ModelDelegate.where(Class<T> clazz,
String subquery,
Object... params) |
|
<T extends Model> LazyList<T> |
ScopeBuilder.where(String subquery,
Object... params) |
Applies additional criteria to scopes defined in the model.
|