org.apache.jackrabbit.core.retention
Class RetentionRegistryImpl

java.lang.Object
  extended by org.apache.jackrabbit.core.retention.RetentionRegistryImpl
All Implemented Interfaces:
EventListener, SynchronousEventListener, RetentionRegistry

public class RetentionRegistryImpl
extends Object
implements RetentionRegistry, SynchronousEventListener

RetentionEvaluatorImpl...


Constructor Summary
RetentionRegistryImpl(SessionImpl session, FileSystem fs)
           
 
Method Summary
 void close()
           
 boolean hasEffectiveHold(Path nodePath, boolean checkParent)
           
 boolean hasEffectiveRetention(Path nodePath, boolean checkParent)
           
 void onEvent(EventIterator events)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface RetentionRegistry
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 interface RetentionRegistry
Throws:
RepositoryException
See Also:
RetentionRegistry.hasEffectiveRetention(org.apache.jackrabbit.spi.Path,boolean)

onEvent

public void onEvent(EventIterator events)
Specified by:
onEvent in interface EventListener
Parameters:
events - Events reporting hold/retention policy changes.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.