Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.interf.messagemapping
Interface BackendMessageMapper
-
- All Known Implementing Classes:
BackendMessageMapperImpl
public interface BackendMessageMapperMaps backend messages according to messages.xml
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messagemap(BusinessObject rootBo, com.sap.conn.jco.JCoRecord struct)Maps messages contained in the provided table structure to a BO.voidmap(BusinessObject rootBo, com.sap.conn.jco.JCoRecord singleMsg, com.sap.conn.jco.JCoTable msgTable)Maps messages contained in the provided table and/or structure to a BO.
-
-
-
Method Detail
-
map
void map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord singleMsg, com.sap.conn.jco.JCoTable msgTable) throws BackendException
Maps messages contained in the provided table and/or structure to a BO. Mapping is according to the rules defined in messages.xml- Parameters:
rootBo- BO which gets the messagessingleMsg- Error structuremsgTable- Error table, typically of structure BAPIRET2- Throws:
BackendException
-
map
Message map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord struct) throws BackendException
Maps messages contained in the provided table structure to a BO. Mapping is according to the rules defined in messages.xml- Parameters:
rootBo- BO which gets the messagesstruct-- Returns:
- A BOL message
- Throws:
BackendException
-
-