public class CachingBOLoaderExtended extends CachingBOLoader implements java.io.Closeable
BOQueryLoaderI.InternalHelper| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.Class> |
DEFAULT_IGNORE_CLASSES_FOR_UPDATING
A list of internal classes that should be unmodifiable anyway and can be safely ignored when listening for changes
|
bpQueryrootPaneToLockOnConnectionInterrupt| Constructor and Description |
|---|
CachingBOLoaderExtended(BOLoaderI realBOLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the 'cache', dropping all cached values, stopping any update and gc collection threads.
|
<U extends BO> |
getBOsByQuery(java.lang.Long[] ids,
java.lang.Class<U> clazz) |
BO[] |
getRelationBOs(java.lang.Long id,
java.lang.Class classtip,
java.lang.String attName)
Makes unlazies from LazyRelationMap automatically loaded if possible
|
<U extends BO> |
queryBO(java.lang.Class<U> clazz,
java.lang.String whereClause,
java.lang.Object[] params)
Convenience query method with an explicit class tip of the super class that will be returned.
|
java.util.List<? extends BO> |
queryBO(EntityI entity,
java.lang.String whereClause,
java.lang.Object[] params) |
void |
setUnlazyUpdateStrategy(UnlazyUpdateStrategy strategy)
Updates the updatestrategy for unlazies and the generic updatestrategy of the CachingBOLoader
|
void |
setUpdateStrategy(CachingBOLoaderUpdateStrategyI strategy) |
addBOCacheListener, assureInstrumentedSchema, coerceBOLoader, drain, find, frapBO, frapEntries, frapFromCache, gc, gc, getBO, getBO, getBOs, getBOs, getBOT, getDrainCount, getInstrumentedInstance, getKnown, getKnown, getMiniDesc, getSchema, isCaching, isKnown, processDBManEvent, removeBOCacheListener, replayProc, rescheduleGC, setGCStrategy, setRealBOLoader, stopAutoGC, subscribeForUpdatesViaEvents, transactionSaveSuccess, unsubscribeForUpdatesViaEvents, updateCache, updateCache, updateStrategiescoerceBOLoader, coerceBOLoader, coerceBOLoader, coerceBOLoader, execute, exists, exists, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBInfo, getBLOBInfo, getBOs, getBOs, getBOUncached, getBOUncached, getCryptoHandler, getEventProvider, getFeatureManager, getFileVault, getNextId, getParentLoader, getRootLoader, getRootPaneToLockOnConnectionInterrupt, hasBLOB, hasBLOB, haveBLOB, isLoggedIn, isLoggedInNN, isRecording, prepareQuery, prepareQuery, query, query, query, queryBO, queryBO, queryBO, queryRelation, setRootPaneToLockOnConnectionInterrupt, testAuth, testAuthequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisKnownexecute, exists, exists, frapBOArrayFromCache, frapBOIArrayFromCache, frapBOsFromCache, frapFromCache, getBOs, getBOs, getBOUncached, getBOUncached, getCryptoHandler, getEventProvider, getFeatureManager, getFileVault, getNextId, getParentLoader, getRootLoader, isAncestorOf, isLoggedIn, isLoggedInNN, isRecording, isRootLoader, isServerSide, isTesting, prepareQuery, prepareQuery, prepareQuery, query, query, query, queryBO, queryBO, queryBO, queryRelation, testAuth, testAuthgetBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBInfo, getBLOBInfo, hasBLOB, hasBLOB, haveBLOB, haveBLOB, haveBLOBgetBOByAttr, getBOByAttr, getBOByAttr, getBOByAttrs, getBOByAttrs, getBOByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getBOsByAttrs, getOneBOByAttr, getUniqueBOByAttrpublic static final java.util.Set<java.lang.Class> DEFAULT_IGNORE_CLASSES_FOR_UPDATING
public CachingBOLoaderExtended(BOLoaderI realBOLoader)
public void close()
CachingBOLoaderclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class CachingBOLoaderpublic void setUpdateStrategy(CachingBOLoaderUpdateStrategyI strategy)
setUpdateStrategy in class CachingBOLoaderpublic void setUnlazyUpdateStrategy(UnlazyUpdateStrategy strategy)
public BO[] getRelationBOs(java.lang.Long id, java.lang.Class classtip, java.lang.String attName)
getRelationBOs in interface BOLoaderIgetRelationBOs in class BOLoaderWrapperid - id of the BO which the requested BOs has a relation toclasstip - common superclass of the requested bosattName - name of the relation from the BO to the requested onespublic <U extends BO> java.util.List<U> queryBO(java.lang.Class<U> clazz, java.lang.String whereClause, java.lang.Object[] params)
public java.util.List<? extends BO> queryBO(EntityI entity, java.lang.String whereClause, java.lang.Object[] params)
public <U extends BO> java.util.List<U> getBOsByQuery(java.lang.Long[] ids, java.lang.Class<U> clazz)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.