org.apache.jackrabbit.core.retention
Class RetentionManagerImpl

java.lang.Object
  extended by org.apache.jackrabbit.core.ProtectedItemModifier
      extended by org.apache.jackrabbit.core.retention.RetentionManagerImpl
All Implemented Interfaces:
RetentionManager

public class RetentionManagerImpl
extends ProtectedItemModifier
implements RetentionManager

RetentionManagerImpl...


Constructor Summary
RetentionManagerImpl(SessionImpl session)
           
 
Method Summary
 Hold addHold(String absPath, String name, boolean isDeep)
           
 Hold[] getHolds(String absPath)
           
 RetentionPolicy getRetentionPolicy(String absPath)
           
 void removeHold(String absPath, Hold hold)
           
 void removeRetentionPolicy(String absPath)
           
 void setRetentionPolicy(String absPath, RetentionPolicy retentionPolicy)
           
 
Methods inherited from class org.apache.jackrabbit.core.ProtectedItemModifier
addNode, addNode, markModified, performProtected, removeItem, setProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetentionManagerImpl

public RetentionManagerImpl(SessionImpl session)
Parameters:
session - The editing session.
Method Detail

getHolds

public Hold[] getHolds(String absPath)
                throws PathNotFoundException,
                       AccessDeniedException,
                       RepositoryException
Specified by:
getHolds in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
RepositoryException
See Also:
RetentionManager.getHolds(String)

addHold

public Hold addHold(String absPath,
                    String name,
                    boolean isDeep)
             throws PathNotFoundException,
                    AccessDeniedException,
                    LockException,
                    VersionException,
                    RepositoryException
Specified by:
addHold in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
See Also:
RetentionManager.addHold(String, String, boolean)

removeHold

public void removeHold(String absPath,
                       Hold hold)
                throws PathNotFoundException,
                       AccessDeniedException,
                       LockException,
                       VersionException,
                       RepositoryException
Specified by:
removeHold in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
See Also:
RetentionManager.removeHold(String, Hold)

getRetentionPolicy

public RetentionPolicy getRetentionPolicy(String absPath)
                                   throws PathNotFoundException,
                                          AccessDeniedException,
                                          RepositoryException
Specified by:
getRetentionPolicy in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
RepositoryException
See Also:
RetentionManager.getRetentionPolicy(String)

setRetentionPolicy

public void setRetentionPolicy(String absPath,
                               RetentionPolicy retentionPolicy)
                        throws PathNotFoundException,
                               AccessDeniedException,
                               LockException,
                               VersionException,
                               RepositoryException
Specified by:
setRetentionPolicy in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
See Also:
RetentionManager.setRetentionPolicy(String, RetentionPolicy)

removeRetentionPolicy

public void removeRetentionPolicy(String absPath)
                           throws PathNotFoundException,
                                  AccessDeniedException,
                                  LockException,
                                  VersionException,
                                  RepositoryException
Specified by:
removeRetentionPolicy in interface RetentionManager
Throws:
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
See Also:
RetentionManager.removeRetentionPolicy(String)


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