com.flexive.shared.content
Class FxCachedContent

java.lang.Object
  extended by com.flexive.shared.content.FxCachedContent
All Implemented Interfaces:
java.io.Serializable

public class FxCachedContent
extends java.lang.Object
implements java.io.Serializable

A "cached" content, used to keep a content and its security information together for caching purposes

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
FxCachedContent(FxContent content, FxContentSecurityInfo securityInfo)
          Ctor
 
Method Summary
 FxContent getContent()
          Getter for the content
 FxContentSecurityInfo getSecurityInfo()
          Getter for the security info
 java.lang.String toString()
          
 void updateLock(FxLock lock)
          Update the lock of the cache instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FxCachedContent

public FxCachedContent(FxContent content,
                       FxContentSecurityInfo securityInfo)
Ctor

Parameters:
content - the content
securityInfo - the contents security info
Method Detail

getContent

public FxContent getContent()
Getter for the content

Returns:
content

getSecurityInfo

public FxContentSecurityInfo getSecurityInfo()
Getter for the security info

Returns:
security info

updateLock

public void updateLock(FxLock lock)
Update the lock of the cache instance

Parameters:
lock - the lock to set

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object