public class ContentHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ContentHelper |
setFooter(java.util.function.Consumer<UIElementResultVO> consumer)
Invoke the
Consumer.accept(Object) method only if there is no logged user (i.e guest). |
ContentHelper |
setHeader(java.util.function.Consumer<UIElementResultVO> consumer)
Invoke the
Consumer.accept(Object) method only if there is no logged user (i.e guest). |
ContentHelper |
setTheme(java.util.function.Consumer<ThemeResultVO> consumer,
boolean byComponents)
Invoke the
Consumer.accept(Object) with the converted mobile theme. |
public ContentHelper setFooter(java.util.function.Consumer<UIElementResultVO> consumer)
Consumer.accept(Object) method only if there is no logged user (i.e guest).public ContentHelper setHeader(java.util.function.Consumer<UIElementResultVO> consumer)
Consumer.accept(Object) method only if there is no logged user (i.e guest).public ContentHelper setTheme(java.util.function.Consumer<ThemeResultVO> consumer, boolean byComponents)
Consumer.accept(Object) with the converted mobile theme.
If the byComponents flag is true then the result will contains the theme components: base definitions,
advanced definitions and the custom style. Otherwise the result will contains the theme content (i. e the CSS)