[Chandler-dev] Questions about repository

Andi Vajda vajda at osafoundation.org
Wed Jul 18 16:32:57 PDT 2007


On Mon, 16 Jul 2007, Grant Baillie wrote:

> I don't know of a repository timestamp, but if there were one, Andi would 
> know. However, user-initiated changes (i.e. ones the user makes in the UI) 
> are usually accompanied by a change to the 
> lastModified/lastModifiedBy/lastModification attributes. So, possibly those 
> values could be used?

Both the repository and view objects have a number of APIs that make it 
possible to display version history pertaining to them:

  printVersions()
  printItemVersions(item)
  printItemChanges(item)

That last method does not display the timestamp of a version but it's 
available and it would be easy to add it to the output. While the first two 
display the timestamp the last one doesn't, it was thought to be more concise 
that way.

Andi..


More information about the chandler-dev mailing list