org.broadleafcommerce.core.util.demo
Class CatalogMultiplierImpl

java.lang.Object
  extended by org.broadleafcommerce.core.util.demo.CatalogMultiplierImpl
All Implemented Interfaces:
CatalogMultiplier

public class CatalogMultiplierImpl
extends Object
implements CatalogMultiplier

Author:
jfischer

Field Summary
protected  CatalogService catalogService
           
protected  CategoryXrefDao categoryXrefDao
           
protected  javax.persistence.EntityManager em
           
protected  long numberOfProductsToAdd
           
protected  Random random
           
 
Constructor Summary
CatalogMultiplierImpl()
           
 
Method Summary
 long getNumberOfProductsToAdd()
           
 void init()
           
 void setNumberOfProductsToAdd(long numberOfProductsToAdd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

catalogService

protected CatalogService catalogService

categoryXrefDao

protected CategoryXrefDao categoryXrefDao

random

protected Random random

numberOfProductsToAdd

protected long numberOfProductsToAdd
Constructor Detail

CatalogMultiplierImpl

public CatalogMultiplierImpl()
Method Detail

init

public void init()
Specified by:
init in interface CatalogMultiplier

getNumberOfProductsToAdd

public long getNumberOfProductsToAdd()

setNumberOfProductsToAdd

public void setNumberOfProductsToAdd(long numberOfProductsToAdd)


Copyright © 2012. All Rights Reserved.