info.magnolia.cms.util
Class LazyNodeDataWrapper
java.lang.Object
info.magnolia.cms.util.NodeDataWrapper
info.magnolia.cms.util.LazyNodeDataWrapper
- All Implemented Interfaces:
- NodeData, Serializable, Cloneable
- Direct Known Subclasses:
- SystemNodeDataWrapper
public class LazyNodeDataWrapper
- extends NodeDataWrapper
- implements 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 |
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(String uuid)
getPath
protected String getPath()
setRepository
protected void setRepository(String repository)
getRepository
protected 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-2013 Magnolia International Ltd.. All Rights Reserved.