Class ProductSynchronizationAction
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.cockpit.components.listview.impl.AbstractSynchronizationAction
de.hybris.platform.productcockpit.components.listview.impl.ProductSynchronizationStatus
de.hybris.platform.productcockpit.components.listview.impl.ProductSynchronizationAction
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
Provides synchronization functionality within Listview component
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context -
Field Summary
FieldsFields inherited from class de.hybris.platform.productcockpit.components.listview.impl.ProductSynchronizationStatus
ICON_STATUS_IN_SYNC, ICON_STATUS_IN_SYNC_NOT, ICON_STATUS_SYNC_INITIALFields inherited from class de.hybris.platform.cockpit.components.listview.impl.AbstractSynchronizationAction
CURRENT_STATUS_KEY, SOURCE_CATALOG_VERSION_KEY, SOURCE_ITEMS_KEY, SYNC_JOBS_KEY, syncService, typeServiceFields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELFields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.zkoss.zk.ui.event.EventListenergetEventListener(ListViewAction.Context context) Gets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.org.zkoss.zk.ui.event.EventListenerGets theEventListenerfor selection operation which is to be registered for theEvents.ON_CLICKevent.Gets the image URI for selection operation which represents the action button.protected Stringprotected Stringprotected StringgetTooltip(ListViewAction.Context context) Gets the tooltip of the action button.Methods inherited from class de.hybris.platform.productcockpit.components.listview.impl.ProductSynchronizationStatus
doCreateContext, getTypeRestrictionMethods inherited from class de.hybris.platform.cockpit.components.listview.impl.AbstractSynchronizationAction
containsBaseProduct, getContextPopup, getCurrentStatus, getImageURI, getPopup, getPossiblyAffectedObjects, getStatusCode, getSyncBusyImg, getSynchronizationService, getSyncJobs, getTypeService, sendItemChangeEventsMethods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Field Details
-
ICON_SYNC_ACTION_AVAILABLE
- See Also:
-
ICON_SYNC_ACTION_UNAVAILABLE
- See Also:
-
-
Constructor Details
-
ProductSynchronizationAction
public ProductSynchronizationAction()
-
-
Method Details
-
getEventListener
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Specified by:
getEventListenerin interfaceListViewAction- Overrides:
getEventListenerin classProductSynchronizationStatus- Returns:
- the event listener which should be called when user clicks the action button
-
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- Overrides:
getMultiSelectEventListenerin classProductSynchronizationStatus- Returns:
- the event listener which should be called when user clicks the action button
-
getTooltip
Description copied from interface:ListViewActionGets the tooltip of the action button.- Specified by:
getTooltipin interfaceListViewAction- Overrides:
getTooltipin classAbstractSynchronizationAction- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
getSyncNotOKImg
- Overrides:
getSyncNotOKImgin classProductSynchronizationStatus
-
getSyncInitImg
- Overrides:
getSyncInitImgin classProductSynchronizationStatus
-
getSyncOKImg
- Overrides:
getSyncOKImgin classProductSynchronizationStatus
-
getMultiSelectImageURI
Description copied from interface:ListViewActionGets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURIin interfaceListViewAction- Overrides:
getMultiSelectImageURIin classProductSynchronizationStatus- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-