Interface SearchModule

All Known Implementing Classes:
StaticSearchModule

public interface SearchModule
Interface for search module
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the id
    int
    Get the number of results per page
    int
    Get the number of results per page on the main page (should be smaller than getLimit())
    int
    Get the module order, smaller order means that it is displayed before
    Get the search url
    Get the title of the search
  • Method Details

    • getId

      Get the id
      Returns:
      the id
    • getTitle

      Get the title of the search
      Returns:
      title of the module
    • getSearchUrl

      Get the search url
      Returns:
      URL to fetch for search
    • getLimit

      int getLimit()
      Get the number of results per page
      Returns:
      Max number of results on the module view
    • getMinLimit

      Get the number of results per page on the main page (should be smaller than getLimit())
      Returns:
      Max number of results on the main view
    • getOrder

      int getOrder()
      Get the module order, smaller order means that it is displayed before
      Returns:
      The module order value