FYI,
Here is my query
String searchQuery = "<?xml version=\"1.0\"?>";
searchQuery = searchQuery + "<D:searchrequest xmlns:D = \"DAV:\">";
searchQuery = searchQuery + "<D:sql>";
searchQuery = searchQuery + "SELECT \"DAV:displayname\" ";
searchQuery = searchQuery + "FROM scope('deep traversal of \"/users/" +
userDetails + "\"') ";
searchQuery = searchQuery + "WHERE \"DAV:ishidden\" = false ";
searchQuery = searchQuery + "AND \"DAV:isfolder\" = true ";
searchQuery = searchQuery + "</D:sql>";
searchQuery = searchQuery + "</D:searchrequest>";
On Tue, 18 Jan 2005 10:15:37 +0530, IndianAtTech <[EMAIL PROTECTED]> wrote:
> Thanks James,
>
> I got the results through DASL search query. thanks for your idea
>
> Regards
> Sudhakar
>
>
> On Mon, 17 Jan 2005 20:34:42 -0800, James Mason <[EMAIL PROTECTED]> wrote:
> > You might be able to do this with a DASL search, but I don't know of any
> > way to limit a PROPFIND like that.
> >
> > -James
> >
> > On Mon, 2005-01-17 at 14:56 +0530, IndianAtTech wrote:
> > > Hello Friends,
> > >
> > > In oder to get the folders list, I am working something like below
> > >
> > > java.io.File folders[] = webFile.listFiles();
> > >
> > > for (int i = 0; i < folders.length; i++) {
> > > // process all objects present in this folder
> > > System.err.println("Sub URL:"+folders[i]);
> > >
> > > }
> > >
> > >
> > >
> > > But the problem is I am getting all files and folders list from the
> > > web resouce. So I need to check the resource using
> > > folders[i].isDirectory() in order to get the folders list , hence my
> > > application gives poor performance (each folder contains 5000 -
> > > 50,000 files -approx)
> > >
> > > So could any body tell me, if there is a method where I can get the
> > > folders list directly
> > >
> > > In otherwords, I am looking at methods as listed below
> > >
> > > webFile.listAll() -> if user wants all files and directories
> > > webFile.listFiles() -> get only files
> > > webFile.listDirectories() -> Get only directories.
> > >
> > > Is it possible with current slide API??
> > >
> > >
> > > Thanks
> > > Sudhakar.
> > >
> > > ---------------------------------------------------------------------
> > > 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]