org.broadleafcommerce.profile.core.dao
Class IdGenerationDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.dao.IdGenerationDaoImpl
All Implemented Interfaces:
IdGenerationDao

@Repository(value="blIdGenerationDao")
public class IdGenerationDaoImpl
extends Object
implements IdGenerationDao


Field Summary
protected  Long defaultBatchSize
           
protected  Long defaultBatchStart
           
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
IdGenerationDaoImpl()
           
 
Method Summary
 IdGeneration findNextId(String idType)
           
 Long getDefaultBatchSize()
           
 Long getDefaultBatchStart()
           
 void setDefaultBatchSize(Long defaultBatchSize)
           
 void setDefaultBatchStart(Long defaultBatchStart)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultBatchSize

protected Long defaultBatchSize

defaultBatchStart

protected Long defaultBatchStart

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

IdGenerationDaoImpl

public IdGenerationDaoImpl()
Method Detail

findNextId

public IdGeneration findNextId(String idType)
                        throws javax.persistence.OptimisticLockException,
                               Exception
Specified by:
findNextId in interface IdGenerationDao
Throws:
javax.persistence.OptimisticLockException
Exception

getDefaultBatchSize

public Long getDefaultBatchSize()

setDefaultBatchSize

public void setDefaultBatchSize(Long defaultBatchSize)

getDefaultBatchStart

public Long getDefaultBatchStart()

setDefaultBatchStart

public void setDefaultBatchStart(Long defaultBatchStart)


Copyright © 2012. All Rights Reserved.