To clarify, the getetag property, short for "Get Entity Tag" is required
by the Http Spec (RFC2616) to change whenever the content changes and
not the WebdavSpec. Webdav is a superset of Http so it also has the
requirement.

-----Original Message-----
From: Rakesh Saha [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 12:16 AM
To: Slide Users Mailing List
Subject: Re: Slide document's LastModifiedDate

Any pointer for this ?

Rakesh Saha wrote:

> Hi All ,
>
> But what happens if the file gets modified using Slide API.
>
> Is there any other mechanism to find out the last modification 
> datetime of any Slide object. This is required for my own object cache

> to invalidate.
>
> TIA,
> Rakesh
>
> Ray Sprinkle wrote:
>
>> The Webdav spec recommends using the getetag property for this. This 
>> tag changes whenever the object is modified.  I am not sure what 
>> happens to getetag when the content of a collection is modified.
>>
>> -----Original Message-----
>> From: Rakesh Saha [mailto:[EMAIL PROTECTED] Sent: Monday, July 
>> 25, 2005 5:57 AM
>> To: slide-user@jakarta.apache.org
>> Subject: Slide document's LastModifiedDate
>>
>> Hi All ,
>>
>> I am trying to get the invalidate my custom cache based the 
>> lastmodifed date of the document stored in Slide repository.
>>
>> Firsttime it is getting the right lastmodifiedtime properly.
>> After I modify that document through webdav or slide API, but I get 
>> same lastmodifedtime although content is modified one.
>>
>> I am using following code for getting the lastmodifiedtime :
>>
>>    // Then we must get object contents ...
>>    NodeRevisionDescriptors revisionDescriptors = 
>> content.retrieve(slideToken, resourcePath);
>>
>>    if (revisionDescriptors.hasRevisions()) {
>>
>>      // Retrieve latest revision descriptor
>>      NodeRevisionDescriptor revisionDescriptor = 
>> content.retrieve(slideToken, revisionDescriptors);
>>
>>      if (revisionDescriptor != null) {            String date = 
>> revisionDescriptor.getLastModified();              
>> /System.out.println(" last date :"+date +" version 
>> :"+revisionDescriptor.getRevisionNumber());/              return
date;
>>      }
>>    }
>>
>> Is it hitting the Slide Cache [ but I am able to get the content 
>> properly] or versioning issue or it is known feature/limitation or at

>> last I am missing something [ more likely :)] ?
>>
>> TIA,
>> Rakesh
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>  
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to