| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.ApplicationLoggingImpl
atg.b2bcommerce.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 ProcAddApprovalSystemMessagesToOrderinstance. | |
| 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 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 removeMessagesFromPipelineResult
public int runProcess(java.lang.Object pParam,
                      PipelineResult pResult)
               throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - list of params to pipelinepResult - the pipeline result object
java.lang.Exception - if an error occurspublic int[] getRetCodes()
getRetCodes in interface PipelineProcessorint[] of the valid return codes| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||