Class BundlingHandler


  • public class BundlingHandler
    extends Object
    • 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 org.apache.jackrabbit.oak.spi.state.NodeState getNodeState()
      • getMetaProps

        public Set<org.apache.jackrabbit.oak.api.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,
                                          org.apache.jackrabbit.oak.spi.state.NodeState state)
      • childDeleted

        public BundlingHandler childDeleted​(String name,
                                            org.apache.jackrabbit.oak.spi.state.NodeState state)
      • childChanged

        public BundlingHandler childChanged​(String name,
                                            org.apache.jackrabbit.oak.spi.state.NodeState before,
                                            org.apache.jackrabbit.oak.spi.state.NodeState after)
      • isBundlingRoot

        public boolean isBundlingRoot()