|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.logging.ApplicationLoggingImpl atg.commerce.approval.processor.ProcAddApprovalSystemMessagesToOrder
public class ProcAddApprovalSystemMessagesToOrder
This processor adds the error messages in the PipelineResult object to the approverMessages property in the Order object.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static int |
SUCCESS
|
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ProcAddApprovalSystemMessagesToOrder()
Creates a new ProcAddApprovalSystemMessagesToOrder instance. |
Method Summary | |
---|---|
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 |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final int SUCCESS
Constructor Detail |
---|
public ProcAddApprovalSystemMessagesToOrder()
ProcAddApprovalSystemMessagesToOrder
instance.
Method Detail |
---|
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 PipelineProcessor
pParam
- list of params to pipelinepResult
- the pipeline result object
java.lang.Exception
- if an error occurspublic int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
int[]
of the valid return codes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |