Class RuleUndeploySelectedFromModuleAction
java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction<I,O>
de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleProcessingForModuleAction<Set<AbstractRuleModel>,O>
de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleSetProcessingForModuleAction<Object>
de.hybris.platform.ruleenginebackoffice.actions.RuleUndeploySelectedFromModuleAction
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Set<AbstractRuleModel>,,Object> com.hybris.cockpitng.engine.ComponentWidgetAdapterAware,InteractiveAction<Set<AbstractRuleModel>,Object>
- Direct Known Subclasses:
RuleUndeploySelectedPromotionsFromModuleAction
public class RuleUndeploySelectedFromModuleAction
extends AbstractRuleSetProcessingForModuleAction<Object>
Action to undeploy multiple rules from 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Predicate<AbstractRuleModel>returns a filter (used inside ofAbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext)) that is responsible to filter out rules based on their statusprotected StringgetDialogTemplate(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) protected StringgetDialogTitle(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) protected Stringprotected Stringprotected List<AbstractRuleModel>getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) returns the currently selected rules (AbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext)).Methods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleSetProcessingForModuleAction
canPerform, differentRuleTypes, filterByType, filterSelectedRules, getRuleService, getRuleType, getSelectedRules, performMethods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractRuleProcessingForModuleAction
addDialogWindowAttribute, getRulesToProcessCtxAttributeNameMethods inherited from class de.hybris.platform.ruleenginebackoffice.actions.AbstractInteractiveAction
doOnAlertOkClick, getAlertDialogTemplate, getAlertDialogWidth, getArguments, getRoot, 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
-
RuleUndeploySelectedFromModuleAction
public RuleUndeploySelectedFromModuleAction()
-
-
Method Details
-
getDialogTemplate
protected String getDialogTemplate(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) - Specified by:
getDialogTemplatein classAbstractInteractiveAction<Set<AbstractRuleModel>,Object>
-
getDialogTitle
protected String getDialogTitle(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) - Specified by:
getDialogTitlein classAbstractInteractiveAction<Set<AbstractRuleModel>,Object>
-
getRulesToProcess
protected List<AbstractRuleModel> getRulesToProcess(com.hybris.cockpitng.actions.ActionContext<Set<AbstractRuleModel>> context) returns the currently selected rules (AbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext)).- Specified by:
getRulesToProcessin classAbstractRuleProcessingForModuleAction<Set<AbstractRuleModel>,Object> - Returns:
- the list of rules that will be undeployed by this action
-
filterSelectedRulesByStatus
Description copied from class:AbstractRuleSetProcessingForModuleActionreturns a filter (used inside ofAbstractRuleSetProcessingForModuleAction.getSelectedRules(ActionContext)) that is responsible to filter out rules based on their status- Overrides:
filterSelectedRulesByStatusin classAbstractRuleSetProcessingForModuleAction<Object>
-
getDifferentRuleTypesAlertMessage
- Specified by:
getDifferentRuleTypesAlertMessagein classAbstractRuleSetProcessingForModuleAction<Object>
-
getDifferentRuleTypesAlertTitle
- Specified by:
getDifferentRuleTypesAlertTitlein classAbstractRuleSetProcessingForModuleAction<Object>
-