Class SyntheticServiceImpl
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.SyntheticServiceImpl
- All Implemented Interfaces:
SyntheticService
,BaseService<SyntheticCoda,
Long>
@Service
@Transactional
public class SyntheticServiceImpl
extends Object
implements SyntheticService
-
Constructor Summary
ConstructorDescriptionSyntheticServiceImpl
(SyntheticRepository repository, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionamplitudeCorrectedSyntheticsQuery
(String eventId, String stationName, Double lowFreq, Double highFreq, Double sampleRate) long
count()
void
delete
(SyntheticCoda value) void
void
findAll()
findOneForUpdate
(Long id) save
(SyntheticCoda entity) save
(Iterable<SyntheticCoda> entities) update
(SyntheticCoda payload) update
(Collection<SyntheticCoda> values)
-
Constructor Details
-
SyntheticServiceImpl
@Autowired public SyntheticServiceImpl(SyntheticRepository repository, jakarta.persistence.EntityManager em)
-
-
Method Details
-
delete
- Specified by:
delete
in interfaceBaseService<SyntheticCoda,
Long>
-
save
- Specified by:
save
in interfaceBaseService<SyntheticCoda,
Long>
-
delete
- Specified by:
delete
in interfaceBaseService<SyntheticCoda,
Long>
-
save
- Specified by:
save
in interfaceBaseService<SyntheticCoda,
Long>
-
findOne
- Specified by:
findOne
in interfaceBaseService<SyntheticCoda,
Long>
-
findOneForUpdate
- Specified by:
findOneForUpdate
in interfaceBaseService<SyntheticCoda,
Long>
-
findOneByWaveformId
- Specified by:
findOneByWaveformId
in interfaceSyntheticService
-
findAllByWaveformId
- Specified by:
findAllByWaveformId
in interfaceSyntheticService
-
findAll
- Specified by:
findAll
in interfaceBaseService<SyntheticCoda,
Long>
-
findAll
- Specified by:
findAll
in interfaceBaseService<SyntheticCoda,
Long>
-
count
public long count()- Specified by:
count
in interfaceBaseService<SyntheticCoda,
Long>
-
update
- Specified by:
update
in interfaceSyntheticService
-
update
- Specified by:
update
in interfaceSyntheticService
-
deleteAll
public void deleteAll()- Specified by:
deleteAll
in interfaceBaseService<SyntheticCoda,
Long>
-
amplitudeCorrectedSyntheticsQuery
public List<SyntheticCoda> amplitudeCorrectedSyntheticsQuery(String eventId, String stationName, Double lowFreq, Double highFreq, Double sampleRate) - Specified by:
amplitudeCorrectedSyntheticsQuery
in interfaceSyntheticService
-