Class GenericMessage


  • public class GenericMessage
    extends Object
    Author:
    pvandermaesen object for set a global message.
    • Constructor Detail

      • GenericMessage

        public GenericMessage​(String rawMessage)
        create generic message from raw
        Parameters:
        rawMessage -
      • GenericMessage

        public GenericMessage​(String msg,
                              int newType)
      • GenericMessage

        public GenericMessage​(String msg,
                              int newType,
                              String url)
      • GenericMessage

        public GenericMessage​(String msg,
                              String inKey,
                              int newType)
      • GenericMessage

        public GenericMessage​(String msg,
                              String inKey,
                              int newType,
                              String inURL)
    • Method Detail

      • getKey

        public String getKey()
      • getMessage

        public String getMessage()
        Returns:
      • getMessageDisplay

        public String getMessageDisplay()
        Returns:
      • isNeedDisplay

        public boolean isNeedDisplay()
      • isDisplayed

        public boolean isDisplayed()
      • setDisplayed

        public void setDisplayed​(boolean displayed)
      • getCleanMessage

        public String getCleanMessage()
      • setCleanMessage

        public void setCleanMessage​(String cleanMessage)
      • getType

        public int getType()
        Returns:
      • getTypeLabel

        public static String getTypeLabel​(int type)
      • getBootstrapIcon

        public static String getBootstrapIcon​(int type)
      • getBootstrapType

        public String getBootstrapType()
      • getTypeLabel

        public String getTypeLabel()
      • getURL

        public String getURL()
      • getXhtml

        public String getXhtml()
        return XHTML code for the current message list
        Returns:
      • getRawMessage

        public String getRawMessage()