public class JPAConfDAO extends AbstractDAO<Conf> implements ConfDAO
LOG
Constructor and Description |
---|
JPAConfDAO() |
Modifier and Type | Method and Description |
---|---|
Conf |
delete(String key) |
Optional<? extends CPlainAttr> |
find(String key) |
<T> T |
find(String key,
T defaultValue) |
Conf |
get() |
List<String> |
getValuesAsStrings(String key) |
Conf |
save(CPlainAttr attr) |
clear, detach, entityManager, entityManagerFactory, refresh
@Transactional(readOnly=true) public Optional<? extends CPlainAttr> find(String key)
@Transactional(readOnly=true) public List<String> getValuesAsStrings(String key)
getValuesAsStrings
in interface ConfDAO
@Transactional(readOnly=true) public <T> T find(String key, T defaultValue)
public Conf save(CPlainAttr attr)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.