d86922f7996128ef657639817fb79739360c8977
[JavaForFun] /
1 package de.spring.webservices.rest.business.service;
2
3 import org.springframework.data.domain.Page;
4 import org.springframework.data.domain.Pageable;
5
6 import de.spring.webservices.domain.Car;
7 import io.reactivex.Observable;
8
9
10 public interface RxJavaBusinessLogic {
11
12         public Observable<Page<Car>> findAll(Pageable pageRequest);
13         
14         public Observable<Car> findById(long id);
15         
16         public Observable<Car> create(Car car);
17         
18         public Observable<Car> createThrowable(Car car);
19         
20 }