Class BundlingHandler
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingHandler
-
public class BundlingHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BundlingHandler(BundledTypesRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundlingHandlerchildAdded(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState state)BundlingHandlerchildChanged(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after)BundlingHandlerchildDeleted(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState state)java.util.Set<org.apache.jackrabbit.oak.api.PropertyState>getMetaProps()PathgetNodeFullPath()Returns absolute path of the current nodeorg.apache.jackrabbit.oak.spi.state.NodeStategetNodeState()java.lang.StringgetPropertyPath(java.lang.String propertyName)Returns property path.java.util.Set<java.lang.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()java.lang.StringtoString()
-
-
-
Constructor Detail
-
BundlingHandler
public BundlingHandler(BundledTypesRegistry registry)
-
-
Method Detail
-
getPropertyPath
public java.lang.String getPropertyPath(java.lang.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 org.apache.jackrabbit.oak.spi.state.NodeState getNodeState()
-
getMetaProps
public java.util.Set<org.apache.jackrabbit.oak.api.PropertyState> getMetaProps()
-
getRemovedProps
public java.util.Set<java.lang.String> getRemovedProps()
Returns name of properties which needs to be removed or marked as deleted
-
getRootBundlePath
public Path getRootBundlePath()
-
childAdded
public BundlingHandler childAdded(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState state)
-
childDeleted
public BundlingHandler childDeleted(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState state)
-
childChanged
public BundlingHandler childChanged(java.lang.String name, org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after)
-
isBundlingRoot
public boolean isBundlingRoot()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-