[Chandler-dev] Questions about repository
Grant Baillie
grant at osafoundation.org
Mon Jul 16 09:51:42 PDT 2007
Hi, Vera
My answers are inline ... Morgen/bkirsch/Andi might have more in-
depth information, though.
--Grant
On 15 Jul, 2007, at 08:29, Vera wrote:
> Hi guys,
>
> I am back with more questions, for the project reports project.
> Thank you in advance for any help with these.
>
> 1) Does an item that is received from someone, has a special stamp
> in the repository for the time when it is received? From what I saw
> the item's createdOn attribute receives the time of that item
> arrival, is it correct? Are receivedOn (if it exists) and createdOn
> equivalent?
If it's received via sharing, the share itself knows the time of last
sync, I believe, but I'm not sure how you would extract that, or if
it's possible in general. Morgen would know better than I.
In the case of receiving by mail, so far as I can tell there's no
"dateReceived" attribute. There is a dateSent attribute (on
MailStamp) that's used to say when the message got sent, but that
might be some time from when it was actually received by the user.
Here, Brian Kirsch is the expert.
> 2) For the purposes of reporting, I need to access historical
> information about the item. Currently I am aware only of the
> version numbers as the way to manipulate historical information of
> a view. Is it possible to access the attribute of the timestamp
> associated with each version of an item? As in at what time this
> version was created.
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?
--Grant
More information about the chandler-dev
mailing list