public interface AlarmService extends RestService
Modifier and Type | Method and Description |
---|---|
Alarm |
create(Alarm alarm)
Create an alarm
|
ActionResponse |
delete(String id)
Delete a specified alarm
|
Alarm |
getById(String id)
Return a specified alarm
|
List<? extends Alarm> |
list()
Return all alarms.
|
void |
update(String id,
Alarm a)
Update a specified alarm
|
ActionResponse delete(String id)
Copyright © 2017. All rights reserved.