Interface IDfSearchResults

All Superinterfaces:
IDfPersistentObject, IDfSysObject, IDfTypedObject

public interface IDfSearchResults extends IDfSysObject
Represents the search results.
  • Field Details

    • ATTRIBUTE_RESULTSCOUNT

      static final String ATTRIBUTE_RESULTSCOUNT
      Specific attribute : resultscount, indicates the number of results found.
      See Also:
    • ATTRIBUTE_HASRESULTS

      static final String ATTRIBUTE_HASRESULTS
      Specific attribute : hasresults, indicates if results were found.
      See Also:
  • Method Details

    • getResultCount

      int getResultCount()
      Gets the number of results.
      Returns:
      The number of results.
    • getResultsSet

      IDfResultsSet getResultsSet()
      Gets the IDfResultsSet.
      Returns:
      An IDfResultsSet object representing a list of results.
    • areResultsSaved

      boolean areResultsSaved()
      Controls whether results are saved or not.
      Returns:
      true, if results are saved; false, otherwise.
    • setResultsSaved

      void setResultsSaved(boolean areResultsSaved)
      toggle to save or not results
    • setResultsSet

      void setResultsSet(IDfResultsSet resultSet) throws DfException
      Sets the IDfResultsSet.
      Parameters:
      resultSet - An IDfResultsSet object representing a list of results.
      Throws:
      DfException