|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.persistence.SettingsRepository
public class SettingsRepository
A repository for settings objects.
Constructor Summary | |
---|---|
SettingsRepository(javax.persistence.EntityManager em)
Constructor. |
|
SettingsRepository(ccc.persistence.Repository repo)
Constructor. |
Method Summary | |
---|---|
Setting |
find(Setting.Name settingName)
Find a setting, given its name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SettingsRepository(ccc.persistence.Repository repo)
repo
- The underlying repository implementation.public SettingsRepository(javax.persistence.EntityManager em)
em
- The JPA entity manager for this repository.Method Detail |
---|
public Setting find(Setting.Name settingName)
settingName
- The setting's name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |