If I remember correctly, searchRequestElement is a xml jdom element which contains the complete search criteria. the grammareUri is the namespace uri defined in this jdom element.
There is a sample in : jakarta-slide\src\webdav\server\org\apache\slide\webdav\method\SearchMethod.java.
So, we are at least 2 (you and me :-) ) who are using Slide without the webdav layer.
Now, I have a question for the committers : is it not interesting to have less coupling between the webdav layer and this search helper class. My point of view is it is better to have a real "data object" instead of a jdom element.
I have no idea on how to build this jdom element if I'm not using the webdav layer. Or at least, maybe someone can point to a document which describe how to build those parameters.


Christophe

Antonio Jean Claude wrote:

Hello again Sliders,

I try to use the SearchQuery (see code below) but I have no clue on how to use the 
String grammarUri and the Element searchRequestElement.
I looked in the newsgroup archive without success.
Does anyone know how to construct a simple query on name?

Thanks. I'm using Slide2.0

JClaude

Search searchHelper = token.getSearchHelper();
SearchQuery searchQuery = searchHelper.createSearchQuery
               (grammarUri?, searchRequestElement?, slideToken, maxDepth);

---------------------------------------------------------------------
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