public class AboutPresenter extends Object implements AboutView.Listener
Modifier and Type | Field and Description |
---|---|
protected info.magnolia.i18nsystem.SimpleTranslator |
i18n |
protected com.vaadin.v7.data.Item |
viewData
Deprecated.
since 5.5, get view data through
getInstallationInfo() |
Constructor and Description |
---|
AboutPresenter(AboutView view,
InstanceConfigurationProvider configProvider,
info.magnolia.i18nsystem.SimpleTranslator i18n)
|
AboutPresenter(AboutView view,
InstanceConfigurationProvider configProvider,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.usagemetrics.UsageMetricsModule usageMetricsModule) |
Modifier and Type | Method and Description |
---|---|
protected void |
addItemProperty(com.vaadin.v7.data.Item viewData,
String key,
String value)
Adds a property to the given Item data-source; blank values will be translated as 'unknown'.
|
protected void |
addViewProperty(String key,
String value)
Deprecated.
since 5.5, use
addItemProperty(Item, String, String) instead. |
protected String |
getEditionName() |
protected com.vaadin.v7.data.Item |
getInstallationInfo() |
protected AboutView |
getView() |
void |
handleConsent(boolean consent) |
AboutView |
start() |
protected final info.magnolia.i18nsystem.SimpleTranslator i18n
@Deprecated protected com.vaadin.v7.data.Item viewData
getInstallationInfo()
@Deprecated public AboutPresenter(AboutView view, InstanceConfigurationProvider configProvider, info.magnolia.i18nsystem.SimpleTranslator i18n)
@Inject public AboutPresenter(AboutView view, InstanceConfigurationProvider configProvider, info.magnolia.i18nsystem.SimpleTranslator i18n, info.magnolia.usagemetrics.UsageMetricsModule usageMetricsModule)
public AboutView start()
protected com.vaadin.v7.data.Item getInstallationInfo()
protected void addItemProperty(com.vaadin.v7.data.Item viewData, String key, String value)
@Deprecated protected void addViewProperty(String key, String value)
addItemProperty(Item, String, String)
instead.protected AboutView getView()
protected String getEditionName()
public void handleConsent(boolean consent)
handleConsent
in interface AboutView.Listener
Copyright © 2020 Magnolia International Ltd.. All rights reserved.