wt.epm.workspaces
Class DeleteHandler
java.lang.Object
wt.epm.workspaces.DeleteHandler
- class DeleteHandler
- extends Object
DeleteHandler
Supported API: false
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBSTITUTES_FOR_VERSIONS
private static Object SUBSTITUTES_FOR_VERSIONS
DeleteHandler
DeleteHandler()
findSubstitutes
public static WTValuedMap findSubstitutes(WTCollection objects)
throws WTException
- For each document iteration in the given list of to-be-deleted objects,
find the appropriate iteration (if any) to use as a substitute in all
as-stored configs that it participates in.
- Throws:
WTException
findSubstitutesForVersions
private static WTValuedMap findSubstitutesForVersions(WTCollection documents)
throws WTException
- Deleting the latest iteration of a version will trigger the deletion of
all iterations of that version. Find the appropriate iteration of an
earlier version (if any) to use as a substitute for all iterations of
a to-be-deleted version.
- Throws:
WTException
filterOnLatest
private static WTCollection filterOnLatest(WTCollection objects,
boolean returnLatest)
throws WTException
- Throws:
WTException
getPredecessorId
private static ObjectIdentifier getPredecessorId(ControlBranch version)
getPredecessorId
private static ObjectIdentifier getPredecessorId(Iterated object)
getSubstitutesForVersions
private static WTValuedMap getSubstitutesForVersions()
throws WTException
- Throws:
WTException