Class AbstractRuleProcessingForModuleAction<I,O>
java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction<I,O>
de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleProcessingForModuleAction<I,O>
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<I,,O> com.hybris.cockpitng.engine.ComponentWidgetAdapterAware,InteractiveAction<I,O>
- Direct Known Subclasses:
AbstractRuleSetProcessingForModuleAction,RuleCompileForModuleAction,RuleUndeployFromModuleAction
public abstract class AbstractRuleProcessingForModuleAction<I,O>
extends AbstractInteractiveAction<I,O>
AbstractRuleProcessingForModuleAction is the abstract class for the common functionality of rule processing
actions which could perform in 2 ways: as a set of items and as a single item.
-
Field Summary
Fields inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction
DEFAULT_ALERT_DIALOG_OK, DEFAULT_ALERT_DIALOG_TEMPLATE_URL, DEFAULT_ALERT_DIALOG_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDialogWindowAttribute(com.hybris.cockpitng.actions.ActionContext<I> context, org.zkoss.zul.Window window) Override the method in subclasses to supplement dialog window with attributesprotected abstract List<AbstractRuleModel>getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<I> context) protected StringMethods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction
canPerform, doOnAlertOkClick, getAlertDialogTemplate, getAlertDialogWidth, getArguments, getDialogTemplate, getDialogTitle, getRoot, perform, sendOutputDataToSocket, showAlertDialogMethods 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
-
AbstractRuleProcessingForModuleAction
public AbstractRuleProcessingForModuleAction()
-
-
Method Details
-
getRulesToProcess
protected abstract List<AbstractRuleModel> getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<I> context) -
addDialogWindowAttribute
protected void addDialogWindowAttribute(com.hybris.cockpitng.actions.ActionContext<I> context, org.zkoss.zul.Window window) Description copied from class:AbstractInteractiveActionOverride the method in subclasses to supplement dialog window with attributes- Overrides:
addDialogWindowAttributein classAbstractInteractiveAction<I,O> - Parameters:
context- action contextwindow- window to supplement attributes
-
getRulesToProcessCtxAttributeName
-