public interface AtInterfaceDao extends OnmsDao<OnmsAtInterface,Integer>
Modifier and Type | Method and Description |
---|---|
void |
deactivateForSourceNodeIdIfOlderThan(int sourceNodeid,
Timestamp scanTime) |
void |
deleteForNodeSourceIdIfOlderThan(int sourceNodeid,
Timestamp scanTime) |
Collection<OnmsAtInterface> |
findByMacAddress(String macAddress) |
OnmsAtInterface |
findByNodeAndAddress(Integer nodeId,
InetAddress ipAddress,
String macAddress) |
OnmsAtInterface |
getAtInterfaceForAddress(Connection dbConn,
InetAddress address)
Get the
OnmsAtInterface that goes with a given address and
node. |
void |
markDeletedIfNodeDeleted() |
void |
saveAtInterface(Connection dbConn,
OnmsAtInterface at) |
void |
setStatusForNode(Integer nodeid,
Character action) |
void |
setStatusForNodeAndIfIndex(Integer nodeid,
Integer ifIndex,
Character action) |
void |
setStatusForNodeAndIp(Integer nodeid,
String ipAddr,
Character action) |
clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
void markDeletedIfNodeDeleted()
void deactivateForSourceNodeIdIfOlderThan(int sourceNodeid, Timestamp scanTime)
void deleteForNodeSourceIdIfOlderThan(int sourceNodeid, Timestamp scanTime)
Collection<OnmsAtInterface> findByMacAddress(String macAddress)
void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, Character action)
void saveAtInterface(Connection dbConn, OnmsAtInterface at) throws SQLException
SQLException
OnmsAtInterface findByNodeAndAddress(Integer nodeId, InetAddress ipAddress, String macAddress)
OnmsAtInterface getAtInterfaceForAddress(Connection dbConn, 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.