public class AtInterfaceDaoHibernate extends AbstractDaoHibernate<OnmsAtInterface,Integer> implements AtInterfaceDao
| Constructor and Description |
|---|
AtInterfaceDaoHibernate() |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivateForSourceNodeIdIfOlderThan(int nodeid,
Date scanTime) |
void |
deleteForNodeSourceIdIfOlderThan(int nodeid,
Date scanTime) |
Collection<OnmsAtInterface> |
findByMacAddress(String macAddress) |
OnmsAtInterface |
findByNodeAndAddress(Integer nodeId,
InetAddress ipAddress,
String macAddress) |
Collection<OnmsAtInterface> |
getAtInterfaceForAddress(InetAddress address)
Get the
OnmsAtInterface that goes with a given address and
node. |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeid,
OnmsArpInterface.StatusType action) |
void |
setStatusForNodeAndIfIndex(Integer nodeid,
Integer ifIndex,
OnmsArpInterface.StatusType action) |
void |
setStatusForNodeAndIp(Integer nodeid,
String ipAddr,
OnmsArpInterface.StatusType action) |
bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findMatchingObjects, findObjects, findUnique, flush, get, initDao, initialize, load, lock, merge, queryInt, queryInt, save, saveOrUpdate, updatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, updatepublic void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted in interface AtInterfaceDaopublic void deactivateForSourceNodeIdIfOlderThan(int nodeid,
Date scanTime)
deactivateForSourceNodeIdIfOlderThan in interface AtInterfaceDaopublic void deleteForNodeSourceIdIfOlderThan(int nodeid,
Date scanTime)
deleteForNodeSourceIdIfOlderThan in interface AtInterfaceDaopublic Collection<OnmsAtInterface> findByMacAddress(String macAddress)
findByMacAddress in interface AtInterfaceDaopublic void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
setStatusForNode in interface AtInterfaceDaopublic void setStatusForNodeAndIp(Integer nodeid, String ipAddr, OnmsArpInterface.StatusType action)
setStatusForNodeAndIp in interface AtInterfaceDaopublic void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex in interface AtInterfaceDaopublic OnmsAtInterface findByNodeAndAddress(Integer nodeId, InetAddress ipAddress, String macAddress)
findByNodeAndAddress in interface AtInterfaceDaopublic Collection<OnmsAtInterface> getAtInterfaceForAddress(InetAddress address)
AtInterfaceDaoOnmsAtInterface that goes with a given address and
node. If it does not exist, but the IP interface does exist, then
create it. If an equivalent IP interface does *not* exist, returns
null.getAtInterfaceForAddress in interface AtInterfaceDaoOnmsAtInterfaceCopyright © 2015. All rights reserved.