Package org.bgerp.cache
Class UserNewsCache
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidflush(Connection con) static voidflushCache(Connection con, Set<Integer> userIds) static NewsInfoEventgetUserEvent(ConnectionSet conSet, int userId) booleanisValid()The cache is always valid.protected UserNewsCacheCreates a new cache instance 
- 
Constructor Details
- 
UserNewsCache
public UserNewsCache() 
 - 
 - 
Method Details
- 
getUserEvent
- Throws:
 Exception
 - 
flushCache
 - 
flush
 - 
newInstance
Description copied from class:CacheCreates a new cache instance- Specified by:
 newInstancein classCache<UserNewsCache>- Returns:
 - the instance
 
 - 
isValid
public boolean isValid()The cache is always valid.- Overrides:
 isValidin classCache<UserNewsCache>- Returns:
 - the validity state
 
 
 -