public interface WrapperMessage extends Message
Interface for wrapping multiple messages of the same type together into one message.
WrapperMessages are only useful for wrapping RecordType2Message, RecordType3Message and PermissionMessages.
WrapperMessages are be published as one merged update by DataSource. A WrapperMessage will ignore
any setImage and setNonActive flags from any added messages, instead the
setImage and setNoneActive flags must be set on the WrapperMessage itself.
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(Message message)
Adds a message to the WrapperMessage, the first message defines the message type.
|
java.util.List<Message> |
getMessages()
Returns the list of messages in the order they were added.
|
getSubject, isImage, setImagevoid addMessage(Message message)
message - the message to add to the wrapperjava.lang.RuntimeException - when the message added is a different type to the first one addedjava.util.List<Message> getMessages()
Please send bug reports and comments to Caplin support