Interface SearchModule
- All Known Implementing Classes:
StaticSearchModule
public interface SearchModule
Interface for search module
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the idint
getLimit()
Get the number of results per pageint
Get the number of results per page on the main page (should be smaller thangetLimit()
)int
getOrder()
Get the module order, smaller order means that it is displayed beforeGet the search urlgetTitle()
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
int getMinLimit()Get the number of results per page on the main page (should be smaller thangetLimit()
)- 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
-