public class RetentionManagerImpl extends ProtectedItemModifier implements RetentionManager
RetentionManagerImpl
...Constructor and Description |
---|
RetentionManagerImpl(SessionImpl session) |
Modifier and Type | Method and 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) |
addNode, addNode, markModified, performProtected, removeItem, setProperty, setProperty, setProperty, setProperty
public RetentionManagerImpl(SessionImpl session)
session
- The editing session.public Hold[] getHolds(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getHolds
in interface RetentionManager
PathNotFoundException
AccessDeniedException
RepositoryException
RetentionManager.getHolds(String)
public Hold addHold(String absPath, String name, boolean isDeep) throws PathNotFoundException, AccessDeniedException, LockException, VersionException, RepositoryException
addHold
in interface RetentionManager
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
RetentionManager.addHold(String, String, boolean)
public void removeHold(String absPath, Hold hold) throws PathNotFoundException, AccessDeniedException, LockException, VersionException, RepositoryException
removeHold
in interface RetentionManager
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
RetentionManager.removeHold(String, Hold)
public RetentionPolicy getRetentionPolicy(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getRetentionPolicy
in interface RetentionManager
PathNotFoundException
AccessDeniedException
RepositoryException
RetentionManager.getRetentionPolicy(String)
public void setRetentionPolicy(String absPath, RetentionPolicy retentionPolicy) throws PathNotFoundException, AccessDeniedException, LockException, VersionException, RepositoryException
setRetentionPolicy
in interface RetentionManager
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
RetentionManager.setRetentionPolicy(String, RetentionPolicy)
public void removeRetentionPolicy(String absPath) throws PathNotFoundException, AccessDeniedException, LockException, VersionException, RepositoryException
removeRetentionPolicy
in interface RetentionManager
PathNotFoundException
AccessDeniedException
LockException
VersionException
RepositoryException
RetentionManager.removeRetentionPolicy(String)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.