1 package de.spring.webservices.rest.business.service;
3 import java.util.concurrent.CompletableFuture;
5 import org.springframework.data.domain.Page;
6 import org.springframework.data.domain.Pageable;
8 import de.spring.webservices.domain.Car;
11 public interface CompletableFutureBusinessLogic {
13 public CompletableFuture<Page<Car>> findAll(Pageable pageRequest);
15 public CompletableFuture<Car> findById(long id);
17 public CompletableFuture<Car> create(Car resource);