Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.RTRetrieveRevision

Returns a specific version for a revision-tracked table.

The results returned will be identical to a "select *" against the tracked table, assuming the table had been rolled back to the specified version.

This method has two variants:


ICS.RTRetrieveRevision

Returns a specific version for a tracked table.

Syntax

Parameters

strTableName
The name of the tracked table.

strAsset
The asset to get the results for.

nVersion
The version number of the edits.

listname
The name of the list to store the results.

Description

The RTRetrieveRevision method returns a specific version for a revision-tracked table. The results returned will be identical to a "select *" against the tracked table, assuming the table had been rolled back to the specified version.

Returns

Returns the list that stores the results.


ICS.RTRetrieveRevision

Returns a specific version for a revision-tracked table.

Syntax

Parameters

strTableName
The name of the tracked table.

strAsset
The asset to get the results for.

strVersion
The version number of the edits.

listname
The name of the list that stores the results.

Description

The RTRetrieveRevision method returns a specific version for a revision-tracked table. The results returned will be identical to a "select *" against the tracked table, assuming the table had been rolled back to the specified version.

This version of the command allows a string version number, "first", "last", or a date (in the format of "YYYY-MM-DD HH:MM:SS"). "first" and "last" return the first and last revisions, while a date will return the revision that was or is current as of the specified date.

Returns

Returns the list that stores the results.

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.