Interface InteractiveAction<I,O>

All Superinterfaces:
com.hybris.cockpitng.actions.CockpitAction<I,O>
All Known Implementing Classes:
AbstractInteractiveAction, AbstractRuleProcessingForModuleAction, AbstractRuleSetProcessingForModuleAction, 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

    Modifier and Type
    Method
    Description
    void
    Sends data object into specified socket.
    void
    showAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, String title, String message)
    Shows alert dialog with title, message and button Ok.

    Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction

    canPerform, getConfirmationMessage, needsConfirmation, perform
  • Method Details

    • showAlertDialog

      void showAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, String title, String message)
      Shows alert dialog with title, message and button Ok.
      Parameters:
      context - ActionContext to get localized labels by the codes
      title - title code
      message - message code
    • sendOutputDataToSocket

      void sendOutputDataToSocket(String socketId, Object data)
      Sends data object into specified socket.
      Parameters:
      socketId - Socket identifier to send data
      data - data object to send