org.opennms.netmgt.dao.hibernate
Class OnmsMapDaoHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsMap,Integer>
              extended by org.opennms.netmgt.dao.hibernate.OnmsMapDaoHibernate
All Implemented Interfaces:
OnmsDao<OnmsMap,Integer>, OnmsMapDao, org.springframework.beans.factory.InitializingBean

public class OnmsMapDaoHibernate
extends AbstractDaoHibernate<OnmsMap,Integer>
implements OnmsMapDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
OnmsMapDaoHibernate()
           
 
Method Summary
 Collection<OnmsMap> findAll(Integer offset, Integer limit)
           
 Collection<OnmsMap> findAutoMaps()
           
 OnmsMap findMapById(int id)
           
 Collection<OnmsMap> findMapsByGroup(String group)
           
 Collection<OnmsMap> findMapsByName(String mapLabel)
           
 Collection<OnmsMap> findMapsByNameAndType(String mapName, String mapType)
           
 Collection<OnmsMap> findMapsByOwner(String owner)
           
 Collection<OnmsMap> findMapsByType(String mapType)
           
 Collection<OnmsMap> findMapsLike(String mapLabel)
           
 Collection<OnmsMap> findUserMaps()
           
 Collection<OnmsMap> findVisibleMapsByGroup(String group)
           
 
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
bulkDelete, clear, countAll, countMatching, delete, deleteAll, evict, find, find, findAll, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, get, initialize, load, merge, queryInt, queryInt, save, saveOrUpdate, update
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.dao.OnmsDao
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update
 

Constructor Detail

OnmsMapDaoHibernate

public OnmsMapDaoHibernate()
Method Detail

findAll

public Collection<OnmsMap> findAll(Integer offset,
                                   Integer limit)
Specified by:
findAll in interface OnmsMapDao

findMapsLike

public Collection<OnmsMap> findMapsLike(String mapLabel)
Specified by:
findMapsLike in interface OnmsMapDao

findMapsByName

public Collection<OnmsMap> findMapsByName(String mapLabel)
Specified by:
findMapsByName in interface OnmsMapDao

findMapById

public OnmsMap findMapById(int id)
Specified by:
findMapById in interface OnmsMapDao

findMapsByNameAndType

public Collection<OnmsMap> findMapsByNameAndType(String mapName,
                                                 String mapType)
Specified by:
findMapsByNameAndType in interface OnmsMapDao

findMapsByType

public Collection<OnmsMap> findMapsByType(String mapType)
Specified by:
findMapsByType in interface OnmsMapDao

findAutoMaps

public Collection<OnmsMap> findAutoMaps()
Specified by:
findAutoMaps in interface OnmsMapDao

findUserMaps

public Collection<OnmsMap> findUserMaps()
Specified by:
findUserMaps in interface OnmsMapDao

findMapsByGroup

public Collection<OnmsMap> findMapsByGroup(String group)
Specified by:
findMapsByGroup in interface OnmsMapDao

findMapsByOwner

public Collection<OnmsMap> findMapsByOwner(String owner)
Specified by:
findMapsByOwner in interface OnmsMapDao

findVisibleMapsByGroup

public Collection<OnmsMap> findVisibleMapsByGroup(String group)
Specified by:
findVisibleMapsByGroup in interface OnmsMapDao


Copyright © 2009. All Rights Reserved.