org.apache.jackrabbit.webdav.jcr.search
Class SearchResourceImpl

java.lang.Object
  extended by org.apache.jackrabbit.webdav.jcr.search.SearchResourceImpl
All Implemented Interfaces:
SearchResource

public class SearchResourceImpl
extends Object
implements SearchResource

SearchResourceImpl...


Field Summary
 
Fields inherited from interface org.apache.jackrabbit.webdav.search.SearchResource
METHODS
 
Constructor Summary
SearchResourceImpl(DavResourceLocator locator, JcrDavSession session)
           
 
Method Summary
 QueryGrammerSet getQueryGrammerSet()
          Returns the protected DAV:supported-method-set property which is defined mandatory by RTF 3253.
 MultiStatus search(SearchInfo sInfo)
          Execute the query defined by the given sInfo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResourceImpl

public SearchResourceImpl(DavResourceLocator locator,
                          JcrDavSession session)
Method Detail

getQueryGrammerSet

public QueryGrammerSet getQueryGrammerSet()
Description copied from interface: SearchResource
Returns the protected DAV:supported-method-set property which is defined mandatory by RTF 3253. This method call is a shortcut for DavResource.getProperty(SearchConstants.QUERY_GRAMMER_SET).

Specified by:
getQueryGrammerSet in interface SearchResource
Returns:
the DAV:supported-query-grammer-set
See Also:
SearchResource.getQueryGrammerSet()

search

public MultiStatus search(SearchInfo sInfo)
                   throws DavException
Execute the query defined by the given sInfo.

Specified by:
search in interface SearchResource
Parameters:
sInfo - SearchInfo element encapsulating the SEARCH request body.
Returns:
MultiStatus object listing the results.
Throws:
DavException
See Also:
SearchResource.search(org.apache.jackrabbit.webdav.search.SearchInfo)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.