org.broadleafcommerce.common.config.dao
Class SystemPropertiesDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.common.config.dao.SystemPropertiesDaoImpl
All Implemented Interfaces:
SystemPropertiesDao

@Repository(value="blSystemPropertiesDao")
public class SystemPropertiesDaoImpl
extends Object
implements SystemPropertiesDao

This DAO enables access to manage system properties that can be stored in the database.

User: Kelly Tisdell Date: 6/20/12


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
SystemPropertiesDaoImpl()
           
 
Method Summary
 SystemProperty createNewSystemProperty()
           
 void deleteSystemProperty(SystemProperty systemProperty)
           
 List<SystemProperty> readAllSystemProperties()
           
 SystemProperty readSystemPropertyByName(String name)
           
 SystemProperty saveSystemProperty(SystemProperty systemProperty)
           
 
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

SystemPropertiesDaoImpl

public SystemPropertiesDaoImpl()
Method Detail

saveSystemProperty

public SystemProperty saveSystemProperty(SystemProperty systemProperty)
Specified by:
saveSystemProperty in interface SystemPropertiesDao

deleteSystemProperty

public void deleteSystemProperty(SystemProperty systemProperty)
Specified by:
deleteSystemProperty in interface SystemPropertiesDao

readAllSystemProperties

public List<SystemProperty> readAllSystemProperties()
Specified by:
readAllSystemProperties in interface SystemPropertiesDao

readSystemPropertyByName

public SystemProperty readSystemPropertyByName(String name)
Specified by:
readSystemPropertyByName in interface SystemPropertiesDao

createNewSystemProperty

public SystemProperty createNewSystemProperty()
Specified by:
createNewSystemProperty in interface SystemPropertiesDao


Copyright © 2012. All Rights Reserved.