@PermitAll public class JpaSettingDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<Setting,String> implements SettingDao
SettingDao
.Constructor and Description |
---|
JpaSettingDao()
Creates new instance.
|
JpaSettingDao(javax.persistence.EntityManager em)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Setting> |
findAll()
Finds all settings
|
protected javax.persistence.EntityManager |
getEntityManager() |
Setting |
getSetting(String id) |
clear, contains, findById, findById, findByIds, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JpaSettingDao()
public JpaSettingDao(javax.persistence.EntityManager em)
em
- public Setting getSetting(String id)
getSetting
in interface SettingDao
id
- id of settingpublic List<Setting> findAll()
SettingDao
findAll
in interface SettingDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.