List of usage examples for org.springframework.data.repository PagingAndSortingRepository interface-usage
From source file org.tsugi.jpa.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 com.artivisi.belajar.restful.dao.PermissionDao.java
public interface PermissionDao extends PagingAndSortingRepository<Permission, String> { public List<Permission> findByIdNotIn(List<String> ids); }
From source file ltistarter.repository.KeyRequestRepository.java
@Transactional public interface KeyRequestRepository extends PagingAndSortingRepository<KeyRequestEntity, 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.company.repositories.CompanyQueryRepository.java
/** * @author Jettro Coenradie */ public interface CompanyQueryRepository extends PagingAndSortingRepository<CompanyEntry, String> { }
From source file org.springsource.restbucks.training.payment.PaymentRepository.java
/** * Repository interface to manage {@link Payment} instances. * * @author Oliver Gierke */ interface PaymentRepository extends PagingAndSortingRepository<Payment, Long> {
From source file io.pivotal.cla.data.repository.ContributorLicenseAgreementRepository.java
public interface ContributorLicenseAgreementRepository extends PagingAndSortingRepository<ContributorLicenseAgreement, Long> { ContributorLicenseAgreement findByNameAndPrimaryTrue(String name); List<ContributorLicenseAgreement> findByPrimaryTrue();
From source file com.oasisdigital.sdre.order.PartRepository.java
/** * Repository to manage {@link Part} instances. * * @author Oliver Gierke */ @RestResource(path = "orders", rel = "orders")
From source file org.cdrolet.cdirect.repository.CustomerRepository.java
public interface CustomerRepository extends PagingAndSortingRepository<Customer, String> {
}
From source file org.tsugi.jpa.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 com.chessix.vas.db.CLASRepository.java
public interface CLASRepository extends PagingAndSortingRepository<CLAS, Long> { CLAS findByExternalId(final String externalId); }