public class InterceptorChain extends Object
| Constructor and Description |
|---|
InterceptorChain() |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Value |
afterGetValue(JCRPropertyWrapper property,
javax.jcr.Value storedValue)
Calls all property interceptors in a chain.
|
javax.jcr.Value[] |
afterGetValues(JCRPropertyWrapper property,
javax.jcr.Value[] storedValues)
Calls all property interceptors in a chain.
|
void |
beforeRemove(JCRNodeWrapper node,
String name,
ExtendedPropertyDefinition definition) |
javax.jcr.Value |
beforeSetValue(JCRNodeWrapper node,
String name,
ExtendedPropertyDefinition definition,
javax.jcr.Value originalValue)
Calls all property interceptors in a chain.
|
javax.jcr.Value[] |
beforeSetValues(JCRNodeWrapper node,
String name,
ExtendedPropertyDefinition definition,
javax.jcr.Value[] originalValues)
Calls all property interceptors in a chain.
|
void |
setInterceptors(List<PropertyInterceptor> interceptors) |
public void setInterceptors(List<PropertyInterceptor> interceptors)
public void beforeRemove(JCRNodeWrapper node, String name, ExtendedPropertyDefinition definition) throws javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
javax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryExceptionpublic javax.jcr.Value beforeSetValue(JCRNodeWrapper node, String name, ExtendedPropertyDefinition definition, javax.jcr.Value originalValue) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
node - name - definition - originalValue - @returnjavax.jcr.ValueFormatExceptionjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryException - in case of JCR-related errorspublic javax.jcr.Value[] beforeSetValues(JCRNodeWrapper node, String name, ExtendedPropertyDefinition definition, javax.jcr.Value[] originalValues) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
node - name - definition - originalValues - @returnjavax.jcr.ValueFormatExceptionjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryException - in case of JCR-related errorspublic javax.jcr.Value afterGetValue(JCRPropertyWrapper property, javax.jcr.Value storedValue) throws javax.jcr.ValueFormatException, javax.jcr.RepositoryException
property - storedValue - javax.jcr.ValueFormatExceptionjavax.jcr.RepositoryException - in case of JCR-related errorspublic javax.jcr.Value[] afterGetValues(JCRPropertyWrapper property, javax.jcr.Value[] storedValues) throws javax.jcr.ValueFormatException, javax.jcr.RepositoryException
property - storedValues - javax.jcr.ValueFormatExceptionjavax.jcr.RepositoryException - in case of JCR-related errorsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.