Class SearchResourceImpl
- java.lang.Object
-
- 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
Constructors Constructor Description SearchResourceImpl(DavResourceLocator locator, JcrDavSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryGrammerSetgetQueryGrammerSet()Returns the protected DAV:supported-method-set property which is defined mandatory by RTF 3253.MultiStatussearch(SearchInfo sInfo)Execute the query defined by the givensInfo.
-
-
-
Constructor Detail
-
SearchResourceImpl
public SearchResourceImpl(DavResourceLocator locator, JcrDavSession session)
-
-
Method Detail
-
getQueryGrammerSet
public QueryGrammerSet getQueryGrammerSet()
Description copied from interface:SearchResourceReturns the protected DAV:supported-method-set property which is defined mandatory by RTF 3253. This method call is a shortcut forDavResource.getProperty(SearchConstants.QUERY_GRAMMER_SET).- Specified by:
getQueryGrammerSetin interfaceSearchResource- 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 givensInfo.- Specified by:
searchin interfaceSearchResource- Parameters:
sInfo-SearchInfoelement encapsulating the SEARCH request body.- Returns:
MultiStatusobject listing the results.- Throws:
DavException- See Also:
SearchResource.search(org.apache.jackrabbit.webdav.search.SearchInfo)
-
-