@Component @PerRequest @Scope(value="prototype") public class AlarmRestService extends AlarmRestServiceBase
OnmsRestService.ComparisonOperation
m_severityPattern
DEFAULT_LIMIT
Constructor and Description |
---|
AlarmRestService() |
Modifier and Type | Method and Description |
---|---|
OnmsAlarm |
getAlarm(String alarmId)
getAlarm
|
OnmsAlarmCollection |
getAlarms()
getAlarms
|
String |
getCount()
getCount
|
void |
updateAlarm(String alarmId,
Boolean ack)
updateAlarm
|
void |
updateAlarms(MultivaluedMapImpl formProperties)
updateAlarms
|
getCriteria, getCriteriaBuilder, translateParameters
applyQueryFilters, convertNameToPropertyName, getException, getException, log, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
@Transactional public OnmsAlarmCollection getAlarms()
getAlarms
OnmsAlarmCollection
object.@Transactional public void updateAlarms(MultivaluedMapImpl formProperties)
updateAlarms
formProperties
- a MultivaluedMapImpl
object.Copyright © 2015. All Rights Reserved.