BaseDAO<Language>
, LanguageDAO
public class LanguageDAOImpl extends BaseHibernateDAOImpl<Language> implements LanguageDAO
Constructor | Description |
---|---|
LanguageDAOImpl() |
Modifier and Type | Method | Description |
---|---|---|
Language |
findById(Integer id) |
|
List<Language> |
findByKey(String key) |
Finds all language items with a particular key.
|
Language |
findByKeyAndLocale(String key,
String locale) |
Finds all language items with the given key and locale.
|
List<Language> |
findByLocale(String locale) |
Finds all language items with a given locale.
|
delete, detach, merge, refresh, save, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public Language findById(Integer id)
findById
in interface LanguageDAO
public Language findByKeyAndLocale(String key, String locale)
LanguageDAO
findByKeyAndLocale
in interface LanguageDAO
key
- resource keypublic List<Language> findByKey(String key)
LanguageDAO
findByKey
in interface LanguageDAO
key
- resource keypublic List<Language> findByLocale(String locale)
LanguageDAO
findByLocale
in interface LanguageDAO
Copyright © 2002–2019 itracker. All rights reserved.