Patent ID: 8010887

Claim:
A method for supporting versioning of data in a content management system, said method comprising: maintaining a first table, by a computer, to store an identifier of a most recent version of a data item; and maintaining a second table, by said computer, to store an identifier of an older version of said data item, wherein, when said data item is to be updated, (i) said second table is updated to include said identifier of said most recent version of said data from said first table, so that said second table stores both of said identifier of said older version of said data item and said identifier of said most recent version of said data item, and (ii) said first table is updated to store an identifier of a new version of said data item, wherein a request for a version number zero (0) of said data item as part of a query, a retrieve operation, or an update operation is interpreted as a request for said data item in accordance with said identifier of said new version of said data item in said first table, and wherein a request for a version number zero (0) of said data item as part of a delete operation is interpreted as a request for said data item in accordance with an identifier of an oldest version of said data item in said second table.