info.magnolia.cms.util
Class SystemNodeDataWrapper

java.lang.Object
  extended by info.magnolia.cms.util.NodeDataWrapper
      extended by info.magnolia.cms.util.LazyNodeDataWrapper
          extended by info.magnolia.cms.util.SystemNodeDataWrapper
All Implemented Interfaces:
NodeData, java.io.Serializable, java.lang.Cloneable

public class SystemNodeDataWrapper
extends LazyNodeDataWrapper

A lazy node data wrapper reading from the node data using the LifeTimeJCRSessionUtil.

Version:
$Id$
Author:
ochytil
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface info.magnolia.cms.core.NodeData
MULTIVALUE_FALSE, MULTIVALUE_TRUE, MULTIVALUE_UNDEFINED
 
Constructor Summary
SystemNodeDataWrapper(NodeData nodeData)
           
 
Method Summary
 HierarchyManager getHierarchyManager()
           
protected  Content wrap(Content content)
          Default implementation of content wrapping for cases where NodeData needs to return content.
 
Methods inherited from class info.magnolia.cms.util.LazyNodeDataWrapper
getPath, getRepository, getWrappedNodeData, setPath, setRepository
 
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
 

Constructor Detail

SystemNodeDataWrapper

public SystemNodeDataWrapper(NodeData nodeData)
Method Detail

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 LazyNodeDataWrapper
Returns:

getHierarchyManager

public HierarchyManager getHierarchyManager()
Specified by:
getHierarchyManager in interface NodeData
Overrides:
getHierarchyManager in class LazyNodeDataWrapper


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.