Class BundlingHandler


  • public class BundlingHandler
    extends java.lang.Object
    • 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:
        toString in class java.lang.Object