|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.vc.VersionControlServerHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
static VersionControlSvrService |
service
Supported API: false |
static String |
VC_ALL_DELETED_ITERATIONS
|
Constructor Summary | |
VersionControlServerHelper()
|
Method Summary | |
static void |
carryForwardVersionCreator(Iterated orignal,
Iterated next)
|
static ControlBranch |
getControlBranch(Iterated iteration)
Supported API: false |
static WTCollection |
getControlBranches(WTCollection iterations)
Supported API: false |
static Iterated |
getLatestIteration(long branchId)
Gets the "latest" iteration in specified branch. |
static Iterated |
getLatestIteration(long branchId,
Class iteratedClass)
Gets the "latest" iteration of the given class in the specified branch. |
static WTKeyedHashMap |
getLatestIteration(WTCollection objectSet)
For each object in the passed Iterated collection, the latest iteration on its branch is extracted from the persistent store. |
static WTArrayList[] |
groupByBranch(WTCollection iterations)
To group iterations according to branch identifier. |
static WTHashSet[] |
groupByMaster(WTCollection iterations)
To group iterations according to master reference. |
static void |
inflateControlBranchesOf(WTCollection wtCollOfIteratedObjs)
Supported API: false |
static void |
initalizeIterationCookies(Iterated iteration)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
static void |
initalizeIterationCookies(WTCollection iterations)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
protected static void |
makeLatest(Iterated newLatestIteration)
|
protected static void |
makeLatest(Iterated oldLatestIteration,
Iterated newLatestIteration)
|
static void |
removeControlBranchFor(Iterated iteration)
This will remove a ControlBranch entry from the DataBase. |
static Versionable |
restoreVersionable(VersionForeignKey key)
Supported API: false |
static void |
setBranchIdentifier(Iterated iteration,
long branchId)
Supported API: false |
static void |
setControlBranch(Iterated iteration)
Supported API: false |
static void |
setLatestIfNecessary(Iterated iteration)
|
static void |
setLatestIfNecessary(WTCollection objectSet)
A multi-object method to set latest flag on a set of Iterated objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final VersionControlSvrService service
public static final String VC_ALL_DELETED_ITERATIONS
Constructor Detail |
public VersionControlServerHelper()
Method Detail |
public static Iterated getLatestIteration(long branchId) throws WTException, VersionControlException
branchId
-
WTException
VersionControlException
public static void initalizeIterationCookies(Iterated iteration) throws VersionControlException
iteration
-
VersionControlException
public static ControlBranch getControlBranch(Iterated iteration) throws VersionControlException
iteration
-
VersionControlException
public static WTCollection getControlBranches(WTCollection iterations) throws VersionControlException
iterations
-
VersionControlException
public static void setControlBranch(Iterated iteration)
iteration
- public static void setBranchIdentifier(Iterated iteration, long branchId) throws VersionControlException
iteration
- branchId
-
VersionControlException
public static void removeControlBranchFor(Iterated iteration) throws VersionControlException
iteration
-
VersionControlException
public static Versionable restoreVersionable(VersionForeignKey key) throws VersionControlException
key
-
VersionControlException
public static void inflateControlBranchesOf(WTCollection wtCollOfIteratedObjs) throws VersionControlException
wtCollOfIteratedObjs
-
VersionControlException
public static WTHashSet[] groupByMaster(WTCollection iterations) throws VersionControlException
iterations
-
VersionControlException
public static WTArrayList[] groupByBranch(WTCollection iterations) throws VersionControlException
iterations
-
VersionControlException
public static void initalizeIterationCookies(WTCollection iterations) throws VersionControlException
iterations
-
VersionControlException
public static Iterated getLatestIteration(long branchId, Class iteratedClass) throws WTException, VersionControlException
branchId
- iteratedClass
-
WTException
VersionControlException
public static void carryForwardVersionCreator(Iterated orignal, Iterated next)
public static void setLatestIfNecessary(Iterated iteration) throws VersionControlException
VersionControlException
protected static void makeLatest(Iterated newLatestIteration) throws VersionControlException
VersionControlException
protected static void makeLatest(Iterated oldLatestIteration, Iterated newLatestIteration) throws VersionControlException
VersionControlException
public static void setLatestIfNecessary(WTCollection objectSet) throws WTException
WTException
public static WTKeyedHashMap getLatestIteration(WTCollection objectSet) throws WTException
objectSet
- collection of Iterated objects
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |