Interface MessageListHolder

All Superinterfaces:
Serializable
All Known Subinterfaces:
Address, Basket, BillTo, BusinessObject, CommonConfiguration, ConnectedDocument, ConnectedDocumentItem, ConnectedObject, CPQItem, Header, HeaderBase, Item, ItemBase, Order, PartnerBase, SalesDocument, SalesDocumentBase<L,I,H>, SalesDocumentConfiguration, Schedline, ShipTo, SimpleDocument<L,I,H>, SimpleHeader, SimpleItem, TransactionConfiguration
All Known Implementing Classes:
AbapBackendException, AddressImpl, ApplicationBaseException, ApplicationBaseRuntimeException, BackendCommunicationException, BackendConfigurationException, BackendDeterminationRuntimeException, BackendException, BackendExceptionECOERP, BackendLogonException, BackendOfflineException, BackendRuntimeException, BackendServerStartupException, BackendSystemFailureException, BasketImpl, BillToImpl, BORuntimeException, BusinessObjectBase, BusinessObjectException, CommunicationException, CommunicationRuntimeException, ConfigurationBaseRuntimeException, ConnectedDocumentImpl, ConnectedDocumentItemImpl, ConnectedObjectImpl, ConverterImpl, CoreBaseException, CoreBaseRuntimeException, CPQItemSalesDoc, DataHubTransferException, DestinationChangedRuntimeException, HeaderBaseImpl, HeaderSalesDocument, ItemBaseImpl, ItemSalesDoc, JCoMonitorException, LogonException, OrderHistoryImpl, OrderImpl, PartnerBaseImpl, SalesDocumentBaseImpl, SalesDocumentImpl, SapCreditCheckBOImpl, SAPHybrisCacheException, SAPHybrisCacheException, SapInvoiceBOImpl, SapPricingImpl, SapProductAvailabilityBOImpl, SAPS4OMHybrisCacheException, SchedlineImpl, SearchImpl, ServerStartupException, ShipToImpl, SimpleDocumentImpl, SimpleHeaderImpl, SimpleItemImpl, SystemFailureException, TestBusinessObjectBaseBEDeterminationImpl, TestBusinessObjectBaseBEDeterminationNotFoundImpl, TestBusinessObjectBaseBEInjectionImpl, TestBusinessObjectBaseBENotUniqueDeterminationImpl, TestBusinessObjectBaseBESingleImplementationImpl, TransactionConfigurationImpl, TransferItemNotValidException

public interface MessageListHolder extends Serializable
The MessageListHolder interface should be implemented by objects which holds a message list to handles messages.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Constant to define the state invalid.
    static final int
    Constant to define the state valid.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a message to the message list.
    void
    Clear all messages in the message list.
    Returns the messages list object itself.
  • Field Details

  • Method Details

    • addMessage

      void addMessage(Message message)
      Add a message to the message list.
      Parameters:
      message - message to add
    • clearMessages

      void clearMessages()
      Clear all messages in the message list.
    • getMessageList

      MessageList getMessageList()
      Returns the messages list object itself. Always the reference of the original object should be provided.
      Returns:
      reference to message list