public class PulsePresenter extends Object implements PulseListPresenter.Listener, PulseView.Listener, info.magnolia.event.EventHandler
PulseView
.Constructor and Description |
---|
PulsePresenter(PulseDefinition definition,
info.magnolia.event.EventBus admincentralEventBus,
PulseView view,
Shell shell,
info.magnolia.objectfactory.ComponentProvider componentProvider)
Deprecated.
since 5.4 -
admincentralEventBus is not needed. |
PulsePresenter(PulseDefinition definition,
PulseView view,
Shell shell,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDisplayingDetailView() |
void |
onCategoryChange(PulseItemCategory category) |
void |
openItem(String identifier,
String itemId) |
void |
showList() |
View |
start() |
void |
updatePulseCounter() |
void |
updateView(PulseItemCategory category) |
@Deprecated public PulsePresenter(PulseDefinition definition, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus, PulseView view, Shell shell, info.magnolia.objectfactory.ComponentProvider componentProvider)
admincentralEventBus
is not needed.@Inject public PulsePresenter(PulseDefinition definition, PulseView view, Shell shell, info.magnolia.objectfactory.ComponentProvider componentProvider)
public View start()
public void onCategoryChange(PulseItemCategory category)
onCategoryChange
in interface PulseView.Listener
public void showList()
showList
in interface PulseListPresenter.Listener
public boolean isDisplayingDetailView()
public void openItem(String identifier, String itemId)
openItem
in interface PulseListPresenter.Listener
public void updatePulseCounter()
updatePulseCounter
in interface PulseListPresenter.Listener
public void updateView(PulseItemCategory category)
updateView
in interface PulseListPresenter.Listener
Copyright © 2019 Magnolia International Ltd.. All rights reserved.