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 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 givensInfo
.
-
-
-
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 forDavResource.getProperty(SearchConstants.QUERY_GRAMMER_SET)
.- Specified by:
getQueryGrammerSet
in 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:
search
in interfaceSearchResource
- 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)
-
-