public class BridgeElementDaoHibernate extends AbstractDaoHibernate<BridgeElement,Integer> implements BridgeElementDao
m_criteriaConverter
Constructor and Description |
---|
BridgeElementDaoHibernate()
Constructor for BridgeElementDaoHibernate.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteByNodeId(Integer nodeId) |
void |
deleteByNodeIdOlderThen(Integer nodeId,
Date now) |
List<BridgeElement> |
findByBridgeId(String id) |
List<BridgeElement> |
findByNodeId(Integer id)
findByNodeId
|
BridgeElement |
getByBridgeIdVlan(String id,
Integer vlanId) |
BridgeElement |
getByNodeIdVlan(Integer id,
Integer vlanId) |
buildHibernateCallback, bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, 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
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
public BridgeElementDaoHibernate()
Constructor for BridgeElementDaoHibernate.
public List<BridgeElement> findByNodeId(Integer id)
findByNodeId
findByNodeId
in interface BridgeElementDao
id
- a Integer
object.LldpElement
object.public BridgeElement getByNodeIdVlan(Integer id, Integer vlanId)
getByNodeIdVlan
in interface BridgeElementDao
public List<BridgeElement> findByBridgeId(String id)
findByBridgeId
in interface BridgeElementDao
public BridgeElement getByBridgeIdVlan(String id, Integer vlanId)
getByBridgeIdVlan
in interface BridgeElementDao
public void deleteByNodeIdOlderThen(Integer nodeId, Date now)
deleteByNodeIdOlderThen
in interface BridgeElementDao
public void deleteByNodeId(Integer nodeId)
deleteByNodeId
in interface BridgeElementDao
Copyright © 2021. All rights reserved.