Interface SearchModule
-
- All Known Implementing Classes:
StaticSearchModule
public interface SearchModule
Interface for search module
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Get the idintgetLimit()Get the number of results per pageintgetMinLimit()Get the number of results per page on the main page (should be smaller thangetLimit())intgetOrder()Get the module order, smaller order means that it is displayed beforeStringgetSearchUrl()Get the search urlI18nizableTextgetTitle()Get the title of the search
-
-
-
Method Detail
-
getTitle
I18nizableText getTitle()
Get the title of the search- Returns:
- title of the module
-
getSearchUrl
String 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
-
-