gran.cache
Class MprstatusCacheManager
java.lang.Object
gran.cache.MprstatusCacheManager
- All Implemented Interfaces:
- NotificationReceiver
- public class MprstatusCacheManager
- extends java.lang.Object
- implements NotificationReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MprstatusCacheManager getInstance()
throws GranException
- Throws:
GranException
getItem
public MprstatusCacheItem getItem(java.lang.String prstatusid,
java.lang.String mstatusid,
boolean fromCache)
throws GranException
- Throws:
GranException
loadItem
public MprstatusCacheItem loadItem(java.lang.String prstatusid,
java.lang.String mstatusid)
throws GranException
- Creates a BookVObj based on the id of the BOOK table. Data
access could be direct JDBC, some or mapping tool, or an EJB.
- Throws:
GranException
storeItem
public void storeItem(MprstatusCacheItem vObj)
throws GranException
- Throws:
GranException
find
public MprstatusCacheItem find(java.lang.String prstatusid,
java.lang.String mstatusid)
throws GranException
- Throws:
GranException
getCacheInfo
public java.lang.String getCacheInfo()
invalidate
public void invalidate()
throws GranException
- Invalidate all elements of cache.
- Throws:
GranException
receive
public void receive(CacheNotification nf)
throws GranException
- Specified by:
receive
in interface NotificationReceiver
- Throws:
GranException
Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.