|
||||||||||
| 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(java.lang.String[] levels,
java.util.Date startDate,
java.util.Date endDate)
Deletes the alarms matching the specified criteria. |
java.util.List<AlarmLog> |
getAllLogs()
Retrieves all the alarms contained in the DB. |
AlarmLog |
getLog(int id)
Retrieves the alarm with the specified id. |
java.util.List<AlarmLog> |
getLogRange(java.lang.String[] levels,
java.util.Date startDate,
java.util.Date endDate)
Retrieves the alarms matching the specified criteria. |
| Method Detail |
|---|
AlarmLog getLog(int id)
id - id of the alarm to be retrieved.
java.util.List<AlarmLog> getAllLogs()
java.util.List<AlarmLog> getLogRange(java.lang.String[] levels,
java.util.Date startDate,
java.util.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(java.lang.String[] levels,
java.util.Date startDate,
java.util.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 | |||||||||