public class StpInterfaceDaoHibernate extends AbstractDaoHibernate<OnmsStpInterface,Integer> implements StpInterfaceDao
Constructor and Description |
---|
StpInterfaceDaoHibernate() |
Modifier and Type | Method and Description |
---|---|
void |
deactivateForNodeIdIfOlderThan(int nodeid,
Timestamp scanTime) |
void |
deleteForNodeIdIfOlderThan(int nodeid,
Timestamp scanTime) |
OnmsStpInterface |
findByNodeAndVlan(Integer nodeId,
Integer bridgePort,
Integer vlan) |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeid,
Character action) |
void |
setStatusForNodeAndIfIndex(Integer nodeid,
Integer ifIndex,
Character action) |
bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, evict, find, find, findAll, findMatching, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, 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
clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted
in interface StpInterfaceDao
public void deactivateForNodeIdIfOlderThan(int nodeid, Timestamp scanTime)
deactivateForNodeIdIfOlderThan
in interface StpInterfaceDao
public void deleteForNodeIdIfOlderThan(int nodeid, Timestamp scanTime)
deleteForNodeIdIfOlderThan
in interface StpInterfaceDao
public void setStatusForNode(Integer nodeid, Character action)
setStatusForNode
in interface StpInterfaceDao
public void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, Character action)
setStatusForNodeAndIfIndex
in interface StpInterfaceDao
public OnmsStpInterface findByNodeAndVlan(Integer nodeId, Integer bridgePort, Integer vlan)
findByNodeAndVlan
in interface StpInterfaceDao
Copyright © 2015. All Rights Reserved.