|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VersionControlException | |
com.ptc.core.htmlcomp.jstable | |
com.ptc.netmarkets.part | |
com.ptc.windchill.cadx.autoassociate | |
com.ptc.windchill.i2w.vc | |
com.ptc.windchill.repairtools.multiplePrimaries | |
com.ptc.windchill.uwgm.cadx.checkout | |
com.ptc.windchill.uwgm.common.pdm | |
com.ptc.windchill.uwgm.task.autoassociate | |
wt.clients.vc | |
wt.content |
content package — Content Handling Service The content package allows content — files, URL links, and aggregates (multiple pieces of content that behave as a single file — to be associated with business objects. |
wt.epm | |
wt.epm.util | |
wt.vc |
Uses of VersionControlException in com.ptc.core.htmlcomp.jstable |
Methods in com.ptc.core.htmlcomp.jstable that throw VersionControlException | |
private String |
JSPersistableDataUtility.getVersion(Object o)
|
private String |
JSPersistableDataUtility.getIteration(Object o)
|
Uses of VersionControlException in com.ptc.netmarkets.part |
Methods in com.ptc.netmarkets.part that throw VersionControlException | |
static Iterated |
StandardNmPartService.getLatestIteration(Master master)
|
Uses of VersionControlException in com.ptc.windchill.cadx.autoassociate |
Methods in com.ptc.windchill.cadx.autoassociate that throw VersionControlException | |
WTPart |
DefaultAutoAssociatePartFinderCreator.findOrCreateWTPart(EPMDocument epmDoc,
EPMWorkspace workspace)
This method is used for finding or creating a single WTPart for a selected EPMDocument in a Workspace, if a WTPart is not found in Windchill w.r.t the preference settings it will create one. |
WTPart |
DefaultAutoAssociatePartFinderCreator.findWTPart(EPMDocument epmDoc)
This method finds a part to be associated to a document based on the preference settings specified. |
WTPart |
DefaultAutoAssociatePartFinderCreator.createNewWTPart(EPMDocument epmDoc,
String a_PartNumber,
String a_PartName,
PartType a_PartType,
String a_folderOID,
EPMWorkspace a_CurrentWS,
WTOrganization a_org,
Source a_source,
QuantityUnit a_defaultUnits)
|
WTPart |
AutoAssociatePartFinderCreator.findOrCreateWTPart(EPMDocument epmDoc,
EPMWorkspace workspace)
This method is used for finding or creating a single WTPart for a selected EPMDocument in a Workspace, if a WTPart is not found in Windchill w.r.t the preference settings it will create one. |
WTPart |
AutoAssociatePartFinderCreator.findWTPart(EPMDocument epmDoc)
This method finds a part to be associated to a document based on the preference settings specified. |
WTPart |
AutoAssociatePartFinderCreator.createNewWTPart(EPMDocument epmDoc,
String a_PartNumber,
String a_PartName,
PartType a_PartType,
String folderOID,
EPMWorkspace a_CurrentWS,
WTOrganization a_org,
Source a_source,
QuantityUnit a_defaultUnits)
|
Uses of VersionControlException in com.ptc.windchill.i2w.vc |
Methods in com.ptc.windchill.i2w.vc that throw VersionControlException | |
private static MulticharacterSeries |
WindchillVCGatewayHelper.generateMemberSeries(RevisionControlled member)
|
Uses of VersionControlException in com.ptc.windchill.repairtools.multiplePrimaries |
Methods in com.ptc.windchill.repairtools.multiplePrimaries that throw VersionControlException | |
private static PrimaryFix |
PrimaryFix.putIterationsInOrder(WTDocument doc,
WTDocumentMaster master,
PrimaryFix fix_set)
|
private static PrimaryFix |
PrimaryFix.putVersionsInOrder(WTDocumentMaster master,
WTDocument doc)
|
Uses of VersionControlException in com.ptc.windchill.uwgm.cadx.checkout |
Methods in com.ptc.windchill.uwgm.cadx.checkout that throw VersionControlException | |
private String |
CheckoutDataHandler.getIteration(Object o)
|
Uses of VersionControlException in com.ptc.windchill.uwgm.common.pdm |
Methods in com.ptc.windchill.uwgm.common.pdm that throw VersionControlException | |
static RevisionIterationInfo |
RevisionIterationInfoHelper.createInfo(Iterated iterated)
|
static RevisionIterationInfo |
RevisionIterationInfoHelper.createInfo(Iterated iterated)
|
Constructors in com.ptc.windchill.uwgm.common.pdm that throw VersionControlException | |
RevisionIterationInfoHelper.RiiImpl(Iterated iterated)
|
|
RevisionIterationInfoHelper.RiiImpl(Iterated iterated)
|
Uses of VersionControlException in com.ptc.windchill.uwgm.task.autoassociate |
Methods in com.ptc.windchill.uwgm.task.autoassociate that throw VersionControlException | |
WTPart |
DefaultAutoAssociatePartFinderCreator.findOrCreateWTPart(EPMDocument epmDoc,
EPMWorkspace workspace)
This method is used for only searchig a WTPart with matching number criteria for a selected EPMDocument in a Workspace. |
WTPart |
DefaultAutoAssociatePartFinderCreator.findWTPart(EPMDocument epmDoc)
This method finds a part to be associated to a document based on the preference settings specified. |
WTPart |
DefaultAutoAssociatePartFinderCreator.createNewWTPart(EPMDocument epmDoc,
String a_PartNumber,
String a_PartName,
PartType a_PartType,
String a_folderOID,
EPMWorkspace a_CurrentWS,
WTOrganization a_org,
Source a_source,
QuantityUnit a_defaultUnits)
|
Uses of VersionControlException in wt.clients.vc |
Methods in wt.clients.vc that throw VersionControlException | |
static String |
VersionTaskLogic.getCurrentIterationIdentifier(Versioned versioned)
Returns a String representation of the iteration identifier
of the current Iteration of the given Versioned
object. |
static WTPrincipal |
VersionTaskLogic.getCreator(Versioned versioned)
Returns the WTPrincipal which created the given
Versioned object. |
static WTPrincipal |
VersionTaskLogic.getUpdater(Versioned versioned)
Returns the WTPrincipal which most recently updated the given
Versioned object. |
static WTPrincipal |
VersionTaskLogic.Server.getCreator(Versioned versioned)
|
static Workable |
CheckInOutTaskLogic.checkInObject(Workable workable,
Folder checkin_folder,
String note)
Checks in the given Workable object to the vault for the first
time. |
static Workable |
CheckInOutTaskLogic.checkInObject(Workable workable,
String folder_path,
String note)
Checks in the given Workable object to the vault for the first
time. |
private void |
CheckInDialog.processFirstTimeCheckin()
Places the given Workable item in the vault to be
subjected to version control. |
Uses of VersionControlException in wt.content |
Constructors in wt.content that throw VersionControlException | |
ContentServiceEvent(ContentServiceSvr service,
String eventType,
ContentHolder holder,
ApplicationData appData)
Supported API: false |
|
ContentServiceEvent(ContentServiceSvr service,
String eventType,
WTKeyedMap holderAppDataMap)
Create a ContentServiceEvent using the input WTKeyedHashMap as a event target. |
Uses of VersionControlException in wt.epm |
Constructors in wt.epm that throw VersionControlException | |
EPMStandardDocumentManager.DeleteObjectInfo(Object object)
|
Uses of VersionControlException in wt.epm.util |
Methods in wt.epm.util that throw VersionControlException | |
static String |
EPMHelper.getVersionDisplay(Iterated anIteration)
Returns the string representing the version identifier to be displayed in a message. |
Uses of VersionControlException in wt.vc |
Subclasses of VersionControlException in wt.vc | |
class |
VCBranchPointException
This exception will be thrown when branch point iterations are attempted for deletion. |
Methods in wt.vc that throw VersionControlException | |
MultilevelSeries |
VersionIdentifier.getSeries()
|
OneOffVersioned |
VersionControlSvrService.constructNewOneOffVersion(OneOffVersioned version)
Constructs a new in-line version from the given version. |
WTValuedMap |
VersionControlSvrService.constructNewOneOffVersions(WTCollection versions)
Supported API: false |
Iterated |
VersionControlSvrService.newIterationForNonWTObject(Iterated iteration)
|
Versioned |
VersionControlServiceFwd.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
VersionControlServiceFwd.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlServiceFwd.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlServiceFwd.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
VersionControlServiceFwd.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
VersionControlServiceFwd.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
VersionControlServiceFwd.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
VersionControlServiceFwd.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
VersionControlServiceFwd.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
VersionControlServiceFwd.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlServiceFwd.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlServiceFwd.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
VersionControlServiceFwd.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
VersionControlServiceFwd.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlServiceFwd.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlServiceFwd.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
VersionControlServiceFwd.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
VersionControlServiceFwd.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
VersionControlServiceFwd.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
VersionControlServiceFwd.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
VersionControlServiceFwd.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
VersionControlServiceFwd.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
VersionControlServiceFwd.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
VersionControlServiceFwd.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
VersionControlServiceFwd.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
VersionControlServiceFwd.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
VersionControlServiceFwd.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
VersionControlServiceFwd.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
VersionControlServiceFwd.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
VersionControlServiceFwd.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
VersionControlServiceFwd.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
VersionControlServiceFwd.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
VersionControlServiceFwd.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
VersionControlServiceFwd.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
VersionControlServiceFwd.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
private static VersionControlServiceEvent |
VersionControlServiceEvent.createSingleObjectMergeEvent(String eventType,
Versioned newIter,
Versioned source,
Versioned destination)
|
(package private) static void |
VersionControlServiceEvent.fireSingleObjectMergeEvent(ManagerService managerService,
String eventType,
Versioned newIter,
Versioned source,
Versioned destination)
|
private static VersionControlServiceEvent |
VersionControlServiceEvent.createMultiObjectMergeEvent(String eventType,
WTValuedMap sourceToDestinationsMap,
WTValuedMap sourceToNewIterationsMap,
WTValuedMap newIterationToDestinationsMap,
WTValuedMap destinationToNewIterationMap)
|
(package private) static void |
VersionControlServiceEvent.fireMultiObjectMergeEvent(ManagerService managerService,
String eventType,
WTValuedMap sourceToDestinationsMap,
WTValuedMap sourceToNewIterationsMap,
WTValuedMap newIterationToDestinationsMap,
WTValuedMap destinationToNewIterationMap)
|
Versioned |
VersionControlService.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
VersionControlService.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlService.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlService.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
VersionControlService.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
VersionControlService.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
VersionControlService.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
VersionControlService.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
VersionControlService.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
VersionControlService.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlService.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlService.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
VersionControlService.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
VersionControlService.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlService.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlService.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
VersionControlService.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
VersionControlService.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
VersionControlService.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
VersionControlService.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
VersionControlService.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
VersionControlService.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
VersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
VersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
VersionControlService.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
VersionControlService.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
VersionControlService.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
VersionControlService.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
VersionControlService.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
VersionControlService.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
VersionControlService.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
VersionControlService.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
VersionControlService.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
VersionControlService.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
VersionControlService.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
static Iterated |
VersionControlServerHelper.getLatestIteration(long branchId)
Gets the "latest" iteration in specified branch. |
static void |
VersionControlServerHelper.initalizeIterationCookies(Iterated iteration)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
static ControlBranch |
VersionControlServerHelper.getControlBranch(Iterated iteration)
Supported API: false |
static WTCollection |
VersionControlServerHelper.getControlBranches(WTCollection iterations)
Supported API: false |
static void |
VersionControlServerHelper.setBranchIdentifier(Iterated iteration,
long branchId)
Supported API: false |
static void |
VersionControlServerHelper.removeControlBranchFor(Iterated iteration)
This will remove a ControlBranch entry from the DataBase. |
static Versionable |
VersionControlServerHelper.restoreVersionable(VersionForeignKey key)
Supported API: false |
static void |
VersionControlServerHelper.inflateControlBranchesOf(WTCollection wtCollOfIteratedObjs)
Supported API: false |
static WTHashSet[] |
VersionControlServerHelper.groupByMaster(WTCollection iterations)
To group iterations according to master reference. |
static WTArrayList[] |
VersionControlServerHelper.groupByBranch(WTCollection iterations)
To group iterations according to branch identifier. |
static void |
VersionControlServerHelper.initalizeIterationCookies(WTCollection iterations)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
static Iterated |
VersionControlServerHelper.getLatestIteration(long branchId,
Class iteratedClass)
Gets the "latest" iteration of the given class in the specified branch. |
static void |
VersionControlServerHelper.setLatestIfNecessary(Iterated iteration)
|
protected static void |
VersionControlServerHelper.makeLatest(Iterated newLatestIteration)
|
protected static void |
VersionControlServerHelper.makeLatest(Iterated oldLatestIteration,
Iterated newLatestIteration)
|
static Iterated |
VersionControlHelper.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Gets the "latest" iteration in the same branch as the given one. |
static void |
VersionControlHelper.setVersionIdentifier(Versioned version,
VersionIdentifier identifier)
Sets the series value of the version. |
static VersionIdentifier |
VersionControlHelper.getVersionIdentifier(Versioned version)
Gets the series value of the version. |
static void |
VersionControlHelper.incrementVersionId(Versioned version)
For the given Iteration, Increment the VersionIdentifier of the Iteration. |
static VersionIdentifier |
VersionControlHelper.nextVersionId(Versioned version)
For the given Iteration, answer the next VersionIdentifier in the series Supported API: true |
static VersionIdentifier |
VersionControlHelper.newBranchVersionId(Versioned version)
Supported API: true |
static void |
VersionControlHelper.setIterationIdentifier(Iterated iteration,
IterationIdentifier identifier)
Sets the series value of the iteration. |
static IterationIdentifier |
VersionControlHelper.firstIterationId(Iterated iteration)
For the given Iterated object, return the First IterationIdentifier for the series Supported API: true |
static IterationIdentifier |
VersionControlHelper.getIterationIdentifier(Iterated iteration)
Gets the series value of the iteration. |
static void |
VersionControlHelper.incrementIterationId(Iterated iteration)
For the given Iteration, Increment the IterationIdentifier of the Iteration. |
static IterationIdentifier |
VersionControlHelper.nextIterationId(Iterated iteration)
For the given Iteration, answer the next IterationIdentifier in the series Supported API: true |
static long |
VersionControlHelper.getBranchIdentifier(Iterated iteration)
Gets the value of the iteration's branch id typed as it is returned from the POM's OID pool. |
static void |
VersionControlHelper.setIterationModifier(Iterated iteration,
WTPrincipalReference creator)
Sets the creator/updater of the iteration. |
static WTPrincipalReference |
VersionControlHelper.getIterationModifier(Iterated iteration)
Gets the creator/updater (reference) of the iteration. |
static WTPrincipalReference |
VersionControlHelper.getVersionCreator(Iterated iteration)
Gets the creator (reference) of the version. |
static void |
VersionControlHelper.setNote(Iterated iteration,
String note)
Sets the note explaining why the iteration was created. |
static String |
VersionControlHelper.getNote(Iterated iteration)
Gets the note explaining why the iteration was created. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
Mastered master)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that belong to the same master. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
long branchId)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are in a branch. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
boolean latest)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are the "latest" iteration(s). |
static Enumeration |
VersionControlHelper.getInlinedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the inlined (non-branched) versions from the given version within the given list containing all the found versions. |
static Enumeration |
VersionControlHelper.getBranchedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the branched versions from the given version within the given list containing all the found versions. |
static Enumeration |
VersionControlHelper.getThreadedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the threaded (inlined and branched) versions from the given version within the given list containing all the found versions. |
static Iterated |
VersionControlHelper.getLatestIteration(Iterated iteration)
Deprecated. |
static boolean |
VersionControlHelper.inSameBranch(Iterated iterationA,
Iterated iterationB)
Tests if two iterations are in the same version branch. |
static void |
VersionControlHelper.setOneOffVersionIdentifier(OneOffVersioned version,
OneOffVersionIdentifier identifier)
Sets the one-off identifier. |
static OneOffVersionIdentifier |
VersionControlHelper.getOneOffVersionIdentifier(OneOffVersioned version)
Gets the series value of the version. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
WTCollection objects,
boolean notIntheBranch)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are in a branch. |
static Iterated |
VersionControlHelper.assignIterationCreator(Iterated iteration,
WTPrincipalReference creator)
Assigns a creator on the given iterated object to the given principal. |
static Iterated |
VersionControlHelper.assignIterationBranch(Iterated iteration,
long branchId,
boolean latest)
Assigns a branch id and latest flag on the given iterated object to the given branch id and latest flag. |
static MultilevelSeries |
VersionControlHelper.getVersionIdentifierSeries(Versioned version)
Internal API used to get the correct series type (using the rules service) when revising a version. |
protected static MultilevelSeries |
VersionControlHelper.getVersionIdentifierSeriesFromSeriesName(String seriesName)
Convenience API for getInitialVersionInfo and getVersionIdentifierSeries . |
private static String |
VersionControlHelper.getSeedType(Versioned version,
String seriesName)
|
protected static WTKeyedMap |
VersionControlHelper.getVersionIdentifierSeries(WTCollection versions)
|
private static WTKeyedMap |
VersionControlHelper.getSeedType(WTKeyedMap versionToSeriesNameMap)
|
OneOffVersioned |
StandardVersionControlSvrService.constructNewOneOffVersion(OneOffVersioned version)
Constructs a new in-line version from the given version. |
WTValuedMap |
StandardVersionControlSvrService.constructNewOneOffVersions(WTCollection versions)
Supported API: false |
Iterated |
StandardVersionControlSvrService.newIterationForNonWTObject(Iterated iteration)
Makes a new iteration for non - WTObject to support 887507. |
protected void |
StandardVersionControlService.remove(Mastered master)
Removes (i.e., deletes) all of the given master's iterations. |
protected void |
StandardVersionControlService.removeMasters(WTCollection masters)
Removes (i.e., deletes) all of the given collection of master's iterations. |
protected void |
StandardVersionControlService.remove(Iterated iteration)
Removes (i.e., deletes) the given iteration. |
protected void |
StandardVersionControlService.removeIterations(WTCollection iterations)
Removes (i.e., deletes) the given colection of iterations. |
protected void |
StandardVersionControlService.restore(WTCollection iterations)
Restores the collection of iteration's creator, predecessor, and master reference. |
protected void |
StandardVersionControlService.signalPersistenceOf(Iterated iteration)
Signals to any interested service by dispatching an event that a new version has just been stored. |
protected void |
StandardVersionControlService.signalPersistenceOf(WTCollection iterations)
Supported API: false |
protected void |
StandardVersionControlService.storeMasterOf(WTCollection iterations)
Stores the given iteration's master if it is not already persistent. |
protected void |
StandardVersionControlService.storeControlBranchOf(WTCollection iterations)
Stores the given iteration's ControlBranch if it is not already persistent. |
protected void |
StandardVersionControlService.validateDeletionOf(WTCollection iterations)
Validates whether or not the deletion of the given collection of iterations is appropriate. |
protected void |
StandardVersionControlService.validateReferencesOf(ObjectToVersionLink link)
Validates [if necessary] the object and version references to correctly refer to the role A and B objects, respectively. |
protected void |
StandardVersionControlService.validateReferencesOf(VersionToVersionLink link)
Validates [if necessary] the version references to correctly refer to the role A and B objects. |
Versioned |
StandardVersionControlService.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
StandardVersionControlService.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
StandardVersionControlService.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
StandardVersionControlService.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
StandardVersionControlService.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
StandardVersionControlService.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
StandardVersionControlService.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
StandardVersionControlService.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
StandardVersionControlService.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
StandardVersionControlService.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
StandardVersionControlService.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
StandardVersionControlService.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
StandardVersionControlService.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
StandardVersionControlService.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
StandardVersionControlService.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
StandardVersionControlService.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
StandardVersionControlService.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
StandardVersionControlService.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
StandardVersionControlService.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
StandardVersionControlService.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
StandardVersionControlService.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
StandardVersionControlService.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
StandardVersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
StandardVersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
StandardVersionControlService.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
StandardVersionControlService.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
StandardVersionControlService.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
StandardVersionControlService.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
StandardVersionControlService.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
StandardVersionControlService.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
StandardVersionControlService.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
StandardVersionControlService.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
StandardVersionControlService.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
StandardVersionControlService.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
StandardVersionControlService.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
private Iterated |
StandardVersionControlService.insertIteration(Iterated predecessor,
Iterated target,
Iterated successor)
|
protected QueryResult |
StandardVersionControlService.orderedIterationsOf(QueryResult iterations)
|
protected Vector |
StandardVersionControlService.iterationsBetween(Iterated first,
boolean include_first,
Iterated last,
boolean include_last)
Find all succeeding iterations between two iterations. |
private void |
StandardVersionControlService.processPostMultiDelete(Object[] objectsToDelete)
|
private void |
StandardVersionControlService.makeChainAndAdjust(WTArrayList iterations,
WTHashSet deleteList,
HashMap postRollupMap,
HashMap postRollbackMap)
|
private WTHashSet |
StandardVersionControlService.prepareIterationChainForDelete(WTArrayList iterations,
WTHashSet analyzed,
HashMap postRollupMap,
HashMap postRollbackMap)
|
private Iterated |
StandardVersionControlService.getFirstIterationOf(long branchId)
|
private View[] |
StandardVersionControlService.getParentViews(Hashtable insNodeTable)
|
private Iterated |
StandardVersionControlService.getBestMatchPredecessor(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.fillTargetDetails(Hashtable insNodeTable)
|
private void |
StandardVersionControlService.insertNodeVerifyTarget(Iterated target,
Ufid targetUfid)
|
private Iterated |
StandardVersionControlService.insertNode(Iterated target,
Hashtable insNodeTable)
Performs the insertion -- if master not persisted, persist the object and its CB -- else if the version of target exists, do an insertIteration -- else do an insertVersion |
private QueryResult |
StandardVersionControlService.getControlBranchesOf(Versioned target)
|
private void |
StandardVersionControlService.insertNodeGetSuccessors(Hashtable insNodeTable)
|
private boolean |
StandardVersionControlService.isPredecessor(Versioned low,
Versioned high)
|
private Iterated |
StandardVersionControlService.insertNodeVersion(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.createMerge(Versioned target,
Ufid other,
boolean inwards)
|
private void |
StandardVersionControlService.insertNodeCreateMerges(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.insertNodeUpdateSuccessors(Iterated target,
Hashtable insNodeTable)
|
private Iterated |
StandardVersionControlService.insertNodeIteration(Iterated target)
|
private Iterated |
StandardVersionControlService.getBranchPointOf(Iterated target)
|
Series |
OneOffVersionIdentifier.getSeries()
Supported API: true |
Series |
IterationIdentifier.getSeries()
Supported API: true |
MultilevelSeries |
VersionIdentifier.getSeries()
|
OneOffVersioned |
VersionControlSvrService.constructNewOneOffVersion(OneOffVersioned version)
Constructs a new in-line version from the given version. |
WTValuedMap |
VersionControlSvrService.constructNewOneOffVersions(WTCollection versions)
Supported API: false |
Iterated |
VersionControlSvrService.newIterationForNonWTObject(Iterated iteration)
|
Versioned |
VersionControlServiceFwd.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
VersionControlServiceFwd.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlServiceFwd.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlServiceFwd.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
VersionControlServiceFwd.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
VersionControlServiceFwd.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
VersionControlServiceFwd.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
VersionControlServiceFwd.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
VersionControlServiceFwd.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
VersionControlServiceFwd.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlServiceFwd.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlServiceFwd.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
VersionControlServiceFwd.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
VersionControlServiceFwd.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlServiceFwd.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlServiceFwd.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
VersionControlServiceFwd.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
VersionControlServiceFwd.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
VersionControlServiceFwd.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
VersionControlServiceFwd.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
VersionControlServiceFwd.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
VersionControlServiceFwd.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
VersionControlServiceFwd.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
VersionControlServiceFwd.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
VersionControlServiceFwd.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
VersionControlServiceFwd.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
VersionControlServiceFwd.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
VersionControlServiceFwd.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
VersionControlServiceFwd.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
VersionControlServiceFwd.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
VersionControlServiceFwd.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
VersionControlServiceFwd.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
VersionControlServiceFwd.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
VersionControlServiceFwd.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
VersionControlServiceFwd.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
private static VersionControlServiceEvent |
VersionControlServiceEvent.createSingleObjectMergeEvent(String eventType,
Versioned newIter,
Versioned source,
Versioned destination)
|
(package private) static void |
VersionControlServiceEvent.fireSingleObjectMergeEvent(ManagerService managerService,
String eventType,
Versioned newIter,
Versioned source,
Versioned destination)
|
private static VersionControlServiceEvent |
VersionControlServiceEvent.createMultiObjectMergeEvent(String eventType,
WTValuedMap sourceToDestinationsMap,
WTValuedMap sourceToNewIterationsMap,
WTValuedMap newIterationToDestinationsMap,
WTValuedMap destinationToNewIterationMap)
|
(package private) static void |
VersionControlServiceEvent.fireMultiObjectMergeEvent(ManagerService managerService,
String eventType,
WTValuedMap sourceToDestinationsMap,
WTValuedMap sourceToNewIterationsMap,
WTValuedMap newIterationToDestinationsMap,
WTValuedMap destinationToNewIterationMap)
|
Versioned |
VersionControlService.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
VersionControlService.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlService.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
VersionControlService.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
VersionControlService.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
VersionControlService.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
VersionControlService.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
VersionControlService.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
VersionControlService.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
VersionControlService.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlService.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
VersionControlService.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
VersionControlService.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
VersionControlService.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlService.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
VersionControlService.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
VersionControlService.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
VersionControlService.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
VersionControlService.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
VersionControlService.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
VersionControlService.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
VersionControlService.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
VersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
VersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
VersionControlService.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
VersionControlService.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
VersionControlService.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
VersionControlService.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
VersionControlService.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
VersionControlService.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
VersionControlService.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
VersionControlService.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
VersionControlService.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
VersionControlService.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
VersionControlService.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
static Iterated |
VersionControlServerHelper.getLatestIteration(long branchId)
Gets the "latest" iteration in specified branch. |
static void |
VersionControlServerHelper.initalizeIterationCookies(Iterated iteration)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
static ControlBranch |
VersionControlServerHelper.getControlBranch(Iterated iteration)
Supported API: false |
static WTCollection |
VersionControlServerHelper.getControlBranches(WTCollection iterations)
Supported API: false |
static void |
VersionControlServerHelper.setBranchIdentifier(Iterated iteration,
long branchId)
Supported API: false |
static void |
VersionControlServerHelper.removeControlBranchFor(Iterated iteration)
This will remove a ControlBranch entry from the DataBase. |
static Versionable |
VersionControlServerHelper.restoreVersionable(VersionForeignKey key)
Supported API: false |
static void |
VersionControlServerHelper.inflateControlBranchesOf(WTCollection wtCollOfIteratedObjs)
Supported API: false |
static WTHashSet[] |
VersionControlServerHelper.groupByMaster(WTCollection iterations)
To group iterations according to master reference. |
static WTArrayList[] |
VersionControlServerHelper.groupByBranch(WTCollection iterations)
To group iterations according to branch identifier. |
static void |
VersionControlServerHelper.initalizeIterationCookies(WTCollection iterations)
NOTE: This should only be a Server side API Initalize the IterationInfo and VersionInfo of the iterated object. |
static Iterated |
VersionControlServerHelper.getLatestIteration(long branchId,
Class iteratedClass)
Gets the "latest" iteration of the given class in the specified branch. |
static void |
VersionControlServerHelper.setLatestIfNecessary(Iterated iteration)
|
protected static void |
VersionControlServerHelper.makeLatest(Iterated newLatestIteration)
|
protected static void |
VersionControlServerHelper.makeLatest(Iterated oldLatestIteration,
Iterated newLatestIteration)
|
static Iterated |
VersionControlHelper.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Gets the "latest" iteration in the same branch as the given one. |
static void |
VersionControlHelper.setVersionIdentifier(Versioned version,
VersionIdentifier identifier)
Sets the series value of the version. |
static VersionIdentifier |
VersionControlHelper.getVersionIdentifier(Versioned version)
Gets the series value of the version. |
static void |
VersionControlHelper.incrementVersionId(Versioned version)
For the given Iteration, Increment the VersionIdentifier of the Iteration. |
static VersionIdentifier |
VersionControlHelper.nextVersionId(Versioned version)
For the given Iteration, answer the next VersionIdentifier in the series Supported API: true |
static VersionIdentifier |
VersionControlHelper.newBranchVersionId(Versioned version)
Supported API: true |
static void |
VersionControlHelper.setIterationIdentifier(Iterated iteration,
IterationIdentifier identifier)
Sets the series value of the iteration. |
static IterationIdentifier |
VersionControlHelper.firstIterationId(Iterated iteration)
For the given Iterated object, return the First IterationIdentifier for the series Supported API: true |
static IterationIdentifier |
VersionControlHelper.getIterationIdentifier(Iterated iteration)
Gets the series value of the iteration. |
static void |
VersionControlHelper.incrementIterationId(Iterated iteration)
For the given Iteration, Increment the IterationIdentifier of the Iteration. |
static IterationIdentifier |
VersionControlHelper.nextIterationId(Iterated iteration)
For the given Iteration, answer the next IterationIdentifier in the series Supported API: true |
static long |
VersionControlHelper.getBranchIdentifier(Iterated iteration)
Gets the value of the iteration's branch id typed as it is returned from the POM's OID pool. |
static void |
VersionControlHelper.setIterationModifier(Iterated iteration,
WTPrincipalReference creator)
Sets the creator/updater of the iteration. |
static WTPrincipalReference |
VersionControlHelper.getIterationModifier(Iterated iteration)
Gets the creator/updater (reference) of the iteration. |
static WTPrincipalReference |
VersionControlHelper.getVersionCreator(Iterated iteration)
Gets the creator (reference) of the version. |
static void |
VersionControlHelper.setNote(Iterated iteration,
String note)
Sets the note explaining why the iteration was created. |
static String |
VersionControlHelper.getNote(Iterated iteration)
Gets the note explaining why the iteration was created. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
Mastered master)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that belong to the same master. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
long branchId)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are in a branch. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
boolean latest)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are the "latest" iteration(s). |
static Enumeration |
VersionControlHelper.getInlinedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the inlined (non-branched) versions from the given version within the given list containing all the found versions. |
static Enumeration |
VersionControlHelper.getBranchedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the branched versions from the given version within the given list containing all the found versions. |
static Enumeration |
VersionControlHelper.getThreadedVersionsFrom(Versioned version,
QueryResult versions)
Gets all of the threaded (inlined and branched) versions from the given version within the given list containing all the found versions. |
static Iterated |
VersionControlHelper.getLatestIteration(Iterated iteration)
Deprecated. |
static boolean |
VersionControlHelper.inSameBranch(Iterated iterationA,
Iterated iterationB)
Tests if two iterations are in the same version branch. |
static void |
VersionControlHelper.setOneOffVersionIdentifier(OneOffVersioned version,
OneOffVersionIdentifier identifier)
Sets the one-off identifier. |
static OneOffVersionIdentifier |
VersionControlHelper.getOneOffVersionIdentifier(OneOffVersioned version)
Gets the series value of the version. |
static SearchCondition |
VersionControlHelper.getSearchCondition(Class target,
WTCollection objects,
boolean notIntheBranch)
Gets a SearchCondition to be appended to a query to find object(s) of the target class that are in a branch. |
static Iterated |
VersionControlHelper.assignIterationCreator(Iterated iteration,
WTPrincipalReference creator)
Assigns a creator on the given iterated object to the given principal. |
static Iterated |
VersionControlHelper.assignIterationBranch(Iterated iteration,
long branchId,
boolean latest)
Assigns a branch id and latest flag on the given iterated object to the given branch id and latest flag. |
static MultilevelSeries |
VersionControlHelper.getVersionIdentifierSeries(Versioned version)
Internal API used to get the correct series type (using the rules service) when revising a version. |
protected static MultilevelSeries |
VersionControlHelper.getVersionIdentifierSeriesFromSeriesName(String seriesName)
Convenience API for getInitialVersionInfo and getVersionIdentifierSeries . |
private static String |
VersionControlHelper.getSeedType(Versioned version,
String seriesName)
|
protected static WTKeyedMap |
VersionControlHelper.getVersionIdentifierSeries(WTCollection versions)
|
private static WTKeyedMap |
VersionControlHelper.getSeedType(WTKeyedMap versionToSeriesNameMap)
|
OneOffVersioned |
StandardVersionControlSvrService.constructNewOneOffVersion(OneOffVersioned version)
Constructs a new in-line version from the given version. |
WTValuedMap |
StandardVersionControlSvrService.constructNewOneOffVersions(WTCollection versions)
Supported API: false |
Iterated |
StandardVersionControlSvrService.newIterationForNonWTObject(Iterated iteration)
Makes a new iteration for non - WTObject to support 887507. |
protected void |
StandardVersionControlService.remove(Mastered master)
Removes (i.e., deletes) all of the given master's iterations. |
protected void |
StandardVersionControlService.removeMasters(WTCollection masters)
Removes (i.e., deletes) all of the given collection of master's iterations. |
protected void |
StandardVersionControlService.remove(Iterated iteration)
Removes (i.e., deletes) the given iteration. |
protected void |
StandardVersionControlService.removeIterations(WTCollection iterations)
Removes (i.e., deletes) the given colection of iterations. |
protected void |
StandardVersionControlService.restore(WTCollection iterations)
Restores the collection of iteration's creator, predecessor, and master reference. |
protected void |
StandardVersionControlService.signalPersistenceOf(Iterated iteration)
Signals to any interested service by dispatching an event that a new version has just been stored. |
protected void |
StandardVersionControlService.signalPersistenceOf(WTCollection iterations)
Supported API: false |
protected void |
StandardVersionControlService.storeMasterOf(WTCollection iterations)
Stores the given iteration's master if it is not already persistent. |
protected void |
StandardVersionControlService.storeControlBranchOf(WTCollection iterations)
Stores the given iteration's ControlBranch if it is not already persistent. |
protected void |
StandardVersionControlService.validateDeletionOf(WTCollection iterations)
Validates whether or not the deletion of the given collection of iterations is appropriate. |
protected void |
StandardVersionControlService.validateReferencesOf(ObjectToVersionLink link)
Validates [if necessary] the object and version references to correctly refer to the role A and B objects, respectively. |
protected void |
StandardVersionControlService.validateReferencesOf(VersionToVersionLink link)
Validates [if necessary] the version references to correctly refer to the role A and B objects. |
Versioned |
StandardVersionControlService.newBranch(Versioned version)
Makes a new branched version from the given one using it as a branch point, which may or may not be the "latest" iteration. |
Versioned |
StandardVersionControlService.newVersion(Versioned version)
Makes a new in-lined version from the given version. |
Versioned |
StandardVersionControlService.newVersion(Versioned version,
VersionIdentifier version_id,
IterationIdentifier iteration_id)
Makes a new in-lined version from the given version. |
Versioned |
StandardVersionControlService.newUncontrolledVersion(Versioned version)
Makes a new version from the given version. |
Iterated |
StandardVersionControlService.newIteration(Iterated iteration)
Deprecated. |
AdHocStringVersioned |
StandardVersionControlService.newAdHocStringVersion(AdHocStringVersioned version,
String adHocVersionId)
Creates a new in-line version with the given adHocVersionId assigned. |
OneOffVersioned |
StandardVersionControlService.newOneOffVersion(OneOffVersioned version)
Creates a new in-line version from the given version. |
Versionable |
StandardVersionControlService.newVersionable(Versionable version)
API intended to be called internally by any API that intends to create a new version. |
Iterated |
StandardVersionControlService.supersede(Iterated iteration,
Iterated replacement)
Supersedes the first iteration with the other iteration. |
Iterated |
StandardVersionControlService.rollback(Iterated iteration,
Iterated reversion)
Deletes all iterations starting at the latest iteration in a version back to, but not including, a specified iteration in the same version. |
Iterated |
StandardVersionControlService.rollup(Iterated iteration,
Iterated culmination)
Deletes all iterations starting at the first iteration in a version up to, but not including, a specified iteration in the same version. |
Iterated |
StandardVersionControlService.predecessorOf(Iterated iteration)
Finds the predecessor of the iteration. |
boolean |
StandardVersionControlService.isFirstIteration(Iterated iteration)
Tests if the given iteration is the first one in the version branch. |
Iterated |
StandardVersionControlService.insertIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
StandardVersionControlService.appendIteration(Iterated target)
This client accessable API expects that the IterationInfo and VersionInfo cookie data has been constructed correctly. |
Iterated |
StandardVersionControlService.copyBranchInfo(Iterated source,
Iterated target)
Supported API: false |
void |
StandardVersionControlService.setSuccessorVersionable(Iterated target,
QueryResult successors)
The predecessor links are managed during new object creation and via the successor method. |
void |
StandardVersionControlService.setSuccessorVersionable(Iterated target,
Versionable successor)
The predecessor links are managed during new object creation and via the successor method. |
Iterated |
StandardVersionControlService.newIteration(Iterated iteration,
boolean copyAttributes)
Makes a new iteration/version as a copy from the given one, and does not increment its identifiier. |
Iterated |
StandardVersionControlService.getLatestIteration(Iterated iteration,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the given one. |
void |
StandardVersionControlService.deleteIterations(Iterated beginIteration,
Iterated endIteration)
Deletes all iterations between beginIteration and endIteration of same version. |
void |
StandardVersionControlService.deleteIterations(WTCollection iterations,
ConflictResolution[] resolvers)
This is for deletion of selective iterations. |
Iterated |
StandardVersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid)
Inserts the target node into the version tree of the object. |
Iterated |
StandardVersionControlService.insertNode(Iterated target,
Ufid targetUfid,
Ufid predBranchPointUfid,
Ufid[] inwardMergeUfids,
Ufid[] outwardMergeUfids)
Inserts the target node into the version tree of the object. |
Ufid |
StandardVersionControlService.getPredBranchPointUfid(Iterated target)
Gets the Ufid of the node from which target node's version branched. |
Ufid |
StandardVersionControlService.getUfidOf(Iterated target)
Gets the Ufid of the node. |
Ufid[] |
StandardVersionControlService.getInwardsMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "from node" of merges terminating on the target node. |
Ufid[] |
StandardVersionControlService.getOutwardMergesOf(Iterated target)
Gets the Ufids of all nodes which form the "to node" of merges originating on the target node. |
WTValuedMap |
StandardVersionControlService.newIterations(WTCollection iterations)
Deprecated. |
WTValuedMap |
StandardVersionControlService.newIterations(WTCollection iterations,
boolean copyAttributes)
Deprecated. |
WTValuedMap |
StandardVersionControlService.supersede(WTValuedMap iterationReplacementMap)
Supersedes each iteration passed as the key in the WTValuedMap with the corresponding iteration value in the WTValuedMap. |
WTValuedMap |
StandardVersionControlService.newVersions(WTCollection versions)
Makes a new in-lined version from the given version. |
WTValuedMap |
StandardVersionControlService.newVersions(WTKeyedMap versionMap)
Makes a new in-lined version from the given version. |
WTList |
StandardVersionControlService.newVersionables(WTList versions)
API intended to be called internally by any API that intends to create a new version. |
WTValuedMap |
StandardVersionControlService.getLatestIterations(WTCollection iterations,
boolean includeMarkedForDelete)
Get the "latest" iteration in the same branch as the ones passed in the collection. |
private Iterated |
StandardVersionControlService.insertIteration(Iterated predecessor,
Iterated target,
Iterated successor)
|
protected QueryResult |
StandardVersionControlService.orderedIterationsOf(QueryResult iterations)
|
protected Vector |
StandardVersionControlService.iterationsBetween(Iterated first,
boolean include_first,
Iterated last,
boolean include_last)
Find all succeeding iterations between two iterations. |
private void |
StandardVersionControlService.processPostMultiDelete(Object[] objectsToDelete)
|
private void |
StandardVersionControlService.makeChainAndAdjust(WTArrayList iterations,
WTHashSet deleteList,
HashMap postRollupMap,
HashMap postRollbackMap)
|
private WTHashSet |
StandardVersionControlService.prepareIterationChainForDelete(WTArrayList iterations,
WTHashSet analyzed,
HashMap postRollupMap,
HashMap postRollbackMap)
|
private Iterated |
StandardVersionControlService.getFirstIterationOf(long branchId)
|
private View[] |
StandardVersionControlService.getParentViews(Hashtable insNodeTable)
|
private Iterated |
StandardVersionControlService.getBestMatchPredecessor(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.fillTargetDetails(Hashtable insNodeTable)
|
private void |
StandardVersionControlService.insertNodeVerifyTarget(Iterated target,
Ufid targetUfid)
|
private Iterated |
StandardVersionControlService.insertNode(Iterated target,
Hashtable insNodeTable)
Performs the insertion -- if master not persisted, persist the object and its CB -- else if the version of target exists, do an insertIteration -- else do an insertVersion |
private QueryResult |
StandardVersionControlService.getControlBranchesOf(Versioned target)
|
private void |
StandardVersionControlService.insertNodeGetSuccessors(Hashtable insNodeTable)
|
private boolean |
StandardVersionControlService.isPredecessor(Versioned low,
Versioned high)
|
private Iterated |
StandardVersionControlService.insertNodeVersion(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.createMerge(Versioned target,
Ufid other,
boolean inwards)
|
private void |
StandardVersionControlService.insertNodeCreateMerges(Iterated target,
Hashtable insNodeTable)
|
private void |
StandardVersionControlService.insertNodeUpdateSuccessors(Iterated target,
Hashtable insNodeTable)
|
private Iterated |
StandardVersionControlService.insertNodeIteration(Iterated target)
|
private Iterated |
StandardVersionControlService.getBranchPointOf(Iterated target)
|
Series |
OneOffVersionIdentifier.getSeries()
Supported API: true |
Series |
IterationIdentifier.getSeries()
Supported API: true |
Constructors in wt.vc that throw VersionControlException | |
VersionControlServiceEvent(String eventType,
Versioned eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Object eventTarget)
Constructs an service's event from the event type and object target. |
|
VersionControlServiceEvent(String eventType,
Vector eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Iterated eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Iterated eventTarget,
Object auxEventData)
Constructs an versioning service's event from the event type, target object, and auxiliary object. |
|
VersionControlServiceEvent(String eventType,
WTCollection eventTarget)
Constructs a versioning service's event from the event type, multiple target objects as WTCollection . |
|
VersionControlServiceEvent(String eventType,
WTCollection eventTarget,
Object auxEventData)
Constructs an versioning service's event from the event type, target collection, and auxiliary object. |
|
VersionControlServiceEvent(String eventType,
WTValuedMap eventTarget)
Constructs a versioning service's event from the event type, WTValuedMap with target objects as key and auxiliary objects as values. |
|
VersionControlServiceEvent(String eventType,
Versioned eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Object eventTarget)
Constructs an service's event from the event type and object target. |
|
VersionControlServiceEvent(String eventType,
Vector eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Iterated eventTarget)
Constructs an versioning service's event from the event type and target. |
|
VersionControlServiceEvent(String eventType,
Iterated eventTarget,
Object auxEventData)
Constructs an versioning service's event from the event type, target object, and auxiliary object. |
|
VersionControlServiceEvent(String eventType,
WTCollection eventTarget)
Constructs a versioning service's event from the event type, multiple target objects as WTCollection . |
|
VersionControlServiceEvent(String eventType,
WTCollection eventTarget,
Object auxEventData)
Constructs an versioning service's event from the event type, target collection, and auxiliary object. |
|
VersionControlServiceEvent(String eventType,
WTValuedMap eventTarget)
Constructs a versioning service's event from the event type, WTValuedMap with target objects as key and auxiliary objects as values. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |