public class ProcAddApprovalSystemMessagesToOrder extends ApplicationLoggingImpl implements PipelineProcessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
static int |
SUCCESS |
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ProcAddApprovalSystemMessagesToOrder()
Creates a new
ProcAddApprovalSystemMessagesToOrder instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getClearOldMessages()
Returns property clearOldMessages
|
boolean |
getRemoveMessagesFromPipelineResult()
Returns property removeMessagesFromPipelineResult
|
int[] |
getRetCodes()
The return codes that this processor can return.
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method puts all the approval error messages into the approvalSystemMessages property
of an order.
|
void |
setClearOldMessages(boolean pClearOldMessages)
Sets property clearOldMessages
|
void |
setRemoveMessagesFromPipelineResult(boolean pRemoveMessagesFromPipelineResult)
Sets property removeMessagesFromPipelineResult
|
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, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static final int SUCCESS
public ProcAddApprovalSystemMessagesToOrder()
ProcAddApprovalSystemMessagesToOrder instance.public boolean getClearOldMessages()
public void setClearOldMessages(boolean pClearOldMessages)
pClearOldMessages - the value to set for property clearOldMessagespublic boolean getRemoveMessagesFromPipelineResult()
public void setRemoveMessagesFromPipelineResult(boolean pRemoveMessagesFromPipelineResult)
pRemoveMessagesFromPipelineResult - the value to set for property removeMessagesFromPipelineResultpublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - list of params to pipelinepResult - the pipeline result objectjava.lang.Exception - if an error occurspublic int[] getRetCodes()
getRetCodes in interface PipelineProcessorint[] of the valid return codes