|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogInterfaceRemote
This interface defines method that can be used remotely to handle alarms.
| Method Summary | |
|---|---|
void |
delAllLogs()
Deletes all the alarms contained in the DB. |
void |
delLog(int id)
Deletes the alarm with the specified id. |
void |
delLogRange(String[] levels,
Date startDate,
Date endDate)
Deletes the alarms matching the specified criteria. |
List<AlarmLog> |
getAllLogs()
Retrieves all the alarms contained in the DB. |
AlarmLog |
getLog(int id)
Retrieves the alarm with the specified id. |
List<AlarmLog> |
getLogRange(String[] levels,
Date startDate,
Date endDate)
Retrieves the alarms matching the specified criteria. |
| Method Detail |
|---|
AlarmLog getLog(int id)
id - id of the alarm to be retrieved.
List<AlarmLog> getAllLogs()
List<AlarmLog> getLogRange(String[] levels,
Date startDate,
Date endDate)
levels - a list of levels.startDate - the lowest date.endDate - the highest date.
void delLog(int id)
id - id of the alarm to be deleted.void delAllLogs()
void delLogRange(String[] levels,
Date startDate,
Date endDate)
levels - a list of levels.startDate - the lowest date.endDate - the highest date.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||