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 Constructor Description AbstractRuleProcessingForModuleAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addDialogWindowAttribute(com.hybris.cockpitng.actions.ActionContext<I> context, org.zkoss.zul.Window window)
Override the method in subclasses to supplement dialog window with attributesprotected abstract java.util.List<AbstractRuleModel>
getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<I> context)
protected java.lang.String
getRulesToProcessCtxAttributeName()
-
Methods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction
canPerform, doOnAlertOkClick, getAlertDialogTemplate, getAlertDialogWidth, getArguments, getDialogHeight, getDialogTemplate, getDialogTitle, getDialogTop, getDialogWidth, getRoot, perform, sendOutputDataToSocket, showAlertDialog
-
Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance
-
-
-
-
Method Detail
-
getRulesToProcess
protected abstract java.util.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:AbstractInteractiveAction
Override the method in subclasses to supplement dialog window with attributes- Overrides:
addDialogWindowAttribute
in classAbstractInteractiveAction<I,O>
- Parameters:
context
- action contextwindow
- window to supplement attributes
-
getRulesToProcessCtxAttributeName
protected java.lang.String getRulesToProcessCtxAttributeName()
-
-