org.broadleafcommerce.core.order.service.workflow.remove
Class RemoveOrderItemActivity

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

public class RemoveOrderItemActivity
extends BaseActivity

This class is responsible for removing OrderItems when requested by the OrderService. Note that this class does not touch the FulfillmentGroupItems and expects that they have already been removed by the time this activity executes.

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  OrderItemMergeService orderItemMergeService
           
protected  OrderItemService orderItemService
           
protected  OrderService orderService
           
 
Constructor Summary
RemoveOrderItemActivity()
           
 
Method Summary
 ProcessContext execute(ProcessContext context)
          Called by the encompassing processor to activate the execution of the Activity
 
Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity
getBeanName, getErrorHandler, setBeanName, setErrorHandler
 
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

orderItemMergeService

protected OrderItemMergeService orderItemMergeService
Constructor Detail

RemoveOrderItemActivity

public RemoveOrderItemActivity()
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


Copyright © 2013. All Rights Reserved.