|
|||||||||
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.ProcVerifyApproval
public class ProcVerifyApproval
This class returns the value in the alreadyApprovedReturnValue property if the state or the order is the same as the state in thge approvedOrderState property of this class. If not, then the value in notYetApprovedReturnValue is returned.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
int |
NOT_YET_APPROVED
|
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 | |
---|---|
ProcVerifyApproval()
|
Method Summary | |
---|---|
int |
getAlreadyApprovedReturnValue()
Returns property alreadyApprovedReturnValue |
java.lang.String |
getApprovedOrderState()
Returns property approvedOrderState |
int |
getNotYetApprovedReturnValue()
Returns property notYetApprovedReturnValue |
int[] |
getRetCodes()
Returns an array of all the return codes that could be returned by this PipelineProcessor. |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method returns the value in the alreadyApprovedReturnValue property if the state or the order is the same as the state in thge approvedOrderState property of this class. |
void |
setAlreadyApprovedReturnValue(int pAlreadyApprovedReturnValue)
Sets property alreadyApprovedReturnValue |
void |
setApprovedOrderState(java.lang.String pApprovedOrderState)
Sets property approvedOrderState |
void |
setNotYetApprovedReturnValue(int pNotYetApprovedReturnValue)
Sets property notYetApprovedReturnValue |
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 final int NOT_YET_APPROVED
Constructor Detail |
---|
public ProcVerifyApproval()
Method Detail |
---|
public int getNotYetApprovedReturnValue()
public void setNotYetApprovedReturnValue(int pNotYetApprovedReturnValue)
pNotYetApprovedReturnValue
- the value to set for property notYetApprovedReturnValuepublic int getAlreadyApprovedReturnValue()
public void setAlreadyApprovedReturnValue(int pAlreadyApprovedReturnValue)
pAlreadyApprovedReturnValue
- the value to set for property alreadyApprovedReturnValuepublic java.lang.String getApprovedOrderState()
public void setApprovedOrderState(java.lang.String pApprovedOrderState)
pApprovedOrderState
- the value to set for property approvedOrderStatepublic int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- an optional user parameterpResult
- the PipelineResult object which is used to return errors or other data
java.lang.Exception
public int[] getRetCodes()
PipelineProcessor
getRetCodes
in interface PipelineProcessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |