public class MockOnmsMapDao extends AbstractMockDao<OnmsMap,Integer> implements OnmsMapDao
AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockOnmsMapDao() |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, update
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
protected void generateId(OnmsMap map)
generateId
in class AbstractMockDao<OnmsMap,Integer>
protected Integer getId(OnmsMap map)
getId
in class AbstractMockDao<OnmsMap,Integer>
public Collection<OnmsMap> findAll(Integer offset, Integer limit)
OnmsMapDao
findAll
findAll
in interface OnmsMapDao
offset
- a Integer
object.limit
- a Integer
object.Collection
object.public Collection<OnmsMap> findMapsLike(String mapLabel)
OnmsMapDao
findMapsLike
findMapsLike
in interface OnmsMapDao
mapLabel
- a String
object.Collection
object.public Collection<OnmsMap> findMapsByName(String mapLabel)
OnmsMapDao
findMapsByName
findMapsByName
in interface OnmsMapDao
mapLabel
- a String
object.Collection
object.public OnmsMap findMapById(int id)
OnmsMapDao
findMapById
findMapById
in interface OnmsMapDao
id
- a int.OnmsMap
object.public Collection<OnmsMap> findMapsByNameAndType(String mapName, String mapType)
OnmsMapDao
findMapsByNameAndType
findMapsByNameAndType
in interface OnmsMapDao
mapName
- a String
object.mapType
- a String
object.Collection
object.public Collection<OnmsMap> findMapsByType(String mapType)
OnmsMapDao
findMapsByType
findMapsByType
in interface OnmsMapDao
mapType
- a String
object.Collection
object.public Collection<OnmsMap> findAutoMaps()
OnmsMapDao
findAutoMaps
findAutoMaps
in interface OnmsMapDao
Collection
object.public Collection<OnmsMap> findUserMaps()
OnmsMapDao
findUserMaps
findUserMaps
in interface OnmsMapDao
Collection
object.public Collection<OnmsMap> findSaveMaps()
OnmsMapDao
findSaveMaps
findSaveMaps
in interface OnmsMapDao
Collection
object.public Collection<OnmsMap> findAutoAndSaveMaps()
OnmsMapDao
findAutoAndSaveMaps
findAutoAndSaveMaps
in interface OnmsMapDao
Collection
object.public Collection<OnmsMap> findMapsByOwner(String owner)
OnmsMapDao
findMapsByOwner
findMapsByOwner
in interface OnmsMapDao
owner
- a String
object.Collection
object.public Collection<OnmsMap> findMapsByGroup(String group)
OnmsMapDao
findMapsByGroup
findMapsByGroup
in interface OnmsMapDao
group
- a String
object.Collection
object.public Collection<OnmsMap> findVisibleMapsByGroup(String group)
OnmsMapDao
findVisibleMapsByGroup
findVisibleMapsByGroup
in interface OnmsMapDao
group
- a String
object.Collection
object.public int updateAllAutomatedMap(Date time)
OnmsMapDao
updateAllAutomatedMap
updateAllAutomatedMap
in interface OnmsMapDao
time
- a Date
object.Copyright © 2015. All rights reserved.