public interface PropertyUpdateCallback
Modifier and Type | Method and Description |
---|---|
void |
done()
Invoked after editor has traversed all the changes
|
void |
propertyUpdated(String nodePath,
String propertyRelativePath,
PropertyDefinition pd,
@Nullable org.apache.jackrabbit.oak.api.PropertyState before,
@Nullable org.apache.jackrabbit.oak.api.PropertyState after)
Invoked upon any change in property either added, updated or removed.
|
void propertyUpdated(String nodePath, String propertyRelativePath, PropertyDefinition pd, @Nullable @Nullable org.apache.jackrabbit.oak.api.PropertyState before, @Nullable @Nullable org.apache.jackrabbit.oak.api.PropertyState after)
nodePath
- path of node for which is to be indexed for this property changepropertyRelativePath
- relative path of the property wrt the indexed nodepd
- property definition associated with the property to be indexedbefore
- before state. Is null when property is added. For other cases its not nullafter
- after state of the property. Is null when property is removed. For other cases its not nullvoid done() throws org.apache.jackrabbit.oak.api.CommitFailedException
org.apache.jackrabbit.oak.api.CommitFailedException
- in case some validation failsCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.