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 void
close()
boolean
hasEffectiveHold(Path nodePath, boolean checkParent)
boolean
hasEffectiveRetention(Path nodePath, boolean checkParent)
void
onEvent(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:
hasEffectiveHold
in 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:
hasEffectiveRetention
in interfaceRetentionRegistry
- Throws:
RepositoryException
- See Also:
RetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)
-
onEvent
public void onEvent(EventIterator events)
- Specified by:
onEvent
in interfaceEventListener
- Parameters:
events
- Events reporting hold/retention policy changes.
-
-