info.magnolia.cms.util
Class LazyNodeDataWrapper
java.lang.Object
info.magnolia.cms.util.NodeDataWrapper
info.magnolia.cms.util.LazyNodeDataWrapper
- All Implemented Interfaces:
- NodeData, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- SystemNodeDataWrapper
public class LazyNodeDataWrapper
- extends NodeDataWrapper
- implements java.io.Serializable
Stores a path and will re-fetch the node data in getWrappedNodeData()
if the session is closed.
- Version:
- $Id$
- Author:
- ochytil
- See Also:
- Serialized Form
Methods inherited from class info.magnolia.cms.util.NodeDataWrapper |
delete, getAttribute, getAttributeNames, getBoolean, getContentLength, getDate, getDouble, getHandle, getJCRProperty, getLong, getName, getParent, getReferencedContent, getReferencedContent, getStream, getString, getString, getType, getValue, getValues, isExist, isGranted, isMultiValue, refresh, save, setAttribute, setAttribute, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setWrappedNodeData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LazyNodeDataWrapper
public LazyNodeDataWrapper(NodeData nodeData)
getWrappedNodeData
public NodeData getWrappedNodeData()
- Overrides:
getWrappedNodeData
in class NodeDataWrapper
getHierarchyManager
public HierarchyManager getHierarchyManager()
- Specified by:
getHierarchyManager
in interface NodeData
- Overrides:
getHierarchyManager
in class NodeDataWrapper
setPath
protected void setPath(java.lang.String uuid)
getPath
protected java.lang.String getPath()
setRepository
protected void setRepository(java.lang.String repository)
getRepository
protected java.lang.String getRepository()
wrap
protected Content wrap(Content content)
- Description copied from class:
NodeDataWrapper
- Default implementation of content wrapping for cases where NodeData needs to return content.
- Overrides:
wrap
in class NodeDataWrapper
- Returns:
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.