Class SyncTreeAction
java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
com.hybris.backoffice.widgets.actions.sync.SyncAction
de.hybris.platform.configurablebundlebackoffice.widgets.actions.SyncTreeAction
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Object,,List> com.hybris.cockpitng.engine.ComponentWidgetAdapterAware
Action that dispatches synchronization request to synchronization pop-up. The request expect to receive a single item
model within the action context which is then used as item models tree root that need to be synchronized
-
Field Summary
Fields inherited from class com.hybris.backoffice.widgets.actions.sync.SyncAction
SOCKET_OUT_SELECTED_OBJECTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPerform(com.hybris.cockpitng.actions.ActionContext<Object> context) collectTreeItems(com.hybris.cockpitng.actions.ActionContext<Object> context) collectTreeItems(ItemModel item) protected RelatedItemsCollectorprotected booleanhasValidPayload(com.hybris.cockpitng.actions.ActionContext<Object> context) protected booleanisItemModelsCollection(Object data) com.hybris.cockpitng.actions.ActionResult<List>voidsetConfigurableBundleRelatedItemsCollector(RelatedItemsCollector relatedItemsCollector) protected voidverifyContextData(com.hybris.cockpitng.actions.ActionContext<Object> context) Methods inherited from class com.hybris.backoffice.widgets.actions.sync.SyncAction
areAllInstancesItemTypeSubtype, areCatalogVersionAssigned, canSync, getBackofficeTypeUtils, getData, getObjectFacade, getSynchronizationFacade, getTypeFacadeMethods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.actions.CockpitAction
getConfirmationMessage, needsConfirmation
-
Constructor Details
-
SyncTreeAction
public SyncTreeAction()
-
-
Method Details
-
canPerform
- Specified by:
canPerformin interfacecom.hybris.cockpitng.actions.CockpitAction<Object,List> - Overrides:
canPerformin classSyncAction
-
perform
public com.hybris.cockpitng.actions.ActionResult<List> perform(com.hybris.cockpitng.actions.ActionContext<Object> context) - Specified by:
performin interfacecom.hybris.cockpitng.actions.CockpitAction<Object,List> - Overrides:
performin classSyncAction
-
collectTreeItems
-
verifyContextData
-
hasValidPayload
-
isItemModelsCollection
-
collectTreeItems
-
getConfigurableBundleRelatedItemsCollector
-
setConfigurableBundleRelatedItemsCollector
-