|
|||||||||
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.GenericService atg.b2bcommerce.invoice.pipeline.CopyInvoiceRequestProperties
public class CopyInvoiceRequestProperties
Pipeline processor that copies invoice properties from an InvoiceRequestInfo object into an invoice repository item.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static int[] |
RETCODES
|
static int |
SUCCESS
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
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 | |
---|---|
CopyInvoiceRequestProperties()
|
Method Summary | |
---|---|
protected int |
getErrorReturnCode()
Return the value that the pipeline processor should return to the pipeline chain in case of error. |
int[] |
getRetCodes()
Return all possible return values for this processor. |
boolean |
isRollbackOnError()
Query whether failure of this processor is considered a fatal error. |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Copy properties from an InvoiceRequestInfo object into the corresponding Invoice repository item, where both objects are obtained from the invoice pipeline arguments supplied to this pipeline processor. |
void |
setRollbackOnError(boolean pRollbackOnError)
Specify whether or failure in this processor is considered fatal error. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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
public static final int[] RETCODES
Constructor Detail |
---|
public CopyInvoiceRequestProperties()
Method Detail |
---|
public void setRollbackOnError(boolean pRollbackOnError)
public boolean isRollbackOnError()
public int runProcess(java.lang.Object pParam, PipelineResult pResult)
runProcess
in interface PipelineProcessor
pParam
- Pipeline parameters, which should be an instance of InvoicePipelineArgs.pResult
- Standard pipeline result object.
protected int getErrorReturnCode()
rollbackOnError
property.
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |