|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<T,DbKey>
org.opennms.netmgt.dao.hibernate.AbstractCachingDaoHibernate<OnmsCategory,Integer,String>
org.opennms.netmgt.dao.hibernate.CategoryDaoHibernate
public class CategoryDaoHibernate
CategoryDaoHibernate class.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
CategoryDaoHibernate()
Constructor for CategoryDaoHibernate. |
|
| Method Summary | |
|---|---|
OnmsCategory |
findByName(String name)
findByName |
OnmsCategory |
findByName(String name,
boolean useCached)
findByName |
List<String> |
getAllCategoryNames()
getAllCategoryNames |
List<OnmsCategory> |
getCategoriesWithAuthorizedGroup(String groupName)
getCategoriesWithAuthorizedGroup |
List<org.hibernate.criterion.Criterion> |
getCriterionForCategorySetsUnion(String[]... categories)
getCriterionForCategorySetsUnion |
protected String |
getKey(OnmsCategory category)
getKey |
| Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractCachingDaoHibernate |
|---|
clear, delete, deleteAll, findAll, findByCacheKey, get, load, merge, save, saveOrUpdate, update |
| Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate |
|---|
bulkDelete, countAll, countMatching, evict, find, find, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, initDao, initialize, lock, queryInt, queryInt |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opennms.netmgt.dao.OnmsDao |
|---|
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update |
| Constructor Detail |
|---|
public CategoryDaoHibernate()
Constructor for CategoryDaoHibernate.
| Method Detail |
|---|
public OnmsCategory findByName(String name)
findByName
findByName in interface CategoryDaoname - a String object.
OnmsCategory object.
public OnmsCategory findByName(String name,
boolean useCached)
findByName
findByName in interface CategoryDaoname - a String object.useCached - a boolean.
OnmsCategory object.protected String getKey(OnmsCategory category)
getKey
getKey in class AbstractCachingDaoHibernate<OnmsCategory,Integer,String>category - a T object.
public List<String> getAllCategoryNames()
getAllCategoryNames
getAllCategoryNames in interface CategoryDaoList object.public List<org.hibernate.criterion.Criterion> getCriterionForCategorySetsUnion(String[]... categories)
getCriterionForCategorySetsUnion
getCriterionForCategorySetsUnion in interface CategoryDaocategories - an array of String objects.
List object.public List<OnmsCategory> getCategoriesWithAuthorizedGroup(String groupName)
getCategoriesWithAuthorizedGroup
getCategoriesWithAuthorizedGroup in interface CategoryDaogroupName - a String object.
List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||