[Chandler-dev] Questions about repository
Vera
vera46 at gmail.com
Thu Jul 19 15:32:23 PDT 2007
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 <vajda at osafoundation.org> 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..
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20070720/f59ba2dd/attachment.html
More information about the chandler-dev
mailing list