Class RetentionRegistryImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.retention.RetentionRegistryImpl
-
- All Implemented Interfaces:
EventListener,SynchronousEventListener,RetentionRegistry
public class RetentionRegistryImpl extends Object implements RetentionRegistry, SynchronousEventListener
RetentionEvaluatorImpl...
-
-
Constructor Summary
Constructors Constructor Description RetentionRegistryImpl(SessionImpl session, FileSystem fs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasEffectiveHold(Path nodePath, boolean checkParent)booleanhasEffectiveRetention(Path nodePath, boolean checkParent)voidonEvent(EventIterator events)
-
-
-
Constructor Detail
-
RetentionRegistryImpl
public RetentionRegistryImpl(SessionImpl session, FileSystem fs) throws RepositoryException
- Throws:
RepositoryException
-
-
Method Detail
-
close
public void close()
-
hasEffectiveHold
public boolean hasEffectiveHold(Path nodePath, boolean checkParent) throws RepositoryException
- Specified by:
hasEffectiveHoldin interfaceRetentionRegistry- Throws:
RepositoryException- See Also:
RetentionRegistry.hasEffectiveHold(org.apache.jackrabbit.spi.Path,boolean)
-
hasEffectiveRetention
public boolean hasEffectiveRetention(Path nodePath, boolean checkParent) throws RepositoryException
- Specified by:
hasEffectiveRetentionin interfaceRetentionRegistry- Throws:
RepositoryException- See Also:
RetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)
-
onEvent
public void onEvent(EventIterator events)
- Specified by:
onEventin interfaceEventListener- Parameters:
events- Events reporting hold/retention policy changes.
-
-