public class StpNodeDaoHibernate extends AbstractDaoHibernate<OnmsStpNode,Integer> implements StpNodeDao
Constructor and Description |
---|
StpNodeDaoHibernate() |
Modifier and Type | Method and Description |
---|---|
void |
deactivateForNodeIdIfOlderThan(int nodeid,
Date scanTime) |
void |
deleteForNodeIdIfOlderThan(int nodeid,
Date scanTime) |
OnmsStpNode |
findByNodeAndVlan(Integer nodeId,
Integer baseVlan) |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeid,
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 StpNodeDao
public void deactivateForNodeIdIfOlderThan(int nodeid, Date scanTime)
deactivateForNodeIdIfOlderThan
in interface StpNodeDao
public void deleteForNodeIdIfOlderThan(int nodeid, Date scanTime)
deleteForNodeIdIfOlderThan
in interface StpNodeDao
public void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
setStatusForNode
in interface StpNodeDao
public OnmsStpNode findByNodeAndVlan(Integer nodeId, Integer baseVlan)
findByNodeAndVlan
in interface StpNodeDao
Copyright © 2015. All rights reserved.