| |
|
| java.lang.Object com.metaboss.enterprise.messages.DefaultMessageContainerImplementation
All known Subclasses: com.metaboss.enterprise.bs.STBusinessSubscriptionEvent, com.metaboss.enterprise.bs.STBusinessServiceOperationResult,
DefaultMessageContainerImplementation | abstract public class DefaultMessageContainerImplementation implements MessageContainer(Code) | | Default implementation of the message container. It is still an abstract class.
Subclasses may (and probably will) override protected List getContainedMessages()
to supply list of contained messages.
All other methods of message container are implemented based on this returned list
|
getContainedMessages | protected List getContainedMessages()(Code) | | This method should be overridden by the derived class. It is expected to
return list of contained messages. null should never be returned,
return empty list if no messages are stored
|
getErrorMessages | public Message[] getErrorMessages()(Code) | | Returns array of zero or more contained error messages.
|
getInformationMessages | public Message[] getInformationMessages()(Code) | | Returns array of zero or more contained information messages
|
getMessages | public Message[] getMessages()(Code) | | Returns combined array of zero or more contained messages of any kind.
This is the convenience method. It can be used, for example, to just get all messages
irrespective of their type and print them out
|
getMessagesWithId | public Message[] getMessagesWithId(String pRequiredMessageId)(Code) | | Returns array of zero or more messages with specified Id
|
getWarningMessages | public Message[] getWarningMessages()(Code) | | Returns array of zero or more contained warning messages.
|
hasErrorMessages | public boolean hasErrorMessages()(Code) | | Returns true if this container contains one or more error messages.
|
hasFailureMessages | public boolean hasFailureMessages()(Code) | | |
hasInformationMessages | public boolean hasInformationMessages()(Code) | | Returns true if this container contains one or more information messages
|
hasMessages | public boolean hasMessages()(Code) | | Returns true if this container contains one or more messages of any kind
|
hasMessagesWithId | public boolean hasMessagesWithId(String pRequiredMessageId)(Code) | | Returns true if this container contains one or more messages with specified Id
|
hasWarningMessages | public boolean hasWarningMessages()(Code) | | Returns true if this container contains one or more warning messages.
|
|
|
|