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 java.lang.Object
implements IdGenerationDao


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

Field Detail

defaultBatchSize

protected java.lang.Long defaultBatchSize

defaultBatchStart

protected java.lang.Long defaultBatchStart

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration

queryCacheableKey

protected java.lang.String queryCacheableKey
Constructor Detail

IdGenerationDaoImpl

public IdGenerationDaoImpl()
Method Detail

findNextId

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

getDefaultBatchSize

public java.lang.Long getDefaultBatchSize()

setDefaultBatchSize

public void setDefaultBatchSize(java.lang.Long defaultBatchSize)

getDefaultBatchStart

public java.lang.Long getDefaultBatchStart()

setDefaultBatchStart

public void setDefaultBatchStart(java.lang.Long defaultBatchStart)

getQueryCacheableKey

public java.lang.String getQueryCacheableKey()

setQueryCacheableKey

public void setQueryCacheableKey(java.lang.String queryCacheableKey)


Copyright © 2011. All Rights Reserved.