public interface VersionManager
VersionManager
provides methods to manage page versions.Modifier and Type | Interface and Description |
---|---|
static interface |
VersionManager.PurgeInfo
General info about version purging.
|
Modifier and Type | Method and Description |
---|---|
List<VersionManager.PurgeInfo> |
purgeVersions(Node node,
boolean dryRun)
Returns a list of purge infos of the versions that are purged using the configured conditions.
|
List<VersionManager.PurgeInfo> |
purgeVersions(Node node,
boolean dryRun,
int maxVersions,
int maxAge)
Returns a list of purge infos of the versions that are purged using the specified conditions.
|
List<VersionManager.PurgeInfo> |
purgeVersions(Session session,
String path,
boolean dryRun,
boolean recursive)
Returns a list of purge infos of the versions that are purged using the configured conditions.
|
List<VersionManager.PurgeInfo> |
purgeVersions(Session session,
String path,
boolean dryRun,
boolean recursive,
int maxVersions,
int maxAge)
Returns a list of purge infos of the versions that are purged using the specified conditions.
|
List<VersionManager.PurgeInfo> purgeVersions(Node node, boolean dryRun)
node
- of which the versions are to be purgeddryRun
- if true
the versions are not removedList<VersionManager.PurgeInfo> purgeVersions(Node node, boolean dryRun, int maxVersions, int maxAge)
node
- of which the versions are to be purgeddryRun
- if true
the versions are not removedmaxVersions
- max number of versions to retainmaxAge
- max age (in days) of versions to retainList<VersionManager.PurgeInfo> purgeVersions(Session session, String path, boolean dryRun, boolean recursive)
path
- of which the versions are to be purgedsession
- to use for repository operationsdryRun
- if true
the versions are not removedrecursive
- if versions for paths below given path should be purgedList<VersionManager.PurgeInfo> purgeVersions(Session session, String path, boolean dryRun, boolean recursive, int maxVersions, int maxAge)
path
- of which the versions are to be purgedsession
- to use for repository operationsdryRun
- if true
the versions are not removedrecursive
- if versions for paths below given path should be purgedmaxVersions
- max number of versions to retainmaxAge
- max age (in days) of versions to retain"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"