Interface PageServiceModifier
- All Known Implementing Classes:
PageServiceBuilder
public interface PageServiceModifier
-
Method Summary
Modifier and TypeMethodDescriptionSets the custom id of the next button.Sets the text of the next buttonpreviousId(String id) Sets the custom id of the previous button.previousText(String text) Sets the text of the previous buttonSets the cache used to cache registered pages.Modify a new cache builder which will be used to build the underlying cache to cache registered pages.withLocalizer(ILocalizer localizer) Defined the localizer to be used to localize thepreviousText(String)andnextText(String)
-
Method Details
-
previousId
Sets the custom id of the previous button.- Parameters:
id- custom id- Returns:
- builder instance
-
nextId
Sets the custom id of the next button.- Parameters:
id- custom id- Returns:
- builder instance
-
previousText
Sets the text of the previous button- Parameters:
text- text- Returns:
- builder instance
-
nextText
Sets the text of the next button- Parameters:
text- text- Returns:
- builder instance
-
withCache
Sets the cache used to cache registered pages.- Parameters:
cache- cache instance- Returns:
- builder instance
-
withCache
Modify a new cache builder which will be used to build the underlying cache to cache registered pages.- Parameters:
cache- cache builder instance- Returns:
- builder instance
-
withLocalizer
Defined the localizer to be used to localize thepreviousText(String)andnextText(String)- Parameters:
localizer- localizer instance- Returns:
- builder instance
-