org.opennms.netmgt.dao
Interface OnmsMapDao

All Superinterfaces:
OnmsDao<OnmsMap,Integer>
All Known Implementing Classes:
OnmsMapDaoHibernate

public interface OnmsMapDao
extends OnmsDao<OnmsMap,Integer>

OnmsMapDao interface.

Version:
$Id: $
Author:
ranger

Method Summary
 Collection<OnmsMap> findAll(Integer offset, Integer limit)
          findAll
 Collection<OnmsMap> findAutoAndSaveMaps()
          findAutoAndSaveMaps
 Collection<OnmsMap> findAutoMaps()
          findAutoMaps
 OnmsMap findMapById(int id)
          findMapById
 Collection<OnmsMap> findMapsByGroup(String group)
          findMapsByGroup
 Collection<OnmsMap> findMapsByName(String mapLabel)
          findMapsByName
 Collection<OnmsMap> findMapsByNameAndType(String mapName, String mapType)
          findMapsByNameAndType
 Collection<OnmsMap> findMapsByOwner(String owner)
          findMapsByOwner
 Collection<OnmsMap> findMapsByType(String mapType)
          findMapsByType
 Collection<OnmsMap> findMapsLike(String mapLabel)
          findMapsLike
 Collection<OnmsMap> findSaveMaps()
          findSaveMaps
 Collection<OnmsMap> findUserMaps()
          findUserMaps
 Collection<OnmsMap> findVisibleMapsByGroup(String group)
          findVisibleMapsByGroup
 int updateAllAutomatedMap(Date time)
          updateAllAutomatedMap
 
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<OnmsMap> findAll(Integer offset,
                            Integer limit)

findAll

Parameters:
offset - a Integer object.
limit - a Integer object.
Returns:
a Collection object.

findMapsLike

Collection<OnmsMap> findMapsLike(String mapLabel)

findMapsLike

Parameters:
mapLabel - a String object.
Returns:
a Collection object.

findMapsByName

Collection<OnmsMap> findMapsByName(String mapLabel)

findMapsByName

Parameters:
mapLabel - a String object.
Returns:
a Collection object.

findMapById

OnmsMap findMapById(int id)

findMapById

Parameters:
id - a int.
Returns:
a OnmsMap object.

findMapsByNameAndType

Collection<OnmsMap> findMapsByNameAndType(String mapName,
                                          String mapType)

findMapsByNameAndType

Parameters:
mapName - a String object.
mapType - a String object.
Returns:
a Collection object.

findMapsByType

Collection<OnmsMap> findMapsByType(String mapType)

findMapsByType

Parameters:
mapType - a String object.
Returns:
a Collection object.

findAutoMaps

Collection<OnmsMap> findAutoMaps()

findAutoMaps

Returns:
a Collection object.

findUserMaps

Collection<OnmsMap> findUserMaps()

findUserMaps

Returns:
a Collection object.

findSaveMaps

Collection<OnmsMap> findSaveMaps()

findSaveMaps

Returns:
a Collection object.

findAutoAndSaveMaps

Collection<OnmsMap> findAutoAndSaveMaps()

findAutoAndSaveMaps

Returns:
a Collection object.

findMapsByOwner

Collection<OnmsMap> findMapsByOwner(String owner)

findMapsByOwner

Parameters:
owner - a String object.
Returns:
a Collection object.

findMapsByGroup

Collection<OnmsMap> findMapsByGroup(String group)

findMapsByGroup

Parameters:
group - a String object.
Returns:
a Collection object.

findVisibleMapsByGroup

Collection<OnmsMap> findVisibleMapsByGroup(String group)

findVisibleMapsByGroup

Parameters:
group - a String object.
Returns:
a Collection object.

updateAllAutomatedMap

int updateAllAutomatedMap(Date time)

updateAllAutomatedMap

Parameters:
time - a Date object.
Returns:
a int.


Copyright © 2011. All Rights Reserved.