|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LazyList | |
|---|---|
| org.javalite.activejdbc | |
| Uses of LazyList in org.javalite.activejdbc |
|---|
| Subclasses of LazyList in org.javalite.activejdbc | |
|---|---|
class |
SuperLazyList<T extends Model>
The purpose of this class is to provide toMaps() method in cases of eager loading of dependencies. |
| Methods in org.javalite.activejdbc that return LazyList | ||
|---|---|---|
static
|
Model.find(String subquery,
Object... params)
Synonym of Model.where(String, Object...) |
|
static
|
Model.findAll()
This method returns all records from this table. |
|
static
|
ModelDelegate.findAll(Class<T> clazz)
|
|
static
|
ModelDelegate.findBySql(Class<T> clazz,
String fullQuery,
Object... params)
|
|
static
|
Model.findBySQL(String fullQuery,
Object... params)
Free form query finder. |
|
|
Model.get(Class<C> clazz,
String query,
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. |
|
|
Model.getAll(Class<C> clazz)
This methods supports one to many, many to many relationships as well as polymorphic associations. |
|
LazyList<T> |
Paginator.getPage(int pageNumber)
This method will return a list of records for a specific page. |
|
|
SuperLazyList.include(Class<? extends Model>... classes)
|
|
|
LazyList.include(Class<? extends Model>... classes)
This method includes associated objects. |
|
|
SuperLazyList.limit(long limit)
|
|
|
LazyList.limit(long limit)
This method limits the number of results in the resultset. |
|
|
SuperLazyList.load()
|
|
|
LazyList.load()
This method exists to force immediate load from DB. |
|
|
SuperLazyList.offset(long offset)
|
|
|
LazyList.offset(long offset)
This method sets an offset of a resultset. |
|
|
SuperLazyList.orderBy(String orderBy)
|
|
|
LazyList.orderBy(String orderBy)
Use this method to order results by a column. |
|
static
|
ModelDelegate.where(Class<T> clazz,
String subquery,
Object... params)
|
|
static
|
Model.where(String subquery,
Object... params)
Finder method for DB queries based on table represented by this model. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||