public class StpInterfaceDaoHibernate extends AbstractDaoHibernate<OnmsStpInterface,Integer> implements StpInterfaceDao
Constructor and Description |
---|
StpInterfaceDaoHibernate() |
Modifier and Type | Method and Description |
---|---|
void |
deactivateForNodeIdIfOlderThan(int nodeid,
Date scanTime) |
void |
deleteForNodeIdIfOlderThan(int nodeid,
Date scanTime) |
OnmsStpInterface |
findByNodeAndVlan(Integer nodeId,
Integer bridgePort,
Integer vlan) |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeid,
OnmsArpInterface.StatusType action) |
void |
setStatusForNodeAndIfIndex(Integer nodeid,
Integer ifIndex,
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, update
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countMatching, findMatching
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted
in interface StpInterfaceDao
public void deactivateForNodeIdIfOlderThan(int nodeid, Date scanTime)
deactivateForNodeIdIfOlderThan
in interface StpInterfaceDao
public void deleteForNodeIdIfOlderThan(int nodeid, Date scanTime)
deleteForNodeIdIfOlderThan
in interface StpInterfaceDao
public void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
setStatusForNode
in interface StpInterfaceDao
public void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex
in interface StpInterfaceDao
public OnmsStpInterface findByNodeAndVlan(Integer nodeId, Integer bridgePort, Integer vlan)
findByNodeAndVlan
in interface StpInterfaceDao
Copyright © 2015. All rights reserved.