Thank you very much for your replies!

After looking at printItemVersions I could retrieve the needed timestamp
using "getCommit()" that returns this information.

Vera.

On 7/19/07, Andi Vajda <[EMAIL PROTECTED]> wrote:


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..

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to