Package | Description |
---|---|
com.playsql.utils.activeobjects.cache |
All sorts of caches: the AOPreloader, the AbstractAOCache, and most famously, the DAOCache.
|
Modifier and Type | Class and Description |
---|---|
class |
RecordTemplateImpl<K,T extends net.java.ao.RawEntity<K>>
Template which is able to pour its values into a real ActiveObjects record, or compare it
|
class |
SuperfastRecordTemplate<K,T extends net.java.ao.RawEntity<K>>
If you want DAOCache to use an index, this class implements the RecordTemplate interface
for a specific DB object.
|
Modifier and Type | Method and Description |
---|---|
RecordTemplate<T> |
DAOCache.newTemplate()
Create a template of the AO record,
so we can use it to lookup values / create a record
NOT thread-safe, and only one template can be used at a time in a thread.
|
Modifier and Type | Method and Description |
---|---|
private StringBuilderForAOWhereClause |
DAOCache.buildWhereClauseForExpectedRecord(RecordTemplate<T> expectedRecord) |
T |
DAOCache.create(RecordTemplate<T> recordTemplate) |
T |
DAOCache.createOrUpdate(RecordTemplate<T> recordTemplate) |
List<T> |
DAOCache.searchAll(RecordTemplate<T> expectedRecord)
Finds the first, if any, record in the list and/or in the database.
|
T |
DAOCache.searchFirst(RecordTemplate<T> expectedRecord)
Finds the first, if any, record in the list and/or in the database.
|
Copyright © 2022 Requirement Yogi. All rights reserved.