java.lang.Object
org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID>
com.cosium.spring.data.jpa.entity.graph.repository.support.EntityGraphSimpleJpaRepository<T,ID>
All Implemented Interfaces:
EntityGraphCrudRepository<T,ID>, EntityGraphJpaRepository<T,ID>, EntityGraphJpaSpecificationExecutor<T>, EntityGraphPagingAndSortingRepository<T,ID>, EntityGraphQueryByExampleExecutor<T>, EntityGraphRepository<T,ID>, org.springframework.data.jpa.repository.JpaRepository<T,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.jpa.repository.support.JpaRepositoryImplementation<T,ID>, org.springframework.data.repository.CrudRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,ID>
Direct Known Subclasses:
EntityGraphQuerydslRepository

public class EntityGraphSimpleJpaRepository<T,ID> extends org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID> implements EntityGraphJpaRepository<T,ID>, EntityGraphJpaSpecificationExecutor<T>
A SimpleJpaRepository that supports EntityGraph passed through method arguments.

Created on 22/11/16.

Author:
Reda.Housni-Alaoui
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityGraphSimpleJpaRepository(Class<T> domainClass, javax.persistence.EntityManager entityManager)
     
    EntityGraphSimpleJpaRepository(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,?> entityInformation, javax.persistence.EntityManager entityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    findAll(EntityGraph entityGraph)
     
    <S extends T>
    List<S>
    findAll(org.springframework.data.domain.Example<S> example, EntityGraph entityGraph)
     
    <S extends T>
    org.springframework.data.domain.Page<S>
    findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Pageable pageable, EntityGraph entityGraph)
     
    <S extends T>
    List<S>
    findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Sort sort, EntityGraph entityGraph)
     
    org.springframework.data.domain.Page<T>
    findAll(org.springframework.data.domain.Pageable pageable, EntityGraph entityGraph)
     
    findAll(org.springframework.data.domain.Sort sort, EntityGraph entityGraph)
     
    findAll(org.springframework.data.jpa.domain.Specification<T> spec, EntityGraph entityGraph)
     
    org.springframework.data.domain.Page<T>
    findAll(org.springframework.data.jpa.domain.Specification<T> spec, org.springframework.data.domain.Pageable pageable, EntityGraph entityGraph)
     
    findAll(org.springframework.data.jpa.domain.Specification<T> spec, org.springframework.data.domain.Sort sort, EntityGraph entityGraph)
     
    findAllById(Iterable<ID> ids, EntityGraph entityGraph)
     
    findById(ID id, EntityGraph entityGraph)
     
    <S extends T>
    Optional<S>
    findOne(org.springframework.data.domain.Example<S> example, EntityGraph entityGraph)
     
    findOne(org.springframework.data.jpa.domain.Specification<T> spec, EntityGraph entityGraph)
     

    Methods inherited from class org.springframework.data.jpa.repository.support.SimpleJpaRepository

    count, count, count, delete, deleteAll, deleteAll, deleteAllById, deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteById, exists, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findBy, findById, findOne, findOne, flush, getById, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getReferenceById, getRepositoryMethodMetadata, readPage, readPage, save, saveAll, saveAllAndFlush, saveAndFlush, setEscapeCharacter, setRepositoryMethodMetadata

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface com.cosium.spring.data.jpa.entity.graph.repository.EntityGraphRepository

    defaultEntityGraph

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, exists, findAll, findAll, findAll, findOne

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne