Class IsIsElementDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<IsIsElement,Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.IsIsElementDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<IsIsElement,Integer>
,IsIsElementDao
,org.springframework.beans.factory.InitializingBean
public class IsIsElementDaoHibernate extends AbstractDaoHibernate<IsIsElement,Integer> implements IsIsElementDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description IsIsElementDaoHibernate()
Constructor for IsIsElementDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeId)
IsIsElement
findByIsIsSysId(String isisSysId)
IsIsElement
findByNodeId(Integer id)
findByNodeIdList<IsIsElement>
findBySysIdOfIsIsLinksOfNode(int nodeId)
Returns all IsIsElements that have an isisSysID that matches an isisISAdjNeighSysID of an IsIsLink related to the given node.-
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
-
findByNodeId
public IsIsElement findByNodeId(Integer id)
findByNodeId
- Specified by:
findByNodeId
in interfaceIsIsElementDao
- Parameters:
id
- aInteger
object.- Returns:
- a
IsIsElement
object.
-
findByIsIsSysId
public IsIsElement findByIsIsSysId(String isisSysId)
- Specified by:
findByIsIsSysId
in interfaceIsIsElementDao
-
findBySysIdOfIsIsLinksOfNode
public List<IsIsElement> findBySysIdOfIsIsLinksOfNode(int nodeId)
Description copied from interface:IsIsElementDao
Returns all IsIsElements that have an isisSysID that matches an isisISAdjNeighSysID of an IsIsLink related to the given node. Used to retrieve all IsIsElements that need to be accessed when finding IsIs links of a node.- Specified by:
findBySysIdOfIsIsLinksOfNode
in interfaceIsIsElementDao
-
deleteByNodeId
public void deleteByNodeId(Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceIsIsElementDao
-
-