7d494029f4a200d2573d654851d3fadcfb5f68c0
[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 rx.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 resource);
17         
18 }