Class ExportCsvAction
- java.lang.Object
-
- de.hybris.platform.cockpit.components.listview.AbstractListViewAction
-
- de.hybris.platform.cockpit.components.listview.AbstractMultiSelectOnlyAction
-
- de.hybris.platform.cockpit.components.listview.impl.ExportCsvAction
-
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
public class ExportCsvAction extends AbstractMultiSelectOnlyAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringICON_EXPORT_CSV_ACTION_AVAILABLEprotected static java.lang.StringICON_EXPORT_CSV_ACTION_UNAVAILABLE-
Fields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANEL
-
Fields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY
-
-
Constructor Summary
Constructors Constructor Description ExportCsvAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelServicegetLabelService()org.zkoss.zk.ui.event.EventListenergetMultiSelectEventListener(ListViewAction.Context context)Gets theEventListenerfor selection operation which is to be registered for theEvents.ON_CLICKevent.java.lang.StringgetMultiSelectImageURI(ListViewAction.Context context)Gets the image URI for selection operation which represents the action button.org.zkoss.zul.MenupopupgetMultiSelectPopup(ListViewAction.Context context)Gets the popup of the action button for selection operation.java.lang.StringgetTooltip(ListViewAction.Context context)Gets the tooltip of the action button.booleanisTruncateCollections()voidsetLabelService(LabelService labelService)voidsetTruncateCollections(boolean truncateCollections)-
Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractMultiSelectOnlyAction
doCreateContext, getContextPopup, getEventListener, getImageURI, getPopup
-
Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
-
-
-
Field Detail
-
ICON_EXPORT_CSV_ACTION_AVAILABLE
protected static final java.lang.String ICON_EXPORT_CSV_ACTION_AVAILABLE
- See Also:
- Constant Field Values
-
ICON_EXPORT_CSV_ACTION_UNAVAILABLE
protected static final java.lang.String ICON_EXPORT_CSV_ACTION_UNAVAILABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMultiSelectEventListener
public org.zkoss.zk.ui.event.EventListener getMultiSelectEventListener(ListViewAction.Context context)
Description copied from interface:ListViewActionGets theEventListenerfor selection operation which is to be registered for theEvents.ON_CLICKevent.- Specified by:
getMultiSelectEventListenerin interfaceListViewAction- Specified by:
getMultiSelectEventListenerin classAbstractMultiSelectOnlyAction- Returns:
- the event listener which should be called when user clicks the action button
-
getMultiSelectImageURI
public java.lang.String getMultiSelectImageURI(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURIin interfaceListViewAction- Specified by:
getMultiSelectImageURIin classAbstractMultiSelectOnlyAction- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-
getMultiSelectPopup
public org.zkoss.zul.Menupopup getMultiSelectPopup(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the popup of the action button for selection operation.- Specified by:
getMultiSelectPopupin interfaceListViewAction- Specified by:
getMultiSelectPopupin classAbstractMultiSelectOnlyAction- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
getTooltip
public java.lang.String getTooltip(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the tooltip of the action button.- Specified by:
getTooltipin interfaceListViewAction- Specified by:
getTooltipin classAbstractMultiSelectOnlyAction- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
setLabelService
public void setLabelService(LabelService labelService)
-
getLabelService
public LabelService getLabelService()
-
isTruncateCollections
public boolean isTruncateCollections()
-
setTruncateCollections
public void setTruncateCollections(boolean truncateCollections)
-
-