org.opennms.netmgt.dao
Interface OnmsMapElementDao

All Superinterfaces:
OnmsDao<OnmsMapElement,Integer>
All Known Implementing Classes:
OnmsMapElementDaoHibernate

public interface OnmsMapElementDao
extends OnmsDao<OnmsMapElement,Integer>


Method Summary
 void deleteElementsByElementIdAndType(int elementId, String type)
           
 void deleteElementsByMapId(OnmsMap map)
           
 void deleteElementsByType(String type)
           
 Collection<OnmsMapElement> findAll(Integer offset, Integer limit)
           
 Collection<OnmsMapElement> findElementsByElementIdAndType(int elementId, String type)
           
 Collection<OnmsMapElement> findElementsByType(String type)
           
 OnmsMapElement findMapElement(int elementId, String type, OnmsMap map)
           
 OnmsMapElement findMapElementById(int id)
           
 Collection<OnmsMapElement> findMapElementsByMapId(OnmsMap map)
           
 
Methods inherited from interface org.opennms.netmgt.dao.OnmsDao
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update
 

Method Detail

findAll

Collection<OnmsMapElement> findAll(Integer offset,
                                   Integer limit)

findMapElementById

OnmsMapElement findMapElementById(int id)

findMapElement

OnmsMapElement findMapElement(int elementId,
                              String type,
                              OnmsMap map)

findMapElementsByMapId

Collection<OnmsMapElement> findMapElementsByMapId(OnmsMap map)

deleteElementsByMapId

void deleteElementsByMapId(OnmsMap map)

deleteElementsByType

void deleteElementsByType(String type)

deleteElementsByElementIdAndType

void deleteElementsByElementIdAndType(int elementId,
                                      String type)

findElementsByElementIdAndType

Collection<OnmsMapElement> findElementsByElementIdAndType(int elementId,
                                                          String type)

findElementsByType

Collection<OnmsMapElement> findElementsByType(String type)


Copyright © 2009. All Rights Reserved.