public void saveSignalFrequency(SignalFrequencyWs signalFrequencyWs) throws ExceptionDAO {
if (signalFrequencyWs == null) {
return;
}
FacadeDB.getInstance().startTransaction();
SignalFrequency frequency = FacadeDB.getInstance().getSignalFrequencyBroker().getSignalFrequencyByName(signalFrequencyWs.getName());
if (frequency == null) {
frequency = new SignalFrequency();
frequency.setFrequency(new BigDecimal(signalFrequencyWs.getFrequency()));
frequency.setDescription(signalFrequencyWs.getName());
FacadeDB.getInstance().getSignalFrequencyBroker().insert(frequency);
SignalFrequencyRemote frequencyRemote = new SignalFrequencyRemote(frequency);
frequencyRemote.setRemoteId(signalFrequencyWs.getId());
FacadeDB.getInstance().getSignalFrequencySyncBroker().saveSignalFrequencyRemote(frequencyRemote);
} else {