org.opennms.netmgt.dao.hibernate
Class CategoryDaoHibernate
java.lang.Object
org.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
- All Implemented Interfaces:
- CategoryDao, OnmsDao<OnmsCategory,Integer>, org.springframework.beans.factory.InitializingBean
public class CategoryDaoHibernate
- extends AbstractCachingDaoHibernate<OnmsCategory,Integer,String>
- implements CategoryDao
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
| 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, initialize, 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, initDao |
| 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, save, saveOrUpdate, update |
CategoryDaoHibernate
public CategoryDaoHibernate()
findByName
public OnmsCategory findByName(String name)
- Specified by:
findByName in interface CategoryDao
findByName
public OnmsCategory findByName(String name,
boolean useCached)
- Specified by:
findByName in interface CategoryDao
getKey
protected String getKey(OnmsCategory category)
- Specified by:
getKey in class AbstractCachingDaoHibernate<OnmsCategory,Integer,String>
getAllCategoryNames
public List<String> getAllCategoryNames()
- Specified by:
getAllCategoryNames in interface CategoryDao
getCriterionForCategorySetsUnion
public List<org.hibernate.criterion.Criterion> getCriterionForCategorySetsUnion(String[]... categories)
- Specified by:
getCriterionForCategorySetsUnion in interface CategoryDao
getCategoriesWithAuthorizedGroup
public List<OnmsCategory> getCategoriesWithAuthorizedGroup(String groupName)
- Specified by:
getCategoriesWithAuthorizedGroup in interface CategoryDao
Copyright © 2009. All Rights Reserved.