Package org.compiere.model
Class MLookupCache
java.lang.Object
org.compiere.model.MLookupCache
Deprecated, for removal: This API element is subject to removal in a future version.
for deprecated swing client only
MLookup Data Cache.
- not synchronized on purpose -
Called from MLookup.
- Version:
- $Id: MLookupCache.java,v 1.2 2006/07/30 00:58:37 jjanke Exp $
- Author:
- Jorg Janke
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheReset(int WindowNo) Deprecated, for removal: This API element is subject to removal in a future version.Clear Static Lookup Cache for Windowprotected static voidloadEnd(MLookupInfo info, HashMap<Object, Object> lookup) Deprecated, for removal: This API element is subject to removal in a future version.MLookup Loader ends loading, so add it to cacheprotected static booleanloadFromCache(MLookupInfo info, HashMap<Object, Object> lookupTarget) Deprecated, for removal: This API element is subject to removal in a future version.Load from Cache if applicable Called from MLookup constructorprotected static voidloadStart(MLookupInfo info) Deprecated, for removal: This API element is subject to removal in a future version.MLookup Loader starts loading - ignore for now
-
Method Details
-
loadStart
Deprecated, for removal: This API element is subject to removal in a future version.MLookup Loader starts loading - ignore for now- Parameters:
info- MLookupInfo
-
loadEnd
Deprecated, for removal: This API element is subject to removal in a future version.MLookup Loader ends loading, so add it to cache- Parameters:
info-lookup-
-
loadFromCache
Deprecated, for removal: This API element is subject to removal in a future version.Load from Cache if applicable Called from MLookup constructor- Parameters:
info- MLookupInfo to searchlookupTarget- Target HashMap- Returns:
- true, if lookup found
-
cacheReset
public static void cacheReset(int WindowNo) Deprecated, for removal: This API element is subject to removal in a future version.Clear Static Lookup Cache for Window- Parameters:
WindowNo- WindowNo of Cache entries to delete
-