public abstract class AbstractPulseListPresenter extends Object implements PulseListPresenter, PulseDetailPresenter.Listener, PulseListView.Listener, PulseListFooterPresenter.Listener
PulseListPresenter.Listener
Modifier and Type | Field and Description |
---|---|
protected PulseListActionExecutor |
actionExecutor |
protected AvailabilityChecker |
availabilityChecker |
protected PulseListContainer |
container |
protected PulseListDefinition |
definition |
protected PulseListPresenter.Listener |
listener |
protected PulseListFooterPresenter |
pulseListFooterPresenter |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPulseListPresenter(PulseListContainer container)
|
protected |
AbstractPulseListPresenter(PulseListContainer container,
ConfiguredPulseListDefinition definition,
AvailabilityChecker availabilityChecker,
PulseListActionExecutor pulseListActionExecutor,
PulseListFooterPresenter pulseListFooterPresenter) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeAction(String actionName) |
void |
filterByItemCategory(PulseItemCategory category) |
abstract PulseItemCategory |
getCategory() |
abstract int |
getPendingItemCount() |
protected abstract List<Object> |
getSelectedItemIds() |
void |
onBulkActionTriggered(String actionId) |
void |
onItemSetChanged(long totalEntriesAmount) |
void |
onSelectionChanged(Set<Object> itemIds) |
abstract View |
openItem(String itemId) |
void |
setGrouping(boolean checked) |
void |
setListener(PulseListPresenter.Listener listener) |
void |
showList() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
start
updateDetailView
deleteItems, getTotalEntriesAmount, onItemClicked
protected final PulseListContainer container
protected final AvailabilityChecker availabilityChecker
protected final PulseListActionExecutor actionExecutor
protected final PulseListFooterPresenter pulseListFooterPresenter
protected PulseListDefinition definition
protected PulseListPresenter.Listener listener
@Deprecated protected AbstractPulseListPresenter(PulseListContainer container)
protected AbstractPulseListPresenter(PulseListContainer container, ConfiguredPulseListDefinition definition, AvailabilityChecker availabilityChecker, PulseListActionExecutor pulseListActionExecutor, PulseListFooterPresenter pulseListFooterPresenter)
public void setListener(PulseListPresenter.Listener listener)
setListener
in interface PulseListPresenter
public void showList()
showList
in interface PulseDetailPresenter.Listener
public void setGrouping(boolean checked)
setGrouping
in interface PulseListView.Listener
public void filterByItemCategory(PulseItemCategory category)
filterByItemCategory
in interface PulseListView.Listener
public abstract PulseItemCategory getCategory()
getCategory
in interface PulseListPresenter
public abstract View openItem(String itemId) throws info.magnolia.registry.RegistrationException
openItem
in interface PulseListPresenter
info.magnolia.registry.RegistrationException
public abstract int getPendingItemCount()
getPendingItemCount
in interface PulseListPresenter
public void onSelectionChanged(Set<Object> itemIds)
onSelectionChanged
in interface PulseListView.Listener
public void onItemSetChanged(long totalEntriesAmount)
onItemSetChanged
in interface PulseListView.Listener
public void onBulkActionTriggered(String actionId)
onBulkActionTriggered
in interface PulseListFooterPresenter.Listener
protected void executeAction(String actionName)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.