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(EventIterator events) |
public RetentionRegistryImpl(SessionImpl session, FileSystem fs) throws RepositoryException
RepositoryException
public void close()
public boolean hasEffectiveHold(Path nodePath, boolean checkParent) throws RepositoryException
hasEffectiveHold
in interface RetentionRegistry
RepositoryException
RetentionRegistry.hasEffectiveHold(org.apache.jackrabbit.spi.Path,boolean)
public boolean hasEffectiveRetention(Path nodePath, boolean checkParent) throws RepositoryException
hasEffectiveRetention
in interface RetentionRegistry
RepositoryException
RetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)
public void onEvent(EventIterator events)
onEvent
in interface EventListener
events
- Events reporting hold/retention policy changes.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.