Interface InteractiveAction<I,​O>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void sendOutputDataToSocket​(java.lang.String socketId, java.lang.Object data)
      Sends data object into specified socket.
      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.
      • Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction

        canPerform, getConfirmationMessage, needsConfirmation, perform
    • 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 codes
        title - title code
        message - 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 data
        data - data object to send