Package org.nentangso.core.web.rest
Class NtsLocationResource
- java.lang.Object
-
- org.nentangso.core.web.rest.NtsLocationResource
-
@RestController @RequestMapping("/api") @ConditionalOnProperty(prefix="nts.web.rest.location", name="enabled", havingValue="true") public class NtsLocationResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected NtsLocationHelperlocationHelper
-
Constructor Summary
Constructors Modifier Constructor Description protectedNtsLocationResource(NtsLocationHelper locationHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Set<NtsLocationDTO>>findAll()reactor.core.publisher.Mono<NtsLocationDTO>findOne(Long id)
-
-
-
Field Detail
-
locationHelper
protected final NtsLocationHelper locationHelper
-
-
Constructor Detail
-
NtsLocationResource
protected NtsLocationResource(NtsLocationHelper locationHelper)
-
-
Method Detail
-
findAll
@GetMapping("/locations") public reactor.core.publisher.Mono<Set<NtsLocationDTO>> findAll()
-
findOne
@GetMapping("/locations/{id}") public reactor.core.publisher.Mono<NtsLocationDTO> findOne(@PathVariable Long id)
-
-