Class BroadcastMsgUtil

java.lang.Object
org.idempiere.broadcast.BroadcastMsgUtil

public class BroadcastMsgUtil extends Object
Static methods for broadcast message service
Author:
Vivek, Deepak Pansheriya
  • Constructor Details

    • BroadcastMsgUtil

      public BroadcastMsgUtil()
  • Method Details

    • publishBroadcastMessage

      public static void publishBroadcastMessage(int messageID, String trxName)
      Publish Broadcast Message
      Parameters:
      messageID -
      trxName -
    • pushToQueue

      public static void pushToQueue(BroadCastMsg msg, boolean isLocalOnly)
      Publish message using message service or using OSGi event service.
      Parameters:
      msg - message to broadcast
      isLocalOnly - true to use event service, false to use message service
    • testBroadcastMessage

      public static void testBroadcastMessage(int messageID, int AD_Session_ID)
      Broadcast Test message
      Parameters:
      messageID -
      AD_Session_ID -
    • showPendingMessage

      public static void showPendingMessage(int AD_User_ID, IBroadcastMsgPopup messageWindow)
      Show all pending to acknowledge messages
      Parameters:
      AD_User_ID -
      messageWindow -