Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.interf.messagemapping
Interface BackendMessageMapper
- All Known Implementing Classes:
BackendMessageMapperImpl
public interface BackendMessageMapper
Maps backend messages according to messages.xml
-
Method Summary
Modifier and TypeMethodDescriptionmap(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 Details
-
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
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
-