Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.interf.messagemapping
Interface MessageMappingCallbackProcessor
-
- All Known Implementing Classes:
DefaultInternalNumberReplacementMsgMappingCallback,DefaultProductIdReplacementCPQErrorMsgMappingCallback,DefaultSapProductIdReplacementMsgMappingCallback,TestImplementationMessageMappingCallback
public interface MessageMappingCallbackProcessorDefines a callback function that is called during message mapping
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()Should return the id of the message mapping callback processor.booleanprocess(BackendMessage message)Method is called during message replacement.
-
-
-
Method Detail
-
process
boolean process(BackendMessage message)
Method is called during message replacement. Implement this message if you want to change the message before it gets replaced. E.g.: Replace message arguments .
It's also possible to remove messages via returning false.- Parameters:
message- Back end message to evaluate- Returns:
- Do we want to keep the message?
-
getId
java.lang.String getId()
Should return the id of the message mapping callback processor. Returned string must be equals to the callbackId specified in a message rule (messages.xml) in order to get called- Returns:
- ID of callback
-
-