gran.cache
Class UserCacheManager
java.lang.Object
gran.cache.UserCacheManager
- All Implemented Interfaces:
- NotificationReceiver
- public class UserCacheManager
- extends java.lang.Object
- implements NotificationReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invalidateUserUDF
public static final java.lang.String invalidateUserUDF
- See Also:
- Constant Field Values
invalidateUser
public static final java.lang.String invalidateUser
- See Also:
- Constant Field Values
invalidateUserAndParents
public static final java.lang.String invalidateUserAndParents
- See Also:
- Constant Field Values
invalidateUserUDFValue
public static final java.lang.String invalidateUserUDFValue
- See Also:
- Constant Field Values
invalidateUserWhenRemoveScript
public static final java.lang.String invalidateUserWhenRemoveScript
- See Also:
- Constant Field Values
invalidateUserUDFWhenChange
public static final java.lang.String invalidateUserUDFWhenChange
- See Also:
- Constant Field Values
getInstance
public static UserCacheManager getInstance()
throws GranException
- Throws:
GranException
getItem
public UserCacheItem getItem(java.lang.String id,
boolean fromCache)
throws GranException
- Throws:
GranException
loadItem
public UserCacheItem loadItem(java.lang.String id)
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(UserCacheItem vObj)
throws GranException
- Throws:
GranException
find
public UserCacheItem find(java.lang.String id)
throws GranException
- Throws:
GranException
invalidate
public void invalidate()
throws GranException
- Throws:
GranException
invalidateUser
public void invalidateUser(java.lang.String userId)
throws GranException
- Throws:
GranException
invalidateUserAndParents
public void invalidateUserAndParents(java.lang.String userId)
throws GranException
- Throws:
GranException
invalidateUDF
public void invalidateUDF()
throws GranException
- Throws:
GranException
invalidateUDFValues
public void invalidateUDFValues()
throws GranException
- Throws:
GranException
invalidateUDF
public void invalidateUDF(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateUDFValue
public void invalidateUDFValue(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateWhenRemoveScript
public void invalidateWhenRemoveScript()
throws GranException
- Throws:
GranException
invalidateUDFWhenChange
public void invalidateUDFWhenChange(java.lang.String user)
throws GranException
- 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.