Class IsIsLinkDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<IsIsLink,Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.IsIsLinkDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<IsIsLink,Integer>
,IsIsLinkDao
,org.springframework.beans.factory.InitializingBean
public class IsIsLinkDaoHibernate extends AbstractDaoHibernate<IsIsLink,Integer> implements IsIsLinkDao
IpInterfaceDaoHibernate class.
- Author:
- antonio
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description IsIsLinkDaoHibernate()
Constructor for IpInterfaceDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeId)
void
deleteByNodeIdOlderThen(Integer nodeId, Date now)
List<IsIsLink>
findByNodeId(Integer nodeId)
List<IsIsLink>
findBySysIdAndAdjAndCircIndex(int nodeId)
Returns all IsIsLinks related by the sysId of an intermediary IsIsElement and the adj/circ indexes of some other IsIsLink that is directly related to the given node.IsIsLink
get(Integer nodeId, Integer isisCircIndex, Integer isisISAdjIndex)
IsIsLink
get(OnmsNode node, Integer isisCircIndex, Integer isisISAdjIndex)
-
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
-
get
public IsIsLink get(OnmsNode node, Integer isisCircIndex, Integer isisISAdjIndex)
- Specified by:
get
in interfaceIsIsLinkDao
-
get
public IsIsLink get(Integer nodeId, Integer isisCircIndex, Integer isisISAdjIndex)
- Specified by:
get
in interfaceIsIsLinkDao
-
findByNodeId
public List<IsIsLink> findByNodeId(Integer nodeId)
- Specified by:
findByNodeId
in interfaceIsIsLinkDao
-
findBySysIdAndAdjAndCircIndex
public List<IsIsLink> findBySysIdAndAdjAndCircIndex(int nodeId)
Description copied from interface:IsIsLinkDao
Returns all IsIsLinks related by the sysId of an intermediary IsIsElement and the adj/circ indexes of some other IsIsLink that is directly related to the given node. Used to retrieve all IsIsLinks that need to be accessed when finding IsIsLinks of a node.- Specified by:
findBySysIdAndAdjAndCircIndex
in interfaceIsIsLinkDao
-
deleteByNodeIdOlderThen
public void deleteByNodeIdOlderThen(Integer nodeId, Date now)
- Specified by:
deleteByNodeIdOlderThen
in interfaceIsIsLinkDao
-
deleteByNodeId
public void deleteByNodeId(Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceIsIsLinkDao
-
-