dec0011ff5bd26335ab17a7ee3f336c4126db9b8
[JavaForFun] /
1 package de.spring.webservices.rest.business.service;
2
3 import java.util.concurrent.CompletableFuture;
4
5 import org.springframework.data.domain.Page;
6 import org.springframework.data.domain.Pageable;
7
8 import de.spring.webservices.domain.Car;
9
10
11 public interface CompletableFutureBusinessLogic {
12
13         public CompletableFuture<Page<Car>> findAll(Pageable pageRequest);
14         
15         public CompletableFuture<Car> findById(long id);
16         
17         public CompletableFuture<Car> create(Car resource);
18         
19 }