public interface AtInterfaceDao extends OnmsDao<OnmsAtInterface,Integer>
Modifier and Type | Method and Description |
---|---|
void |
deactivateForSourceNodeIdIfOlderThan(int sourceNodeid,
Date scanTime) |
void |
deleteForNodeSourceIdIfOlderThan(int sourceNodeid,
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) |
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
void markDeletedIfNodeDeleted()
void deactivateForSourceNodeIdIfOlderThan(int sourceNodeid, Date scanTime)
void deleteForNodeSourceIdIfOlderThan(int sourceNodeid, Date scanTime)
Collection<OnmsAtInterface> findByMacAddress(String macAddress)
void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
void setStatusForNodeAndIp(Integer nodeid, String ipAddr, OnmsArpInterface.StatusType action)
void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, OnmsArpInterface.StatusType action)
OnmsAtInterface findByNodeAndAddress(Integer nodeId, InetAddress ipAddress, String macAddress)
Collection<OnmsAtInterface> getAtInterfaceForAddress(InetAddress address)
OnmsAtInterface
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.dbConn
- the database connection, if necessaryipaddress
- the IP address to look upnode
- the LinkableNode
associated with the interface (if
known)OnmsAtInterface
SQLException
Copyright © 2015. All rights reserved.