Example usage for org.springframework.data.repository PagingAndSortingRepository interface-usage

List of usage examples for org.springframework.data.repository PagingAndSortingRepository interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.repository PagingAndSortingRepository interface-usage.

Usage

From source file io.spring.springoverflow.domain.PostRepository.java

/**
 * @author Michael Minella
 */
public interface PostRepository extends PagingAndSortingRepository<Post, Long> {

    Page<Post> findAllByPostTypeIdOrderByCreationDateDesc(Integer postTypeId, Pageable pageable);

From source file org.cccc.examples.springdatajpa.OrderPositionRepository.java

public interface OrderPositionRepository extends PagingAndSortingRepository<OrderPosition, String> {
}

From source file org.cccc.examples.springdatajpa.OrderRepository.java

public interface OrderRepository extends PagingAndSortingRepository<Order, String> {
}

From source file org.cccc.examples.springdatajpa.ProductRepository.java

public interface ProductRepository extends PagingAndSortingRepository<Product, String> {
}

From source file net.kenblair.scheduler.jpa.JpaScheduledJobRepository.java

/**
 *
 *
 * @author kblair
 */
public interface JpaScheduledJobRepository

From source file org.centralperf.repository.ScriptVersionRepository.java

/**
 * Script version Spring Data (http://projects.spring.io/spring-data-jpa/) based repository
 * @since 1.0
 */
public interface ScriptVersionRepository extends PagingAndSortingRepository<ScriptVersion, Long> {

From source file es.sinjava.data.repository.model.HotelRepository.java

@Repository
interface HotelRepository extends PagingAndSortingRepository<Hotel, Long> {

    Hotel findByName(String name);

    List<Hotel> findByCityName(@Param("city") String cityName);

From source file org.hypernovae.entapps.data.jpa.service.HotelRepository.java

@RepositoryRestResource(collectionResourceRel = "hotels", path = "hotels")
interface HotelRepository extends PagingAndSortingRepository<Hotel, Long> {

    Hotel findByCityAndName(City city, String name);

}

From source file com.daon.identityx.repository.AuditRepository.java

/***
 * Stores the audit records
 * 
 * @author Daon
 *
 */

From source file ru.mystamps.web.dao.CountryDao.java

public interface CountryDao extends PagingAndSortingRepository<Country, Integer> {
}