gran.cache
Class MprstatusCacheManager

java.lang.Object
  extended bygran.cache.MprstatusCacheManager
All Implemented Interfaces:
NotificationReceiver

public class MprstatusCacheManager
extends java.lang.Object
implements NotificationReceiver


Method Summary
 MprstatusCacheItem find(java.lang.String prstatusid, java.lang.String mstatusid)
           
 java.lang.String getCacheInfo()
           
static MprstatusCacheManager getInstance()
           
 MprstatusCacheItem getItem(java.lang.String prstatusid, java.lang.String mstatusid, boolean fromCache)
           
 void invalidate()
          Invalidate all elements of cache.
 MprstatusCacheItem loadItem(java.lang.String prstatusid, java.lang.String mstatusid)
          Creates a BookVObj based on the id of the BOOK table.
 void receive(CacheNotification nf)
           
 void storeItem(MprstatusCacheItem vObj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.