Class WaveformWebClient
java.lang.Object
gov.llnl.gnem.apps.coda.common.gui.data.client.WaveformWebClient
- All Implemented Interfaces:
WaveformClient
-
Constructor Summary
ConstructorsConstructorDescriptionWaveformWebClient(org.springframework.web.reactive.function.client.WebClient client) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<String>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Mono<SyntheticCoda>reactor.core.publisher.Flux<SyntheticCoda>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Mono<Waveform>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Flux<Waveform>reactor.core.publisher.Mono<Waveform>postWaveform(Waveform segment) reactor.core.publisher.Flux<String>postWaveforms(Long sessionId, List<Waveform> segments) reactor.core.publisher.Flux<String>setWaveformsActiveByEventId(String id, boolean active) reactor.core.publisher.Flux<String>setWaveformsActiveByIds(List<Long> selectedWaveforms, boolean active) reactor.core.publisher.Flux<String>setWaveformsActiveByStationName(String name, boolean active) reactor.core.publisher.Flux<String>setWaveformsActiveByStationNameAndEventId(String name, String id, boolean active) reactor.core.publisher.Flux<String>setWaveformsActiveInsidePolygon(boolean active) reactor.core.publisher.Flux<String>setWaveformsActiveOutsidePolygon(boolean active)
-
Constructor Details
-
WaveformWebClient
@Autowired public WaveformWebClient(org.springframework.web.reactive.function.client.WebClient client)
-
-
Method Details
-
getWaveformFromId
- Specified by:
getWaveformFromIdin interfaceWaveformClient
-
getSyntheticFromWaveformId
- Specified by:
getSyntheticFromWaveformIdin interfaceWaveformClient
-
postWaveform
public reactor.core.publisher.Mono<Waveform> postWaveform(Waveform segment) throws com.fasterxml.jackson.core.JsonProcessingException - Specified by:
postWaveformin interfaceWaveformClient- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
postWaveforms
- Specified by:
postWaveformsin interfaceWaveformClient
-
getAllStacks
- Specified by:
getAllStacksin interfaceWaveformClient
-
getAllActiveStacks
- Specified by:
getAllActiveStacksin interfaceWaveformClient
-
getUniqueEventStationMetadataForStacks
- Specified by:
getUniqueEventStationMetadataForStacksin interfaceWaveformClient
-
getWaveformsFromIds
- Specified by:
getWaveformsFromIdsin interfaceWaveformClient
-
getWaveformMetadataFromIds
- Specified by:
getWaveformMetadataFromIdsin interfaceWaveformClient
-
getSyntheticsFromWaveformIds
public reactor.core.publisher.Flux<SyntheticCoda> getSyntheticsFromWaveformIds(Collection<Long> ids) - Specified by:
getSyntheticsFromWaveformIdsin interfaceWaveformClient
-
setWaveformsActiveByIds
public reactor.core.publisher.Flux<String> setWaveformsActiveByIds(List<Long> selectedWaveforms, boolean active) - Specified by:
setWaveformsActiveByIdsin interfaceWaveformClient
-
setWaveformsActiveByEventId
- Specified by:
setWaveformsActiveByEventIdin interfaceWaveformClient
-
setWaveformsActiveByStationName
public reactor.core.publisher.Flux<String> setWaveformsActiveByStationName(String name, boolean active) - Specified by:
setWaveformsActiveByStationNamein interfaceWaveformClient
-
setWaveformsActiveByStationNameAndEventId
public reactor.core.publisher.Flux<String> setWaveformsActiveByStationNameAndEventId(String name, String id, boolean active) - Specified by:
setWaveformsActiveByStationNameAndEventIdin interfaceWaveformClient
-
clearAutoPicks
- Specified by:
clearAutoPicksin interfaceWaveformClient
-
setWaveformsActiveOutsidePolygon
- Specified by:
setWaveformsActiveOutsidePolygonin interfaceWaveformClient
-
setWaveformsActiveInsidePolygon
- Specified by:
setWaveformsActiveInsidePolygonin interfaceWaveformClient
-