Class CmsElementSyncAction
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.cockpit.components.listview.impl.AbstractSynchronizationAction
de.hybris.platform.cmscockpit.components.listview.impl.CmsElementSyncAction
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
-
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.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 TypeMethodDescriptionprotected booleancanUserChangeItem(TypedObject item) protected voiddetachDialog(org.zkoss.zul.Window dialog) protected voiddoCreateContext(ListViewAction.Context context) protected CMSPageLockingServiceprotected CMSPageServiceorg.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 Stringprotected booleanMethods inherited from class de.hybris.platform.cockpit.components.listview.impl.AbstractSynchronizationAction
containsBaseProduct, getContextPopup, getCurrentStatus, getImageURI, getPopup, getPossiblyAffectedObjects, getStatusCode, getSyncBusyImg, getSynchronizationService, getSyncJobs, getTooltip, getTypeRestriction, getTypeService, sendItemChangeEventsMethods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Field Details
-
IMAGE_URI_MULTISELECT_AVAILABLE
- See Also:
-
IMAGE_URI_MULTISELECT_UNAVAILABLE
- See Also:
-
-
Constructor Details
-
CmsElementSyncAction
public CmsElementSyncAction()
-
-
Method Details
-
doCreateContext
- Specified by:
doCreateContextin classAbstractSynchronizationAction
-
getSyncInitImg
- Specified by:
getSyncInitImgin classAbstractSynchronizationAction
-
getSyncNotOKImg
- Specified by:
getSyncNotOKImgin classAbstractSynchronizationAction
-
getSyncOKImg
- Specified by:
getSyncOKImgin classAbstractSynchronizationAction
-
getEventListener
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Returns:
- the event listener which should be called when user clicks the action button
-
detachDialog
protected void detachDialog(org.zkoss.zul.Window dialog) -
isComponentLockedForUser
-
getCmsPageLockingService
-
getCmsPageService
-
getMultiSelectImageURI
Description copied from interface:ListViewActionGets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURIin interfaceListViewAction- Overrides:
getMultiSelectImageURIin classAbstractListViewAction- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-
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 classAbstractListViewAction- Returns:
- the event listener which should be called when user clicks the action button
-
canUserChangeItem
-