org.opennms.netmgt.dao.hibernate
Class OnmsMapElementDaoHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsMapElement,Integer>
org.opennms.netmgt.dao.hibernate.OnmsMapElementDaoHibernate
- All Implemented Interfaces:
- OnmsDao<OnmsMapElement,Integer>, OnmsMapElementDao, org.springframework.beans.factory.InitializingBean
public class OnmsMapElementDaoHibernate
- extends AbstractDaoHibernate<OnmsMapElement,Integer>
- implements OnmsMapElementDao
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
| Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate |
bulkDelete, clear, countAll, countMatching, delete, deleteAll, evict, find, find, findAll, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, get, initialize, load, merge, queryInt, queryInt, save, saveOrUpdate, update |
| 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 |
OnmsMapElementDaoHibernate
public OnmsMapElementDaoHibernate()
findAll
public Collection<OnmsMapElement> findAll(Integer offset,
Integer limit)
- Specified by:
findAll in interface OnmsMapElementDao
findMapElementById
public OnmsMapElement findMapElementById(int id)
- Specified by:
findMapElementById in interface OnmsMapElementDao
findMapElementsByMapId
public Collection<OnmsMapElement> findMapElementsByMapId(OnmsMap map)
- Specified by:
findMapElementsByMapId in interface OnmsMapElementDao
deleteElementsByMapId
public void deleteElementsByMapId(OnmsMap map)
- Specified by:
deleteElementsByMapId in interface OnmsMapElementDao
deleteElementsByType
public void deleteElementsByType(String type)
- Specified by:
deleteElementsByType in interface OnmsMapElementDao
deleteElementsByElementIdAndType
public void deleteElementsByElementIdAndType(int id,
String type)
- Specified by:
deleteElementsByElementIdAndType in interface OnmsMapElementDao
findElementsByElementIdAndType
public Collection<OnmsMapElement> findElementsByElementIdAndType(int elementId,
String type)
- Specified by:
findElementsByElementIdAndType in interface OnmsMapElementDao
findElementsByType
public Collection<OnmsMapElement> findElementsByType(String type)
- Specified by:
findElementsByType in interface OnmsMapElementDao
findMapElement
public OnmsMapElement findMapElement(int elementId,
String type,
OnmsMap map)
- Specified by:
findMapElement in interface OnmsMapElementDao
Copyright © 2009. All Rights Reserved.