public class DefaultInheritanceContentDecorator
extends info.magnolia.jcr.inheritance.InheritanceContentDecorator
Constructor and Description |
---|
DefaultInheritanceContentDecorator(javax.jcr.Node destination,
info.magnolia.rendering.template.InheritanceConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected javax.jcr.Node |
findFirstAnchor() |
protected boolean |
inheritsNodes(javax.jcr.Node node) |
protected boolean |
inheritsProperties(javax.jcr.Node node) |
protected boolean |
isAnchor(javax.jcr.Node node)
True if this node is an anchor.
|
protected boolean |
isSourceChildInherited(javax.jcr.Node node) |
protected javax.jcr.NodeIterator |
sortInheritedNodes(javax.jcr.NodeIterator destinationChildren,
List<javax.jcr.NodeIterator> sourceChildren) |
addSource, combinePropertyIterators, getDestination, isMultipleWrapEnabled, wrapNode
public DefaultInheritanceContentDecorator(javax.jcr.Node destination, info.magnolia.rendering.template.InheritanceConfiguration configuration) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected javax.jcr.Node findFirstAnchor() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected boolean isAnchor(javax.jcr.Node node) throws javax.jcr.RepositoryException
NodeTypes.Content.NAME
.node
- the node to evaluatejavax.jcr.RepositoryException
- if a problem occurs accessing the nodeprotected boolean inheritsNodes(javax.jcr.Node node) throws javax.jcr.RepositoryException
inheritsNodes
in class info.magnolia.jcr.inheritance.InheritanceContentDecorator
javax.jcr.RepositoryException
protected boolean inheritsProperties(javax.jcr.Node node) throws javax.jcr.RepositoryException
inheritsProperties
in class info.magnolia.jcr.inheritance.InheritanceContentDecorator
javax.jcr.RepositoryException
protected boolean isSourceChildInherited(javax.jcr.Node node) throws javax.jcr.RepositoryException
isSourceChildInherited
in class info.magnolia.jcr.inheritance.InheritanceContentDecorator
javax.jcr.RepositoryException
protected javax.jcr.NodeIterator sortInheritedNodes(javax.jcr.NodeIterator destinationChildren, List<javax.jcr.NodeIterator> sourceChildren) throws javax.jcr.RepositoryException
sortInheritedNodes
in class info.magnolia.jcr.inheritance.InheritanceContentDecorator
javax.jcr.RepositoryException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.