org.broadleafcommerce.core.payment.service.workflow
Class PaymentActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<WorkflowPaymentContext>
org.broadleafcommerce.core.payment.service.workflow.PaymentActivity
- All Implemented Interfaces:
- Activity<WorkflowPaymentContext>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered
public class PaymentActivity
- extends BaseActivity<WorkflowPaymentContext>
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLLBACK_PAYMENTCONTEXT
public static final String ROLLBACK_PAYMENTCONTEXT
- See Also:
- Constant Field Values
ROLLBACK_RESPONSEITEM
public static final String ROLLBACK_RESPONSEITEM
- See Also:
- Constant Field Values
ROLLBACK_ACTIONTYPE
public static final String ROLLBACK_ACTIONTYPE
- See Also:
- Constant Field Values
paymentService
protected PaymentService paymentService
userName
protected String userName
automaticallyRegisterRollbackHandlerForPayment
protected boolean automaticallyRegisterRollbackHandlerForPayment
PaymentActivity
public PaymentActivity()
execute
public WorkflowPaymentContext execute(WorkflowPaymentContext context)
throws Exception
- Description copied from interface:
Activity
- Called by the encompassing processor to activate
the execution of the Activity
- Parameters:
context - - process context for this workflow
- Returns:
- resulting process context
- Throws:
Exception
getPaymentService
public PaymentService getPaymentService()
setPaymentService
public void setPaymentService(PaymentService paymentService)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getAutomaticallyRegisterRollbackHandlerForPayment
public boolean getAutomaticallyRegisterRollbackHandlerForPayment()
setAutomaticallyRegisterRollbackHandlerForPayment
public void setAutomaticallyRegisterRollbackHandlerForPayment(boolean automaticallyRegisterRollbackHandlerForPayment)
Copyright © 2013. All Rights Reserved.