Class PortalMessage

java.lang.Object
com.aquima.interactions.portal.PortalMessage
All Implemented Interfaces:
IPortalMessage

public class PortalMessage extends Object implements IPortalMessage
Default implementation of the portal message
Since:
9.2
Author:
a.pragt
  • Constructor Details

    • PortalMessage

      public PortalMessage(String messageType)
      Parameters:
      messageType - The type of the message.
  • Method Details

    • getMessageType

      public String getMessageType()
      Description copied from interface: IPortalMessage
      Returns the type of the message.
      Specified by:
      getMessageType in interface IPortalMessage
      Returns:
      The type of the message, not null.
    • getFieldNames

      public String[] getFieldNames()
      Description copied from interface: IPortalMessage
      Returns the names of the fields.
      Specified by:
      getFieldNames in interface IPortalMessage
      Returns:
      The names, not null.
    • getField

      public IValue getField(String name)
      Description copied from interface: IPortalMessage
      Returns the value of a field.
      Specified by:
      getField in interface IPortalMessage
      Parameters:
      name - The name of a field, not null.
      Returns:
      The value of a field, or null.
    • addField

      public void addField(String name, IValue value)
      Adds a field to the message.
      Parameters:
      name - The name of the field, not null.
      value - The value of the field.