Class WaveformServiceImpl
java.lang.Object
gov.llnl.gnem.apps.coda.common.service.impl.WaveformServiceImpl
- All Implemented Interfaces:
BaseService<Waveform,,Long> WaveformService
-
Constructor Summary
ConstructorsConstructorDescriptionWaveformServiceImpl(WaveformRepository waveformRepository, SpectraMeasurementRepository spectraMeasurementRepository, SpectraCalculator spectraCalc, SyntheticRepository syntheticRepository, SharedFrequencyBandParametersRepository sfbRepository, SiteFrequencyBandParametersRepository siteParamsRepository, VelocityConfigurationRepository velocityConfigRepository, NotificationService notificationService) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()voidvoidfindAll()findAllActiveStacksByEventIdAndStationNames(String eventId, List<String> stationNames) findAllMetadata(List<Long> ids) findEventById(String eventId) findOneForUpdate(Long id) getAllActiveStacksInStationNames(List<String> stationNames) getByExampleAllDistinctMatching(Waveform waveform) getByMatchingKeys(Station station, String eventId, Double lowFrequency, Double highFrequency) setActiveFlagByEventId(String eventId, boolean active) setActiveFlagByStationName(String stationName, boolean active) setActiveFlagByStationNameAndEventId(String stationName, String eventId, boolean active) setActiveFlagForIds(List<Long> selectedWaveforms, boolean active) voidsetWaveformRepository(WaveformRepository waveformRepository) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.llnl.gnem.apps.coda.common.service.api.BaseService
deleteAll
-
Constructor Details
-
Method Details
-
getWaveformRepository
-
setWaveformRepository
-
delete
- Specified by:
deletein interfaceBaseService<Waveform,Long>
-
save
- Specified by:
savein interfaceBaseService<Waveform,Long>
-
delete
- Specified by:
deletein interfaceBaseService<Waveform,Long>
-
save
- Specified by:
savein interfaceBaseService<Waveform,Long>
-
findOne
- Specified by:
findOnein interfaceBaseService<Waveform,Long>
-
findOneForUpdate
- Specified by:
findOneForUpdatein interfaceBaseService<Waveform,Long>
-
findAll
- Specified by:
findAllin interfaceBaseService<Waveform,Long>
-
findAllMetadata
- Specified by:
findAllMetadatain interfaceWaveformService
-
findAll
- Specified by:
findAllin interfaceBaseService<Waveform,Long>
-
count
public long count()- Specified by:
countin interfaceBaseService<Waveform,Long>
-
getEntityType
-
getIdType
-
update
- Specified by:
updatein interfaceWaveformService
-
update
- Specified by:
updatein interfaceWaveformService
-
getAllActiveStacks
- Specified by:
getAllActiveStacksin interfaceWaveformService
-
getAllStacks
- Specified by:
getAllStacksin interfaceWaveformService
-
findAllActiveStacksByEventIdAndStationNames
public List<Waveform> findAllActiveStacksByEventIdAndStationNames(String eventId, List<String> stationNames) - Specified by:
findAllActiveStacksByEventIdAndStationNamesin interfaceWaveformService
-
getAllActiveStacksInStationNames
- Specified by:
getAllActiveStacksInStationNamesin interfaceWaveformService
-
getByExampleAllDistinctMatching
- Specified by:
getByExampleAllDistinctMatchingin interfaceWaveformService
-
getUniqueEventStationStacks
- Specified by:
getUniqueEventStationStacksin interfaceWaveformService
-
findEventById
- Specified by:
findEventByIdin interfaceWaveformService
-
setActiveFlagForIds
- Specified by:
setActiveFlagForIdsin interfaceWaveformService
-
setActiveFlagByEventId
- Specified by:
setActiveFlagByEventIdin interfaceWaveformService
-
setActiveFlagByStationName
- Specified by:
setActiveFlagByStationNamein interfaceWaveformService
-
setActiveFlagByStationNameAndEventId
public List<Long> setActiveFlagByStationNameAndEventId(String stationName, String eventId, boolean active) - Specified by:
setActiveFlagByStationNameAndEventIdin interfaceWaveformService
-
getUniqueEventIds
- Specified by:
getUniqueEventIdsin interfaceWaveformService
-
getByMatchingKeys
public Waveform getByMatchingKeys(Station station, String eventId, Double lowFrequency, Double highFrequency) - Specified by:
getByMatchingKeysin interfaceWaveformService
-