Class BundlingHandler
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingHandler
-
public class BundlingHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description BundlingHandler(BundledTypesRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundlingHandlerchildAdded(String name, NodeState state)BundlingHandlerchildChanged(String name, NodeState before, NodeState after)BundlingHandlerchildDeleted(String name, NodeState state)Set<PropertyState>getMetaProps()PathgetNodeFullPath()Returns absolute path of the current nodeNodeStategetNodeState()StringgetPropertyPath(String propertyName)Returns property path.Set<String>getRemovedProps()Returns name of properties which needs to be removed or marked as deletedPathgetRootBundlePath()booleanisBundledNode()Returns true if and only if current node is bundled in another nodebooleanisBundlingRoot()StringtoString()
-
-
-
Constructor Detail
-
BundlingHandler
public BundlingHandler(BundledTypesRegistry registry)
-
-
Method Detail
-
getPropertyPath
public String getPropertyPath(String propertyName)
Returns property path. For non bundling case this is the actual property name while for bundling case this is the relative path from bundling root
-
isBundledNode
public boolean isBundledNode()
Returns true if and only if current node is bundled in another node
-
getNodeFullPath
public Path getNodeFullPath()
Returns absolute path of the current node
-
getNodeState
public NodeState getNodeState()
-
getMetaProps
public Set<PropertyState> getMetaProps()
-
getRemovedProps
public Set<String> getRemovedProps()
Returns name of properties which needs to be removed or marked as deleted
-
getRootBundlePath
public Path getRootBundlePath()
-
childAdded
public BundlingHandler childAdded(String name, NodeState state)
-
childDeleted
public BundlingHandler childDeleted(String name, NodeState state)
-
childChanged
public BundlingHandler childChanged(String name, NodeState before, NodeState after)
-
isBundlingRoot
public boolean isBundlingRoot()
-
-