org.broadleafcommerce.core.catalog.service.dynamic
Class SkuActiveDateConsiderationContext

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.service.dynamic.SkuActiveDateConsiderationContext

public class SkuActiveDateConsiderationContext
extends Object

Convenient place to store the active date context and the related service on thread local.

Author:
jfischer
See Also:
SkuImpl#getActiveStartDate()}, SkuImpl#getActiveEndDate()}

Field Summary
protected  HashMap considerations
           
protected  DynamicSkuActiveDatesService service
           
 
Constructor Summary
SkuActiveDateConsiderationContext()
           
 
Method Summary
static HashMap getSkuActiveDateConsiderationContext()
           
static DynamicSkuActiveDatesService getSkuActiveDatesService()
           
static boolean hasDynamicActiveDates()
           
static void setSkuActiveDateConsiderationContext(HashMap skuPricingConsiderations)
           
static void setSkuActiveDatesService(DynamicSkuActiveDatesService skuPricingService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

protected DynamicSkuActiveDatesService service

considerations

protected HashMap considerations
Constructor Detail

SkuActiveDateConsiderationContext

public SkuActiveDateConsiderationContext()
Method Detail

getSkuActiveDateConsiderationContext

public static HashMap getSkuActiveDateConsiderationContext()

setSkuActiveDateConsiderationContext

public static void setSkuActiveDateConsiderationContext(HashMap skuPricingConsiderations)

getSkuActiveDatesService

public static DynamicSkuActiveDatesService getSkuActiveDatesService()

setSkuActiveDatesService

public static void setSkuActiveDatesService(DynamicSkuActiveDatesService skuPricingService)

hasDynamicActiveDates

public static boolean hasDynamicActiveDates()


Copyright © 2013. All Rights Reserved.