Class RetentionManagerImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.ProtectedItemModifier
-
- org.apache.jackrabbit.core.retention.RetentionManagerImpl
-
- All Implemented Interfaces:
RetentionManager
public class RetentionManagerImpl extends ProtectedItemModifier implements RetentionManager
RetentionManagerImpl
...
-
-
Constructor Summary
Constructors Constructor Description RetentionManagerImpl(SessionImpl session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceRetentionManager
- 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 interfaceRetentionManager
- 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 interfaceRetentionManager
- 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 interfaceRetentionManager
- 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 interfaceRetentionManager
- 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 interfaceRetentionManager
- Throws:
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
- See Also:
RetentionManager.removeRetentionPolicy(String)
-
-