|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsIpInterface,Integer>
org.opennms.netmgt.dao.hibernate.IpInterfaceDaoHibernate
public class IpInterfaceDaoHibernate
IpInterfaceDaoHibernate class.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
IpInterfaceDaoHibernate()
Constructor for IpInterfaceDaoHibernate. |
|
| Method Summary | |
|---|---|
boolean |
addressExistsWithForeignSource(String ipAddress,
String foreignSource)
addressExistsWithForeignSource |
OnmsIpInterface |
findByForeignKeyAndIpAddress(String foreignSource,
String foreignId,
String ipAddress)
findByForeignKeyAndIpAddress |
Collection<OnmsIpInterface> |
findByIpAddress(String ipAddress)
findByIpAddress |
OnmsIpInterface |
findByNodeIdAndIpAddress(Integer nodeId,
String ipAddress)
findByNodeIdAndIpAddress |
Collection<OnmsIpInterface> |
findByServiceType(String svcName)
findByServiceType |
Collection<OnmsIpInterface> |
findHierarchyByServiceType(String svcName)
findHierarchyByServiceType |
OnmsIpInterface |
get(OnmsNode node,
String ipAddress)
get |
Map<String,Integer> |
getInterfacesForNodes()
getInterfacesForNodes |
| 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 |
| Constructor Detail |
|---|
public IpInterfaceDaoHibernate()
Constructor for IpInterfaceDaoHibernate.
| Method Detail |
|---|
public OnmsIpInterface get(OnmsNode node,
String ipAddress)
get
get in interface IpInterfaceDaonode - a OnmsNode object.ipAddress - a String object.
OnmsIpInterface object.public Collection<OnmsIpInterface> findByIpAddress(String ipAddress)
findByIpAddress
findByIpAddress in interface IpInterfaceDaoipAddress - a String object.
Collection object.
public OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId,
String ipAddress)
findByNodeIdAndIpAddress
findByNodeIdAndIpAddress in interface IpInterfaceDaonodeId - a Integer object.ipAddress - a String object.
OnmsIpInterface object.
public OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource,
String foreignId,
String ipAddress)
findByForeignKeyAndIpAddress
findByForeignKeyAndIpAddress in interface IpInterfaceDaoforeignSource - a String object.foreignId - a String object.ipAddress - a String object.
OnmsIpInterface object.public Collection<OnmsIpInterface> findByServiceType(String svcName)
findByServiceType
findByServiceType in interface IpInterfaceDaosvcName - a String object.
Collection object.public Collection<OnmsIpInterface> findHierarchyByServiceType(String svcName)
findHierarchyByServiceType
findHierarchyByServiceType in interface IpInterfaceDaosvcName - a String object.
Collection object.public Map<String,Integer> getInterfacesForNodes()
getInterfacesForNodes
getInterfacesForNodes in interface IpInterfaceDaoMap object.
public boolean addressExistsWithForeignSource(String ipAddress,
String foreignSource)
addressExistsWithForeignSource
ipAddress - a String object.foreignSource - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||