org.broadleafcommerce.core.order.service.workflow
Class CartOperationProcessContextFactory

java.lang.Object
  extended by org.broadleafcommerce.core.order.service.workflow.CartOperationProcessContextFactory
All Implemented Interfaces:
ProcessContextFactory

public class CartOperationProcessContextFactory
extends Object
implements ProcessContextFactory

Provides a method that creates the seed ProcessContext object for a cart operation. The same seed object is used for add item, update item, and remove item cart operations.

Author:
apazzolini

Constructor Summary
CartOperationProcessContextFactory()
           
 
Method Summary
 ProcessContext createContext(Object seedData)
          Creates the necessary context for cart operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CartOperationProcessContextFactory

public CartOperationProcessContextFactory()
Method Detail

createContext

public ProcessContext createContext(Object seedData)
                             throws WorkflowException
Creates the necessary context for cart operations

Specified by:
createContext in interface ProcessContextFactory
Throws:
WorkflowException


Copyright © 2012. All Rights Reserved.