public class RetentionRegistryImpl extends Object implements RetentionRegistry, SynchronousEventListener
RetentionEvaluatorImpl...| Constructor and Description |
|---|
RetentionRegistryImpl(SessionImpl session,
org.apache.jackrabbit.core.fs.FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasEffectiveHold(org.apache.jackrabbit.spi.Path nodePath,
boolean checkParent) |
boolean |
hasEffectiveRetention(org.apache.jackrabbit.spi.Path nodePath,
boolean checkParent) |
void |
onEvent(javax.jcr.observation.EventIterator events) |
public RetentionRegistryImpl(SessionImpl session, org.apache.jackrabbit.core.fs.FileSystem fs) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void close()
public boolean hasEffectiveHold(org.apache.jackrabbit.spi.Path nodePath,
boolean checkParent)
throws javax.jcr.RepositoryException
hasEffectiveHold in interface RetentionRegistryjavax.jcr.RepositoryExceptionRetentionRegistry.hasEffectiveHold(org.apache.jackrabbit.spi.Path,boolean)public boolean hasEffectiveRetention(org.apache.jackrabbit.spi.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-2016 The Apache Software Foundation. All Rights Reserved.