|
|||||||||
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.order.processor.SavedProperties atg.commerce.order.processor.ProcSavePaymentStatusObjects
public class ProcSavePaymentStatusObjects
This processor saves the PaymentStatus objects into the OrderRepository from the PaymentGroup object.
PaymentStatus
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.commerce.order.processor.SavedProperties |
---|
ORDER_PROPERTY, TYPE_PROPERTY |
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 | |
---|---|
ProcSavePaymentStatusObjects()
|
Method Summary | |
---|---|
protected boolean |
ensureList(Order order,
java.util.List mutItemList,
java.util.List statList,
MutableRepository mutRep,
OrderManager orderManager)
|
java.lang.String |
getAuthorizationStatusProperty()
Returns the authorizationStatusProperty |
java.lang.String |
getCreditCardStatusDescName()
Returns the creditCardStatusDescName |
java.lang.String |
getCreditStatusProperty()
Returns the creditStatusProperty |
java.lang.String |
getDebitStatusProperty()
Returns the debitStatusProperty |
java.lang.String |
getGiftCertificateStatusDescName()
Returns the giftCertificateStatusDescName |
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier |
java.lang.String |
getPaymentStatusDescName()
Returns property paymentStatusDescName |
protected java.lang.String |
getPaymentStatusDescriptorName(PaymentStatus pPaymentStatus,
OrderTools orderTools)
|
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed |
protected java.lang.String |
getStatusDescriptorName(PaymentStatus pStatusObject)
Return the item descriptor name which refers to the object type. |
java.lang.String |
getStoreCreditStatusDescName()
Returns the storeCreditStatusDescName |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method saves the PaymentStatus objects into the OrderRepository from the PaymentGroup object. |
protected boolean |
saveStatusProperties(Order order,
java.lang.Object paymentStatus,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager,
OrderTools orderTools)
|
void |
setAuthorizationStatusProperty(java.lang.String pAuthorizationStatusProperty)
Sets the authorizationStatusProperty |
void |
setCreditCardStatusDescName(java.lang.String pCreditCardStatusDescName)
Sets the creditCardStatusDescName |
void |
setCreditStatusProperty(java.lang.String pCreditStatusProperty)
Sets the creditStatusProperty |
void |
setDebitStatusProperty(java.lang.String pDebitStatusProperty)
Sets the debitStatusProperty |
void |
setGiftCertificateStatusDescName(java.lang.String pGiftCertificateStatusDescName)
Sets the giftCertificateStatusDescName |
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier |
void |
setPaymentStatusDescName(java.lang.String pPaymentStatusDescName)
Sets property paymentStatusDescName |
void |
setStoreCreditStatusDescName(java.lang.String pStoreCreditStatusDescName)
Sets the storeCreditStatusDescName |
Methods inherited from class atg.commerce.order.processor.SavedProperties |
---|
getMappedPropertyName, getPropertyDescriptorToBeanPropertyMap, getSaveChangedPropertiesOnly, getSavedProperties, setPropertyDescriptorToBeanPropertyMap, setSaveChangedPropertiesOnly, setSavedProperties |
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
Constructor Detail |
---|
public ProcSavePaymentStatusObjects()
Method Detail |
---|
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public java.lang.String getPaymentStatusDescName()
public void setPaymentStatusDescName(java.lang.String pPaymentStatusDescName)
pPaymentStatusDescName
- the value to set for property paymentStatusDescNamepublic java.lang.String getCreditCardStatusDescName()
public void setCreditCardStatusDescName(java.lang.String pCreditCardStatusDescName)
public java.lang.String getGiftCertificateStatusDescName()
public void setGiftCertificateStatusDescName(java.lang.String pGiftCertificateStatusDescName)
public java.lang.String getStoreCreditStatusDescName()
public void setStoreCreditStatusDescName(java.lang.String pStoreCreditStatusDescName)
public java.lang.String getAuthorizationStatusProperty()
public void setAuthorizationStatusProperty(java.lang.String pAuthorizationStatusProperty)
public java.lang.String getDebitStatusProperty()
public void setDebitStatusProperty(java.lang.String pDebitStatusProperty)
public java.lang.String getCreditStatusProperty()
public void setCreditStatusProperty(java.lang.String pCreditStatusProperty)
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier
in class ApplicationLoggingImpl
public java.lang.String getLoggingIdentifier()
getLoggingIdentifier
in class ApplicationLoggingImpl
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order, OrderRepository, and OrderManager objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokation
java.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)
,
PaymentStatus
protected boolean saveStatusProperties(Order order, java.lang.Object paymentStatus, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager, OrderTools orderTools) throws java.lang.Exception
java.lang.Exception
protected boolean ensureList(Order order, java.util.List mutItemList, java.util.List statList, MutableRepository mutRep, OrderManager orderManager) throws CommerceException, RepositoryException
CommerceException
RepositoryException
protected java.lang.String getPaymentStatusDescriptorName(PaymentStatus pPaymentStatus, OrderTools orderTools) throws CommerceException
CommerceException
protected java.lang.String getStatusDescriptorName(PaymentStatus pStatusObject) throws CommerceException
CommerceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |