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