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 org.tsugi.jpa.repository.ProfileRepository.java

@Transactional
public interface ProfileRepository extends PagingAndSortingRepository<ProfileEntity, Long> {
    /* Add custom crud methods here
     * If you need a custom implementation of the methods then see docs for steps to add it
     * http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/repositories.html
     */

From source file us.repasky.microblog.repositories.BlogUserRepository.java

/**
 * This class uses <a href="http://www.springsource.org/spring-data/jpa">Spring Data</a> to expose BlogUser entities from JPA.
 *
 * @author Drew Repasky
 */
public interface BlogUserRepository extends PagingAndSortingRepository<BlogUser, Long> {

From source file io.interface21.domain.ExamRepository.java

/**
 * A ExamRepository.
 *
 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>
 * @version 1.0
 * @since 1.0

From source file ltistarter.repository.LtiLinkRepository.java

@Transactional
public interface LtiLinkRepository extends PagingAndSortingRepository<LtiLinkEntity, Long> {
    /* Add custom crud methods here
     * If you need a custom implementation of the methods then see docs for steps to add it
     * http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/repositories.html
     * Can also write a custom query like so:

From source file ltistarter.repository.LtiUserRepository.java

@Transactional
public interface LtiUserRepository extends PagingAndSortingRepository<LtiUserEntity, Long> {
    /* Add custom crud methods here
     * If you need a custom implementation of the methods then see docs for steps to add it
     * http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/repositories.html
     * Can also write a custom query like so:

From source file net.bluemix.questions.data.controllers.QuestionRepo.java

@Repository
public interface QuestionRepo extends PagingAndSortingRepository<Question, Long> {
    //You may add other methods here to create queries to execute on the repository
}

From source file cn.dsgrp.field.stock.repository.OrderRepository.java

/**
 * Repository to access {@link cn.dsgrp.field.stock.entity.Order}s.
 * 
 * @author Oliver Gierke
 */
public interface OrderRepository extends PagingAndSortingRepository<Order, Long> {

From source file ltistarter.repository.LtiMembershipRepository.java

@Transactional
public interface LtiMembershipRepository extends PagingAndSortingRepository<LtiMembershipEntity, Long> {
    /* Add custom crud methods here
     * If you need a custom implementation of the methods then see docs for steps to add it
     * http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/repositories.html
     * Can also write a custom query like so:

From source file org.axonframework.samples.trader.query.users.repositories.UserQueryRepository.java

/**
 * @author Jettro Coenradie
 */
public interface UserQueryRepository extends PagingAndSortingRepository<UserEntry, String> {

    UserEntry findByUsername(String username);

From source file org.tsugi.jpa.repository.LtiLinkRepository.java

@Transactional
public interface LtiLinkRepository extends PagingAndSortingRepository<LtiLinkEntity, Long> {
    /* Add custom crud methods here
     * If you need a custom implementation of the methods then see docs for steps to add it
     * http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/repositories.html
     * Can also write a custom query like so: