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
The MessageListHolder interface should be implemented by objects which holds a message list to handles messages.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(Message message) Add a message to the message list.voidClear all messages in the message list.Returns the messages list object itself.
-
Field Details
-
VALID
static final int VALIDConstant to define the state valid.- See Also:
-
INVALID
static final int INVALIDConstant to define the state invalid.- See Also:
-
-
Method Details
-
addMessage
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
-