public class ProcSendApprovalCompleteMessage extends EventSender
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
FAILURE, SUCCESS
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProcSendApprovalCompleteMessage()
Creates a new
ProcSendApprovalCompleteMessage instance. |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
createEventToSend(java.lang.Object pParam,
PipelineResult pResult)
This method creates the ApprovalMessage object and populates it.
|
java.lang.String |
getMessageSourceName()
Return the messageSourceName property.
|
protected void |
setApprovalStatus(ApprovalMessage auMessage,
java.lang.String approvalStatus)
This method sets the approvalStatus property in the ApprovalMessage object.
|
void |
setMessageSourceName(java.lang.String pMessageSourceName)
Set the messageSourceName property.
|
getEventType, getEventType, getMessageIdGenerator, getMessageIdSpaceName, getMessageSourceContext, getNextMessageId, getPortName, getRetCodes, getSiteId, isAllowMessageSending, runProcess, sendObjectMessage, setAllowMessageSending, setEventType, setMessageIdGenerator, setMessageIdSpaceName, setMessageSourceContext, setPortName, startMessageSource, stopMessageSource
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public ProcSendApprovalCompleteMessage()
ProcSendApprovalCompleteMessage
instance.public java.lang.String getMessageSourceName()
public void setMessageSourceName(java.lang.String pMessageSourceName)
pMessageSourceName
- the name of the message sourcepublic java.io.Serializable createEventToSend(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
createEventToSend
in class EventSender
java.lang.Exception
protected void setApprovalStatus(ApprovalMessage auMessage, java.lang.String approvalStatus) throws CommerceException
auMessage
- the ApprovalMessageapprovalStatus
- the value of the approval status from the approval update messageCommerceException
- if approvalStatus is neither ApprovalTools.APPROVED or ApprovalTools.REJECTED