info.magnolia.cms.util
Class SystemContentWrapper

java.lang.Object
  extended by info.magnolia.cms.core.ContentHandler
      extended by info.magnolia.cms.core.AbstractContent
          extended by info.magnolia.cms.util.ContentWrapper
              extended by info.magnolia.cms.util.LazyContentWrapper
                  extended by info.magnolia.cms.util.SystemContentWrapper
All Implemented Interfaces:
Content, Serializable, Cloneable

public class SystemContentWrapper
extends LazyContentWrapper

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

Version:
$Id$
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.cms.core.Content
Content.ContentFilter
 
Constructor Summary
SystemContentWrapper(Content node)
           
SystemContentWrapper(String repository, String uuid)
           
 
Method Summary
 HierarchyManager getHierarchyManager()
          Get hierarchy manager if previously set for this object.
 NodeData wrap(NodeData nodeData)
          Override if a wrapper wants to wrap returned node data objects.
 
Methods inherited from class info.magnolia.cms.util.LazyContentWrapper
getRepository, getUuid, getWrappedContent, setRepository, setUuid
 
Methods inherited from class info.magnolia.cms.util.ContentWrapper
addMixin, addVersion, addVersion, createContent, delete, deleteNodeData, getAllVersions, getAncestor, getAncestors, getBaseVersion, getChildByName, getChildren, getContent, getHandle, getIndex, getItemType, getJCRNode, getLevel, getLock, getMetaData, getMixinNodeTypes, getName, getNodeDataCollection, getNodeType, getNodeTypeName, getParent, getTemplate, getTitle, getUUID, getVersionedContent, getVersionedContent, getVersionHistory, getWorkspace, hasContent, hasMetaData, hasMixin, holdsLock, isGranted, isLocked, isModified, isNodeData, isNodeType, lock, lock, newNodeDataInstance, orderBefore, refresh, removeMixin, removeVersionHistory, restore, restore, restore, restoreByLabel, save, setWrappedContent, toString, unlock, updateMetaData, wrap, wrapContentNodes, wrapNodeDatas
 
Methods inherited from class info.magnolia.cms.core.AbstractContent
createContent, createContent, createNodeData, createNodeData, createNodeData, createNodeData, createNodeData, delete, getBinaryNodeDatas, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getNodeData, getNodeDataCollection, hasChildren, hasChildren, hasNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData
 
Methods inherited from class info.magnolia.cms.core.ContentHandler
clone, getAccessManager, setAccessManager
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.magnolia.cms.core.Content
getAccessManager
 

Constructor Detail

SystemContentWrapper

public SystemContentWrapper(String repository,
                            String uuid)

SystemContentWrapper

public SystemContentWrapper(Content node)
Method Detail

getHierarchyManager

public HierarchyManager getHierarchyManager()
Description copied from class: ContentHandler
Get hierarchy manager if previously set for this object.

Specified by:
getHierarchyManager in interface Content
Overrides:
getHierarchyManager in class LazyContentWrapper
Returns:
HierarchyManager

wrap

public NodeData wrap(NodeData nodeData)
Description copied from class: ContentWrapper
Override if a wrapper wants to wrap returned node data objects. The default implementation returns the original value.

Overrides:
wrap in class LazyContentWrapper


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.