public class RetentionRegistryImpl extends Object implements RetentionRegistry, SynchronousEventListener
RetentionEvaluatorImpl...| Constructor and Description |
|---|
RetentionRegistryImpl(SessionImpl session,
FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasEffectiveHold(Path nodePath,
boolean checkParent) |
boolean |
hasEffectiveRetention(Path nodePath,
boolean checkParent) |
void |
onEvent(javax.jcr.observation.EventIterator events) |
public RetentionRegistryImpl(SessionImpl session, FileSystem fs) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void close()
public boolean hasEffectiveHold(Path nodePath, boolean checkParent) throws javax.jcr.RepositoryException
hasEffectiveHold in interface RetentionRegistryjavax.jcr.RepositoryExceptionRetentionRegistry.hasEffectiveHold(org.apache.jackrabbit.spi.Path,boolean)public boolean hasEffectiveRetention(Path nodePath, boolean checkParent) throws javax.jcr.RepositoryException
hasEffectiveRetention in interface RetentionRegistryjavax.jcr.RepositoryExceptionRetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)public void onEvent(javax.jcr.observation.EventIterator events)
onEvent in interface javax.jcr.observation.EventListenerevents - Events reporting hold/retention policy changes.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.