Interface InteractiveAction<I,O>
-
- All Superinterfaces:
com.hybris.cockpitng.actions.CockpitAction<I,O>
- All Known Implementing Classes:
AbstractInteractiveAction,AbstractRuleProcessingForModuleAction,AbstractRuleSetProcessingForModuleAction,RuleArchiveAction,RuleCloneAction,RuleClonePromotionAction,RuleCompileAllForModuleAction,RuleCompileAllPromotionsForModuleAction,RuleCompileForModuleAction,RuleCompilePromotionForModuleAction,RuleCreateFromTemplateAction,RuleCreatePromotionFromTemplateAction,RulesModuleSyncAction,RuleUndeployFromModuleAction,RuleUndeployPromotionFromModuleAction,RuleUndeploySelectedFromModuleAction,RuleUndeploySelectedPromotionsFromModuleAction
public interface InteractiveAction<I,O> extends com.hybris.cockpitng.actions.CockpitAction<I,O>InteractiveAction is the interface defining methods for the common functionality of interactive actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendOutputDataToSocket(java.lang.String socketId, java.lang.Object data)Sends data object into specified socket.voidshowAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, java.lang.String title, java.lang.String message)Shows alert dialog with title, message and button Ok.
-
-
-
Method Detail
-
showAlertDialog
void showAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, java.lang.String title, java.lang.String message)
Shows alert dialog with title, message and button Ok.- Parameters:
context- ActionContext to get localized labels by the codestitle- title codemessage- message code
-
sendOutputDataToSocket
void sendOutputDataToSocket(java.lang.String socketId, java.lang.Object data)Sends data object into specified socket.- Parameters:
socketId- Socket identifier to send datadata- data object to send
-
-