Class DDSStandardSearchResult

java.lang.Object
org.dlese.dpc.dds.DDSStandardSearchResult

public final class DDSStandardSearchResult extends Object
Author:
John Weatherley
See Also:
  • Constructor Details

    • DDSStandardSearchResult

      public DDSStandardSearchResult()
      Constructor for the DDSStandardSearchResult object
    • DDSStandardSearchResult

      public DDSStandardSearchResult(ResultDocList results, Exception exception, String forwardName)
      Constructor for the DDSStandardSearchResult object
      Parameters:
      results - The search results.
      exception - An Exception if one occured, or null
      forwardName - The name that describes which page to forward to to render the results.
  • Method Details

    • getResults

      public ResultDocList getResults()
      Gets the search results.
      Returns:
      The results value
    • getException

      public Exception getException()
      Gets the Exception if one occured, or null if none.
      Returns:
      An Exception or null
    • getForwardName

      public String getForwardName()
      Gets the name of the page to forward to, which is one of 'simple.query' or 'whats.new.query'.
      Returns:
      The forwardName value