Hi Jacob,

I didn't manage to propfind the checked-in or checked-out 
properties with client methods. Because also the Slide client 
doesn't return the property I suppose it's not possible.

I get these properties on the server side with the following 
code:

  NodeRevisionDescriptors revisionDescriptors =
  content.retrieve(slideToken, currentResource);
  // Retrieve latest revision descriptor
  currentDescriptor 
        = content.retrieve(slideToken, revisionDescriptors);
            
  NodeProperty checkedIn 
     = currentDescriptor.getProperty("checked-in");
  NodeProperty checkedOut 
     = currentDescriptor.getProperty("checked-out");

  (String)checkedIn.getValue() or (String)checkedOut.getValue() 
then give you something like
  <D:href xmlns:D="DAV:">/history/51/1.1</D:href>

Note: Only one of both is set for a file, none for a collection.

Andreas



> Thanks,
> 
> But how do I see if a property has DAV:checked-in as a live property!
> Propfind or report? Or something else?
> 
> My problem is that I am making a client app - and I want to know the
> "state" of the resource!
> 
> /Jacob
> 
> -----Original Message-----
> From: Julian Reschke [mailto:[EMAIL PROTECTED]] 
> Sent: 2. oktober 2002 13:37
> To: Slide Users Mailing List
> Subject: RE: Check if VCR
> 
> 
> A VCR has DAV:checked-in and DAV:checked-out as live properties, and one
> of them is always present.
> 
> A VR has several live properties you can rely on, such as
> DAV:version-name.
> 
> --
> <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> 
> > -----Original Message-----
> > From: Jacob Lund [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 02, 2002 1:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: Check if VCR
> >
> >
> > Hi all!
> >
> > How to I check if a resource is a VR or a VCR? The options command 
> > only returns the available options on a resource! Do I use REPORT? I 
> > this case what do I ask for DAV:version-controlled-resource?
> >
> > I know this is more deltaV than slide! I hope that it is ok!
> >
> > /Jacob
> >
> >
> > --
> > To unsubscribe, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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

Reply via email to