1 package de.spring.example.services;
3 import org.resthub.common.service.CrudService;
4 import org.springframework.data.domain.Page;
5 import org.springframework.data.domain.Pageable;
6 import org.springframework.data.history.Revision;
8 import de.spring.example.persistence.domain.AdDescription;
10 public interface AdDescriptionService extends CrudService<AdDescription, Long> {
12 public Page<AdDescription> queryDslExample(Pageable pageRequest);
15 * Returns a {@link Page} of revisions for the entity with the given id.
17 * @param id must not be {@literal null}.
21 Page<Revision<Integer, AdDescription>> findRevisions(Long id, Pageable pageable);