public abstract class UnimplementedIpInterfaceDao extends Object implements IpInterfaceDao
Constructor and Description |
---|
UnimplementedIpInterfaceDao() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findInterfacesWithMetadata
public List<OnmsIpInterface> findMatching(OnmsCriteria criteria)
findMatching
in interface LegacyOnmsDao<OnmsIpInterface,Integer>
public int countMatching(OnmsCriteria onmsCrit)
countMatching
in interface LegacyOnmsDao<OnmsIpInterface,Integer>
public void lock()
OnmsDao
lock
in interface OnmsDao<OnmsIpInterface,Integer>
public void initialize(Object obj)
initialize
in interface OnmsDao<OnmsIpInterface,Integer>
public void flush()
flush
in interface OnmsDao<OnmsIpInterface,Integer>
public void clear()
clear
in interface OnmsDao<OnmsIpInterface,Integer>
public int countAll()
countAll
in interface OnmsDao<OnmsIpInterface,Integer>
public void delete(OnmsIpInterface entity)
delete
in interface OnmsDao<OnmsIpInterface,Integer>
public void delete(Integer key)
delete
in interface OnmsDao<OnmsIpInterface,Integer>
public List<OnmsIpInterface> findAll()
findAll
in interface OnmsDao<OnmsIpInterface,Integer>
public List<OnmsIpInterface> findMatching(Criteria criteria)
findMatching
in interface OnmsDao<OnmsIpInterface,Integer>
public int countMatching(Criteria onmsCrit)
countMatching
in interface OnmsDao<OnmsIpInterface,Integer>
public OnmsIpInterface get(Integer id)
get
in interface OnmsDao<OnmsIpInterface,Integer>
public OnmsIpInterface load(Integer id)
load
in interface OnmsDao<OnmsIpInterface,Integer>
public Integer save(OnmsIpInterface entity)
save
in interface OnmsDao<OnmsIpInterface,Integer>
public void saveOrUpdate(OnmsIpInterface entity)
saveOrUpdate
in interface OnmsDao<OnmsIpInterface,Integer>
public void update(OnmsIpInterface entity)
update
in interface OnmsDao<OnmsIpInterface,Integer>
public OnmsIpInterface get(OnmsNode node, String ipAddress)
IpInterfaceDao
get
get
in interface IpInterfaceDao
node
- a OnmsNode
object.ipAddress
- a String
object.OnmsIpInterface
object.public OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId, String ipAddress)
IpInterfaceDao
findByNodeIdAndIpAddress
findByNodeIdAndIpAddress
in interface IpInterfaceDao
nodeId
- a Integer
object.ipAddress
- a String
object.OnmsIpInterface
object.public OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource, String foreignId, String ipAddress)
IpInterfaceDao
findByForeignKeyAndIpAddress
findByForeignKeyAndIpAddress
in interface IpInterfaceDao
foreignSource
- a String
object.foreignId
- a String
object.ipAddress
- a String
object.OnmsIpInterface
object.public List<OnmsIpInterface> findByIpAddress(String ipAddress)
IpInterfaceDao
findByIpAddress
findByIpAddress
in interface IpInterfaceDao
ipAddress
- a String
object.Collection
object.public List<OnmsIpInterface> findByNodeId(Integer nodeId)
IpInterfaceDao
findByNodeId
findByNodeId
in interface IpInterfaceDao
nodeId
- a Integer
object.Collection
object.public List<OnmsIpInterface> findByServiceType(String svcName)
IpInterfaceDao
findByServiceType
findByServiceType
in interface IpInterfaceDao
svcName
- a String
object.Collection
object.public List<OnmsIpInterface> findHierarchyByServiceType(String svcName)
IpInterfaceDao
findHierarchyByServiceType
findHierarchyByServiceType
in interface IpInterfaceDao
svcName
- a String
object.Collection
object.public Map<InetAddress,Integer> getInterfacesForNodes()
IpInterfaceDao
getInterfacesForNodes
in interface IpInterfaceDao
Map
object.public OnmsIpInterface findPrimaryInterfaceByNodeId(Integer nodeId)
findPrimaryInterfaceByNodeId
in interface IpInterfaceDao
Copyright © 2021. All rights reserved.