org.nuxeo.ecm.platform.preview.restlet
Class PreviewCacheEntry
java.lang.Object
org.nuxeo.ecm.platform.preview.restlet.PreviewCacheEntry
public class PreviewCacheEntry
- extends Object
Manage cache entry for computed previews.
This avoids the needs of rebuilding the preview on each access.
This is particularly important when the generated HTML references images
- Author:
- tiry
PreviewCacheEntry
public PreviewCacheEntry(Calendar modified,
HtmlPreviewAdapter adapter,
String xpath)
getTimeStamp
public long getTimeStamp()
getModified
public Calendar getModified()
setModified
public void setModified(Calendar modified)
getAdapter
public HtmlPreviewAdapter getAdapter()
setAdapter
public void setAdapter(HtmlPreviewAdapter adapter)
getXpath
public String getXpath()
setXpath
public void setXpath(String xpath)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.