Class RuleCompileAllForModuleAction
- java.lang.Object
-
- com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
-
- de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction<I,O>
-
- de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleProcessingForModuleAction<java.util.Set<AbstractRuleModel>,O>
-
- de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleSetProcessingForModuleAction<java.lang.Object>
-
- de.hybris.platform.ruleenginebackoffice.actions.RuleCompileAllForModuleAction
-
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<java.util.Set<AbstractRuleModel>,java.lang.Object>,com.hybris.cockpitng.engine.ComponentWidgetAdapterAware,InteractiveAction<java.util.Set<AbstractRuleModel>,java.lang.Object>
- Direct Known Subclasses:
RuleCompileAllPromotionsForModuleAction
public class RuleCompileAllForModuleAction extends AbstractRuleSetProcessingForModuleAction<java.lang.Object>
Action to compile multiple rules for a user-specified rules module.
-
-
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 RuleCompileAllForModuleAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDialogTemplate(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)protected java.lang.StringgetDialogTitle(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)protected java.lang.StringgetDifferentRuleTypesAlertMessage()protected java.lang.StringgetDifferentRuleTypesAlertTitle()protected java.util.List<AbstractRuleModel>getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)returns currently selected rules (AbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext))-
Methods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleSetProcessingForModuleAction
canPerform, differentRuleTypes, filterByType, filterSelectedRules, filterSelectedRulesByStatus, getRuleService, getRuleType, getSelectedRules, perform
-
Methods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleProcessingForModuleAction
addDialogWindowAttribute, getRulesToProcessCtxAttributeName
-
Methods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction
doOnAlertOkClick, getAlertDialogTemplate, getAlertDialogWidth, getArguments, getDialogHeight, getDialogTop, getDialogWidth, getRoot, sendOutputDataToSocket, showAlertDialog
-
Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance
-
-
-
-
Method Detail
-
getDialogTemplate
protected java.lang.String getDialogTemplate(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)
- Specified by:
getDialogTemplatein classAbstractInteractiveAction<java.util.Set<AbstractRuleModel>,java.lang.Object>
-
getDialogTitle
protected java.lang.String getDialogTitle(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)
- Specified by:
getDialogTitlein classAbstractInteractiveAction<java.util.Set<AbstractRuleModel>,java.lang.Object>
-
getDifferentRuleTypesAlertMessage
protected java.lang.String getDifferentRuleTypesAlertMessage()
- Specified by:
getDifferentRuleTypesAlertMessagein classAbstractRuleSetProcessingForModuleAction<java.lang.Object>
-
getDifferentRuleTypesAlertTitle
protected java.lang.String getDifferentRuleTypesAlertTitle()
- Specified by:
getDifferentRuleTypesAlertTitlein classAbstractRuleSetProcessingForModuleAction<java.lang.Object>
-
getRulesToProcess
protected java.util.List<AbstractRuleModel> getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<java.util.Set<AbstractRuleModel>> context)
returns currently selected rules (AbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext))- Specified by:
getRulesToProcessin classAbstractRuleProcessingForModuleAction<java.util.Set<AbstractRuleModel>,java.lang.Object>- Returns:
- the list of rules that will be compiled by this action
-
-