org.broadleafcommerce.core.offer.service.workflow
Class RecordOfferUsageActivity

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

public class RecordOfferUsageActivity
extends BaseActivity

Saves an instance of OfferAudit for each offer in the passed in order. Assumes that it is part of a larger transaction context.


Constructor Summary
RecordOfferUsageActivity()
           
 
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
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
 

Constructor Detail

RecordOfferUsageActivity

public RecordOfferUsageActivity()
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.