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.RepositoryException
public void close()
public boolean hasEffectiveHold(Path nodePath, boolean checkParent) throws javax.jcr.RepositoryException
hasEffectiveHold
in interface RetentionRegistry
javax.jcr.RepositoryException
RetentionRegistry.hasEffectiveHold(org.apache.jackrabbit.spi.Path,boolean)
public boolean hasEffectiveRetention(Path nodePath, boolean checkParent) throws javax.jcr.RepositoryException
hasEffectiveRetention
in interface RetentionRegistry
javax.jcr.RepositoryException
RetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)
public void onEvent(javax.jcr.observation.EventIterator events)
onEvent
in interface javax.jcr.observation.EventListener
events
- Events reporting hold/retention policy changes.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.