| |
|
| java.lang.Object com.flexive.shared.content.FxCachedContentContainer
FxCachedContentContainer | public class FxCachedContentContainer implements Serializable(Code) | | Content Container for the Cache to keep all versions for an id
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
FxCachedContentContainer | public FxCachedContentContainer(FxCachedContent content)(Code) | | Ctor
Parameters: content - the content to cache (and its security info) |
add | public synchronized void add(FxCachedContent content)(Code) | | Add a content to the cache if - and only if - the id matches and its not contained already
Parameters: content - the content to add |
get | public synchronized FxCachedContent get(FxPK pk)(Code) | | Try to get a content by its primary key, will return null if not found
Parameters: pk - primary key content |
getId | public long getId()(Code) | | Getter for the id
id |
getLiveVersion | public int getLiveVersion()(Code) | | Getter for the live version number
live version number |
getMaxVersion | public int getMaxVersion()(Code) | | Getter for the max. version number
max. version number |
|
|
|