public class RetentionManagerImpl extends ProtectedItemModifier implements javax.jcr.retention.RetentionManager
RetentionManagerImpl
...Constructor and Description |
---|
RetentionManagerImpl(SessionImpl session) |
Modifier and Type | Method and Description |
---|---|
javax.jcr.retention.Hold |
addHold(String absPath,
String name,
boolean isDeep) |
javax.jcr.retention.Hold[] |
getHolds(String absPath) |
javax.jcr.retention.RetentionPolicy |
getRetentionPolicy(String absPath) |
void |
removeHold(String absPath,
javax.jcr.retention.Hold hold) |
void |
removeRetentionPolicy(String absPath) |
void |
setRetentionPolicy(String absPath,
javax.jcr.retention.RetentionPolicy retentionPolicy) |
addNode, addNode, markModified, performProtected, removeItem, setProperty, setProperty, setProperty, setProperty
public RetentionManagerImpl(SessionImpl session)
session
- The editing session.public javax.jcr.retention.Hold[] getHolds(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getHolds
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
RetentionManager.getHolds(String)
public javax.jcr.retention.Hold addHold(String absPath, String name, boolean isDeep) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
addHold
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
RetentionManager.addHold(String, String, boolean)
public void removeHold(String absPath, javax.jcr.retention.Hold hold) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
removeHold
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
RetentionManager.removeHold(String, Hold)
public javax.jcr.retention.RetentionPolicy getRetentionPolicy(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getRetentionPolicy
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
RetentionManager.getRetentionPolicy(String)
public void setRetentionPolicy(String absPath, javax.jcr.retention.RetentionPolicy retentionPolicy) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
setRetentionPolicy
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
RetentionManager.setRetentionPolicy(String, RetentionPolicy)
public void removeRetentionPolicy(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
removeRetentionPolicy
in interface javax.jcr.retention.RetentionManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
RetentionManager.removeRetentionPolicy(String)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.