Public Member Functions | |
ACSSourceDAOImpl (Logger log, HashMap< String, Source > sources) | |
void | setAlarmDAO (AlarmDAO alarmDAO) |
void | setResponsiblePersonDAO (ResponsiblePersonDAO r) |
Source | findSource (String sourceId) |
Source | getSource (String sourceId) |
Source[] | findAllSources () |
Source | findByLaserSource () |
void | saveSource (Source source) |
void | deleteSource (Source source) |
void | updateSource (Source source) |
String[] | getAlarms (String sourceId) |
void | setConfAccessor (ConfigurationAccessor conf) |
void | setLaserSourceId (String laserSourceID) |
String[] | getAllSourceIDs () |
Package Attributes | |
ConfigurationAccessor | conf |
AlarmDAO | alarmDAO |
ResponsiblePersonDAO | responsiblePersonDAO |
String | laserSourceID |
HashMap< String, Source > | sourceDefs |
Private Member Functions | |
void | saveSources () |
Private Attributes | |
Logger | logger |
Static Private Attributes | |
final String | SOURCE_PATH = "/Alarms/SourceDefinitions" |
|
Constructor. The constructor takes the sources as parameter. After the refactory of the CDB the sources are read by the ACSAlarmDAOImpl because they are defined together with the alarms. By passing the sources as parameter, objects from this class avoid to read again the sources from the CDB.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|