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 String
getId()
Get the idint
getLimit()
Get the number of results per pageint
getMinLimit()
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 beforeString
getSearchUrl()
Get the search urlI18nizableText
getTitle()
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
-
-