Class SearchTool


  • public class SearchTool
    extends Object
    Utility methods to do searches from within Automation
    Since:
    8.6.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • SearchTool

        public SearchTool()
    • Method Detail

      • newSearch

        public Search newSearch​(SearchOptions options)
        Factory method for searches.
        Parameters:
        options - the search criteria
        Returns:
        a Search instance for the given search options
      • search

        public List<Hit> search​(SearchOptions options)
                         throws SearchException
        Instantiates a new Search
        Parameters:
        options - the search criteria
        Returns:
        The list of hits that satisfy the search criteria
        Throws:
        SearchException - Raised in case of an error during the search