Package | Description |
---|---|
org.javalite.activejdbc |
ActiveJDBC - the agile Java ORM.
|
Modifier and Type | Class and Description |
---|---|
class |
SuperLazyList<T extends Model>
The purpose of this class is to provide
toMaps() method in cases of eager loading of dependencies. |
Modifier and Type | Method and Description |
---|---|
<T extends Model> |
ScopeBuilder.all()
Use in case the scopes define all criteria you need.
|
static <T extends Model> |
Model.find(String subquery,
Object... params)
Synonym of
Model.where(String, Object...) |
static <T extends Model> |
Model.findAll()
This method returns all records from this table.
|
static <T extends Model> |
ModelDelegate.findAll(Class<T> clazz) |
static <T extends Model> |
ModelDelegate.findBySql(Class<T> clazz,
String fullQuery,
Object... params) |
static <T extends Model> |
Model.findBySQL(String fullQuery,
Object... params)
Free form query finder.
|
<C extends Model> |
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> |
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> |
SuperLazyList.include(Class<? extends Model>... classes) |
<E extends Model> |
LazyList.include(Class<? extends Model>... classes)
This method includes associated objects.
|
<E extends Model> |
SuperLazyList.limit(long limit) |
<E extends Model> |
LazyList.limit(long limit)
This method limits the number of results in the resultset.
|
<E extends Model> |
SuperLazyList.load() |
<E extends Model> |
LazyList.load()
This method exists to force immediate load from DB.
|
<E extends Model> |
SuperLazyList.offset(long offset) |
<E extends Model> |
LazyList.offset(long offset)
This method sets an offset of a resultset.
|
<E extends Model> |
SuperLazyList.orderBy(String orderBy) |
<E extends Model> |
LazyList.orderBy(String orderBy)
Use this method to order results by a column.
|
static <T extends Model> |
ModelDelegate.where(Class<T> clazz,
String subquery,
Object... params) |
static <T extends Model> |
Model.where(String subquery,
Object... params)
Finder method for DB queries based on table represented by this model.
|
<T extends Model> |
ScopeBuilder.where(String subquery,
Object... params)
Applies additional criteria to scopes defined in the model.
|
Copyright © 2019 JavaLite. All rights reserved.