hi remy,
  In which package do you think that i should put the DASLQuery class in.
     thanks,
     rajkumar

-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 10:50 PM
To: [EMAIL PROTECTED]
Subject: Re: multiple PUT operations


> hi remy,
>   In order for us to build an xml search string of the format
>
>   <D:where>
>   <D:and>
>     <D:eq>
>       <D:prop> <D:getcontenttype/> </D:prop>
>       <D:literal> image/gif </D:literal>
>     </D:eq>
>     <D:gt>
>       <D:prop> <D:getcontentlength/> </D:prop>
>       <D:literal> 4096 </D:literal>
>     </D:gt>
>   </D:and>
> </D:where>
>
> for DAV:basicsearch ,in what format would a client need to specify the
query
> criteria
> which we could use to build a xml string like above. Do you have any ideas
> on this?

Well, I guess a fancy graphical query builder would be nice :)

First, we need an object representation of the query (which will be used on
both the server and the client side). Then add a setQuery(DASLQuery query)
method to org.apache.webdav.lib.methods.SearchMethod. Then code some end
user code able to generate the object structure.

At least, that's how I would do it ...

Remy

Reply via email to