org.broadleafcommerce.core.util.dao
Class CodeTypeDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.util.dao.CodeTypeDaoImpl
All Implemented Interfaces:
CodeTypeDao

@Repository(value="blCodeTypeDao")
public class CodeTypeDaoImpl
extends Object
implements CodeTypeDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
CodeTypeDaoImpl()
           
 
Method Summary
 CodeType create()
           
 void delete(CodeType codeType)
           
 List<CodeType> readAllCodeTypes()
           
 CodeType readCodeTypeById(Long codeTypeId)
           
 List<CodeType> readCodeTypeByKey(String key)
           
 CodeType save(CodeType codeType)
           
 
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

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

CodeTypeDaoImpl

public CodeTypeDaoImpl()
Method Detail

create

public CodeType create()
Specified by:
create in interface CodeTypeDao

readAllCodeTypes

public List<CodeType> readAllCodeTypes()
Specified by:
readAllCodeTypes in interface CodeTypeDao

delete

public void delete(CodeType codeType)
Specified by:
delete in interface CodeTypeDao

readCodeTypeById

public CodeType readCodeTypeById(Long codeTypeId)
Specified by:
readCodeTypeById in interface CodeTypeDao

readCodeTypeByKey

public List<CodeType> readCodeTypeByKey(String key)
Specified by:
readCodeTypeByKey in interface CodeTypeDao

save

public CodeType save(CodeType codeType)
Specified by:
save in interface CodeTypeDao


Copyright © 2013. All Rights Reserved.