org.broadleafcommerce.core.payment.service.workflow
Class PaymentActivity

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.BaseActivity
      extended by org.broadleafcommerce.core.payment.service.workflow.PaymentActivity
All Implemented Interfaces:
Activity, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class PaymentActivity
extends BaseActivity


Field Summary
protected  boolean automaticallyRegisterRollbackHandlerForPayment
           
protected  PaymentService paymentService
           
static String ROLLBACK_ACTIONTYPE
           
static String ROLLBACK_PAYMENTCONTEXT
           
static String ROLLBACK_RESPONSEITEM
           
protected  String userName
           
 
Constructor Summary
PaymentActivity()
           
 
Method Summary
 ProcessContext execute(ProcessContext context)
          Called by the encompassing processor to activate the execution of the Activity
 boolean getAutomaticallyRegisterRollbackHandlerForPayment()
           
 PaymentService getPaymentService()
           
 String getUserName()
           
 void setAutomaticallyRegisterRollbackHandlerForPayment(boolean automaticallyRegisterRollbackHandlerForPayment)
           
 void setPaymentService(PaymentService paymentService)
           
 void setUserName(String userName)
           
 
Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setRollbackHandler, setRollbackRegion, setStateConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PaymentActivity

public PaymentActivity()
Method Detail

execute

public ProcessContext execute(ProcessContext 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.