Interface SearchResource


public interface SearchResource
SearchResource defines METHODS required in order to handle a SEARCH request.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The 'SEARCH' method
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the protected DAV:supported-method-set property which is defined mandatory by RTF 3253.
    Runs a search with the language and query defined in the SearchInfo object specified and returns a MultiStatus object listing the results.
  • Field Details

  • Method Details

    • getQueryGrammerSet

      QueryGrammerSet getQueryGrammerSet()
      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).
      Returns:
      the DAV:supported-query-grammer-set
      See Also:
    • search

      MultiStatus search(SearchInfo sInfo) throws DavException
      Runs a search with the language and query defined in the SearchInfo object specified and returns a MultiStatus object listing the results.
      Parameters:
      sInfo - SearchInfo element encapsulating the SEARCH request body.
      Returns:
      MultiStatus object listing the results.
      Throws:
      DavException