Class PeakVelocityMeasurementServiceImpl
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.PeakVelocityMeasurementServiceImpl
- All Implemented Interfaces:
PeakVelocityMeasurementService
,BaseService<PeakVelocityMeasurement,
Long>
@Service
@Transactional
public class PeakVelocityMeasurementServiceImpl
extends Object
implements PeakVelocityMeasurementService
-
Constructor Summary
ConstructorDescriptionPeakVelocityMeasurementServiceImpl
(MaxVelocityCalculator velocityCalc, PeakVelocityMeasurementRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
delete
(PeakVelocityMeasurement value) void
void
findAll()
findOneForUpdate
(Long id) measureVelocities
(List<Waveform> allStacks, VelocityConfiguration velocityConfiguration) measureVelocities
(List<Waveform> allStacks, VelocityConfiguration velocityConfiguration, boolean persistResults) save
(PeakVelocityMeasurement entity) save
(Iterable<PeakVelocityMeasurement> entities) void
setRepository
(PeakVelocityMeasurementRepository repository)
-
Constructor Details
-
PeakVelocityMeasurementServiceImpl
@Autowired public PeakVelocityMeasurementServiceImpl(MaxVelocityCalculator velocityCalc, PeakVelocityMeasurementRepository repository)
-
-
Method Details
-
save
- Specified by:
save
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
save
- Specified by:
save
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
findAll
- Specified by:
findAll
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
findAllMetadataOnly
- Specified by:
findAllMetadataOnly
in interfacePeakVelocityMeasurementService
-
findByWaveformIdMetadataOnly
- Specified by:
findByWaveformIdMetadataOnly
in interfacePeakVelocityMeasurementService
-
count
public long count()- Specified by:
count
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
getRepository
-
setRepository
-
delete
- Specified by:
delete
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
delete
- Specified by:
delete
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
findOne
- Specified by:
findOne
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
findOneForUpdate
- Specified by:
findOneForUpdate
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
findAll
- Specified by:
findAll
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-
measureVelocities
public List<PeakVelocityMeasurement> measureVelocities(List<Waveform> allStacks, VelocityConfiguration velocityConfiguration) - Specified by:
measureVelocities
in interfacePeakVelocityMeasurementService
-
measureVelocities
public List<PeakVelocityMeasurement> measureVelocities(List<Waveform> allStacks, VelocityConfiguration velocityConfiguration, boolean persistResults) - Specified by:
measureVelocities
in interfacePeakVelocityMeasurementService
-
deleteAll
public void deleteAll()- Specified by:
deleteAll
in interfaceBaseService<PeakVelocityMeasurement,
Long>
-