Package org.opennms.netmgt.dao.hibernate
Class HwEntityAttributeTypeDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<HwEntityAttributeType,Integer>
-
- org.opennms.netmgt.dao.hibernate.HwEntityAttributeTypeDaoHibernate
-
- All Implemented Interfaces:
HwEntityAttributeTypeDao
,OnmsDao<HwEntityAttributeType,Integer>
,org.springframework.beans.factory.InitializingBean
public class HwEntityAttributeTypeDaoHibernate extends AbstractDaoHibernate<HwEntityAttributeType,Integer> implements HwEntityAttributeTypeDao
The Class HwEntityAttributeTypeDaoHibernate.- Author:
- Alejandro Galue
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description HwEntityAttributeTypeDaoHibernate()
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HwEntityAttributeType
findTypeByName(String name)
Find type by name.HwEntityAttributeType
findTypeByOid(String oid)
Find type by OID.-
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
buildHibernateCallback, bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findObjects, findUnique, flush, get, initDao, initialize, load, lock, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.dao.api.OnmsDao
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
-
-
-
-
Method Detail
-
findTypeByName
public HwEntityAttributeType findTypeByName(String name)
Description copied from interface:HwEntityAttributeTypeDao
Find type by name.- Specified by:
findTypeByName
in interfaceHwEntityAttributeTypeDao
- Parameters:
name
- the name- Returns:
- the hardware entity attribute type
-
findTypeByOid
public HwEntityAttributeType findTypeByOid(String oid)
Description copied from interface:HwEntityAttributeTypeDao
Find type by OID.- Specified by:
findTypeByOid
in interfaceHwEntityAttributeTypeDao
- Parameters:
oid
- the OID- Returns:
- the hardware entity attribute type
-
-