Modifier and Type | Class and Description |
---|---|
class |
AsyncTask |
Modifier and Type | Method and Description |
---|---|
String |
AsyncTaskFilePersister.fullFilePathForObj(Model model) |
String |
AsyncTaskFilePersister.relativeFilePathForObj(Model model) |
Modifier and Type | Class and Description |
---|---|
class |
BasePersister<T extends Model> |
class |
DummyPersister<T extends Model>
A persister that does absolutely nothing.
|
class |
LocalMemoryStash<T extends Model>
The Stash sits between the ModelController and the Persister.
|
interface |
ModelController<T extends Model> |
class |
NoStash<T extends Model>
The Stash sits between the ModelController and the Persister.
|
class |
PartialStash<T extends Model>
PartialStash loads the most recently updated 50,000 items in memory, and also
keeps in memory every item directly loaded by id.
|
interface |
Persister<T extends Model>
A Persister actually handles interaction with the data store.
|
class |
ReadOnlyWrapper<T extends Model>
A wrapper around a ModelController that only gives access to read methods.
|
class |
StandardModelController<T extends Model>
The standard implementation of a ModelController.
|
class |
Stash<T extends Model>
The Stash sits between the ModelController and the Persister.
|
class |
StashBase<T extends Model> |
Modifier and Type | Interface and Description |
---|---|
interface |
Displayable |
Modifier and Type | Class and Description |
---|---|
class |
MappedModelBase |
class |
ModelBase
Base implementation of the Model interface.
|
class |
StandardDisplayableModel
A base class for model objects that can be rendered as web pages.
|
Modifier and Type | Method and Description |
---|---|
<Y extends Model> |
ModelBase.setId(Long id) |
<Y extends Model> |
Model.setId(Long id) |
<Y extends Model> |
ModelBase.setLastModifiedMillis(Long lastModifiedMillis) |
<Y extends Model> |
Model.setLastModifiedMillis(Long millis) |
Modifier and Type | Method and Description |
---|---|
Model |
ModelBase.setBucket(String bucket) |
Model |
Model.setBucket(String bucket) |
Modifier and Type | Method and Description |
---|---|
ModelController<? extends Model> |
DataAccessRegistry.get(String key) |
Class<? extends Model> |
DataAccessRegistration.getModelClass() |
Modifier and Type | Method and Description |
---|---|
void |
DummyPersister.hardDelete(Model obj) |
void |
DummyPersister.persist(Model obj) |
Modifier and Type | Method and Description |
---|---|
ModelController |
DataAccessRegistry.getControllerForModel(Class<? extends Model> model)
Deprecated.
|
ModelController |
DataAccessRegistry.registerDbModel(Class<? extends Model> model,
Class<? extends ModelController> controller) |
ModelController |
DataAccessRegistry.registerDbModel(Class<? extends Model> model,
Class<? extends ModelController> controller,
boolean syncToMemory) |
ModelController |
DataAccessRegistry.registerDbModel(Class<? extends Model> model,
Class<? extends ModelController> controller,
Class<? extends Stash> stash) |
ModelController |
DataAccessRegistry.registerDbModel(Class<? extends Model> model,
Class<? extends ModelController> controller,
Class<? extends Stash> stash,
String bucket)
Registers the given model and controller with a database persister, getting the bucket name
from the @Table annotation on the model.
|
DataAccessRegistration |
DataAccessRegistration.setModelClass(Class<? extends Model> modelClass)
The data model to be used with this registration
|
Modifier and Type | Class and Description |
---|---|
class |
DbPersister<T extends Model> |
Modifier and Type | Method and Description |
---|---|
<T extends Model> |
DB.cachedQuery(Class<T> model,
String sql,
Object... args)
Find a list of objects via arbitrary SQL, checking the cache first, and storing to the
cache if retrieved fromt he database.
|
<T extends Model> |
DB.cachedWhere(Class<T> model,
String where,
Object... args)
Select from the given model, using just an arbitrary WHERE ...
|
<T extends Model> |
DB.fetchAll(Class<? extends T> model,
String field,
Object value)
Fetch all objects where column field is of value
|
<T extends Model> |
DB.fetchAll(Class<T> model)
Fetch all objects of the given model.
|
<T extends Model> |
DB.fetchAllSorted(Class<? extends T> model,
String sortField,
String sortDirection)
Fetch all objects, sorted
|
<T extends Model> |
DB.query(Class<T> model,
String sql,
Object... args)
Find a list of objects of the given model via arbitrary SQL
|
<T extends Model> |
DB.queryForOne(Class<T> model,
String sql,
Object... args)
Find one object of the given model via arbitrary SQL
|
Modifier and Type | Method and Description |
---|---|
Model |
DB.insert(Model obj)
Insert the object into the database.
|
Model |
DB.save(Model obj)
Update the database with this object, or insert it if it does not exist.
|
Modifier and Type | Method and Description |
---|---|
Object |
DB.convertColumnArg(Model o,
Col col,
Object arg)
Trys to convert java type into what is needed by JDBC to store to the database.
|
void |
DB.delete(Model obj)
Delete the object from the database.
|
Object |
DbColumnConverter.fromDb(Model model,
Object val,
String fieldName) |
Model |
DB.insert(Model obj)
Insert the object into the database.
|
Model |
DB.save(Model obj)
Update the database with this object, or insert it if it does not exist.
|
Object |
DbColumnConverter.toDb(Model model,
Object val,
String fieldName) |
int |
DB.update(Model obj)
Update the object
|
int |
DB.update(Model obj,
Map<String,Object> values)
Update only the passed in key values
|
Modifier and Type | Class and Description |
---|---|
class |
ModelListHandler<T extends Model> |
interface |
ResultToModel<T extends Model> |
Modifier and Type | Method and Description |
---|---|
Model |
ModelResultHandler.handle(ResultSet resultSet) |
Modifier and Type | Class and Description |
---|---|
class |
FilePersisterBase<T extends Model>
A base persister that handles retrieving and saving model objects to the file sytem.
|
class |
ItemFileChangeEventHandler<T extends Model> |
class |
JsonFilePersister<T extends Model> |
class |
TomlPersister<T extends Model> |
Modifier and Type | Class and Description |
---|---|
class |
JsonItem |
class |
TextItem |
class |
TomlItem |
Modifier and Type | Class and Description |
---|---|
class |
FilterChain<T extends Model>
A FilterChain is the default way by which data from a ModelController is actually queried
and accessed.
|
class |
MySqlFilterChain<T extends Model>
A filter chain that generates a MySQL query, rather than operating on
an in memory datastructure
|
Modifier and Type | Class and Description |
---|---|
class |
EmailLog |
Modifier and Type | Class and Description |
---|---|
class |
SimpleFormSubmission |
Modifier and Type | Class and Description |
---|---|
class |
JobStatus |
Modifier and Type | Class and Description |
---|---|
class |
JsPojoController<T extends Model> |
Modifier and Type | Class and Description |
---|---|
class |
BaseJavascriptModel |
Modifier and Type | Method and Description |
---|---|
void |
JsDataSyncer.syncObjects(List<Model> models) |
Modifier and Type | Class and Description |
---|---|
class |
MetaInformation |
Modifier and Type | Class and Description |
---|---|
class |
SafeViewer<T extends Model> |
Modifier and Type | Class and Description |
---|---|
class |
QueryToPager<T extends Model> |
Modifier and Type | Class and Description |
---|---|
class |
AuditTrail |
class |
TempToken |
class |
TransactionLog |
Modifier and Type | Method and Description |
---|---|
void |
AuditTrailController.logUpdate(Model obj) |
Modifier and Type | Interface and Description |
---|---|
interface |
IUser |
Modifier and Type | Class and Description |
---|---|
class |
EmptyUser |
class |
OAuthApproval |
class |
OAuthClient |
class |
User |
Copyright © 2016. All rights reserved.