1 package de.spring.webservices.rest.business.service;
3 import org.springframework.data.domain.Page;
4 import org.springframework.data.domain.Pageable;
6 import de.spring.webservices.domain.Car;
10 public interface RxJavaBusinessLogic {
12 public Observable<Page<Car>> findAll(Pageable pageRequest);
14 public Observable<Car> findById(long id);
16 public Observable<Car> create(Car car);
18 public Observable<Car> createThrowable(Car car);