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 BundlingHandler
childAdded(String name, NodeState state)
BundlingHandler
childChanged(String name, NodeState before, NodeState after)
BundlingHandler
childDeleted(String name, NodeState state)
Set<PropertyState>
getMetaProps()
Path
getNodeFullPath()
Returns absolute path of the current nodeNodeState
getNodeState()
String
getPropertyPath(String propertyName)
Returns property path.Set<String>
getRemovedProps()
Returns name of properties which needs to be removed or marked as deletedPath
getRootBundlePath()
boolean
isBundledNode()
Returns true if and only if current node is bundled in another nodeboolean
isBundlingRoot()
String
toString()
-
-
-
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()
-
-