public class ERXFetchResultCache extends Object
| Constructor and Description |
|---|
ERXFetchResultCache() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
cacheTime(NSArray eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
Returns the time the result should stay in the cache.
|
protected NSArray<String> |
excludedEntities()
Returns a list of entities that should not be cached.
|
NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> |
objectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eocontrol.EOFetchSpecification fs)
Returns an array of EOs that where cached for the given fetch specification or null.
|
void |
setObjectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
Registers eos for a given fetch spec.
|
public NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> objectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc, com.webobjects.eocontrol.EOEditingContext ec, com.webobjects.eocontrol.EOFetchSpecification fs)
ec - fs - protected NSArray<String> excludedEntities()
protected long cacheTime(NSArray eos, com.webobjects.eocontrol.EOFetchSpecification fs)
fs - public void setObjectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
ec - dbc - eos - fs - Copyright © 2002 – 2020 Project Wonder.