org.broadleafcommerce.core.order.service.workflow.add
Class AddOrderItemActivity

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.BaseActivity<CartOperationContext>
      extended by org.broadleafcommerce.core.order.service.workflow.add.AddOrderItemActivity
All Implemented Interfaces:
Activity<CartOperationContext>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered

public class AddOrderItemActivity
extends BaseActivity<CartOperationContext>


Field Summary
protected  CatalogService catalogService
           
protected  OrderItemService orderItemService
           
protected  OrderService orderService
           
 
Fields inherited from class org.broadleafcommerce.core.workflow.BaseActivity
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
AddOrderItemActivity()
           
 
Method Summary
 CartOperationContext execute(CartOperationContext context)
          Called by the encompassing processor to activate the execution of the Activity
 
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
 

Field Detail

orderService

protected OrderService orderService

orderItemService

protected OrderItemService orderItemService

catalogService

protected CatalogService catalogService
Constructor Detail

AddOrderItemActivity

public AddOrderItemActivity()
Method Detail

execute

public CartOperationContext execute(CartOperationContext 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


Copyright © 2013. All Rights Reserved.