Interface SnSearchListener

All Known Implementing Classes:
CatalogVersionFilterSnSearchListener, SnAsSearchProfileCalculationListener

public interface SnSearchListener
Listener for search operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Handles a notification that the search operation has just completed.
    default void
    Handles a notification that the search operation failed (this may also be due to listeners failing).
    default void
    Handles a notification that the search operation is about to begin execution.
  • Method Details

    • beforeSearch

      default void beforeSearch(SnSearchContext context) throws SnSearchException
      Handles a notification that the search operation is about to begin execution.
      Parameters:
      context - - the search context
      Throws:
      SnSearchException - if an error occurs
    • afterSearch

      default void afterSearch(SnSearchContext context) throws SnSearchException
      Handles a notification that the search operation has just completed.
      Parameters:
      context - - the search context
      Throws:
      SnSearchException - if an error occurs
    • afterSearchError

      default void afterSearchError(SnSearchContext context) throws SnSearchException
      Handles a notification that the search operation failed (this may also be due to listeners failing).
      Parameters:
      context - - the search context
      Throws:
      SnSearchException - if an error occurs