@NoRepositoryBean public class GumgaQueryDSLRepositoryImpl<T,ID extends Serializable> extends GumgaGenericRepository<T,ID> implements GumgaQueryDSLRepository<T,ID>
entityInformation, entityManager| Constructor and Description |
|---|
GumgaQueryDSLRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(com.mysema.query.types.Predicate predicate) |
com.mysema.query.jpa.JPQLQuery |
createQuery(com.mysema.query.types.Predicate... predicate)
Criar uma nova Jpaquery com os filtros e com multitenancy se a classe tiver anotada com
GumgaMultitenancy |
List<T> |
findAll()
Pesquisa todos os registro da entidade tipada na classe
GumgaQueryDSLRepositoryImpl |
List<T> |
findAll(ISpecification specification) |
<A> List<A> |
findAll(ISpecification specification,
com.mysema.query.types.Expression<A> projection) |
org.springframework.data.domain.Page<T> |
findAll(ISpecification specification,
org.springframework.data.domain.Pageable page) |
<A> org.springframework.data.domain.Page<A> |
findAll(ISpecification specification,
org.springframework.data.domain.Pageable page,
com.mysema.query.types.Expression<A> projection) |
List<T> |
findAll(com.mysema.query.types.Predicate predicate)
Pesquisa todos os registro da entidade tipada na classe
GumgaQueryDSLRepositoryImpl |
List<T> |
findAll(com.mysema.query.types.Predicate predicate,
com.mysema.query.types.OrderSpecifier<?>... orders)
Pesquisa todos os registro da entidade tipada na classe
GumgaQueryDSLRepositoryImpl |
org.springframework.data.domain.Page<T> |
findAll(com.mysema.query.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable)
Pesquisa todos os registro da entidade tipada na classe
GumgaQueryDSLRepositoryImpl |
<A> A |
findOne(ISpecification specification,
com.mysema.query.types.Expression<A> projection) |
T |
findOne(com.mysema.query.types.Predicate predicate) |
SearchResult<T> |
search(ISpecification specification,
org.springframework.data.domain.Pageable page) |
<A> SearchResult<A> |
search(ISpecification specification,
org.springframework.data.domain.Pageable page,
com.mysema.query.types.Expression<A> projection) |
SearchResult<T> |
search(com.mysema.query.types.Predicate predicate,
org.springframework.data.domain.Pageable page) |
<A> SearchResult<A> |
search(com.mysema.query.types.Predicate predicate,
org.springframework.data.domain.Pageable page,
com.mysema.query.types.Expression<A> projection) |
advancedSearch, aqoSearch, count, count, delete, delete, delete, deleteAll, deleteAllInBatch, deleteInBatch, exists, findAll, findAll, findAll, findAll, findAll, findAll, findAllWithTenancy, findOne, findOne, flush, genericFindOne, getCountQuery, getDomainClass, getMultitenancyPattern, getOne, getQuery, getQuery, hasLogicalDelete, hasMultitenancy, listOldVersions, readPage, save, save, saveAndFlush, search, search, search, search, setRepositoryMethodMetadatagetRepositoryMethodMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvancedSearch, findAllWithTenancy, genericFindOne, listOldVersions, search, search, search, searchdeleteAllInBatch, deleteInBatch, findAll, findAll, flush, getOne, save, saveAndFlushpublic T findOne(com.mysema.query.types.Predicate predicate)
findOne in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public List<T> findAll()
GumgaQueryDSLRepositoryImplfindAll in interface org.springframework.data.jpa.repository.JpaRepository<T,ID extends Serializable>findAll in interface org.springframework.data.repository.CrudRepository<T,ID extends Serializable>findAll in class GumgaGenericRepository<T,ID extends Serializable>public List<T> findAll(com.mysema.query.types.Predicate predicate)
GumgaQueryDSLRepositoryImplfindAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>predicate - filtro da pesquisapublic List<T> findAll(com.mysema.query.types.Predicate predicate, com.mysema.query.types.OrderSpecifier<?>... orders)
GumgaQueryDSLRepositoryImplfindAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>findAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>predicate - filtro da pesquisaorders - ordem dos dadospublic List<T> findAll(ISpecification specification)
findAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>public <A> List<A> findAll(ISpecification specification, com.mysema.query.types.Expression<A> projection)
findAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>public org.springframework.data.domain.Page<T> findAll(ISpecification specification, org.springframework.data.domain.Pageable page)
findAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>public <A> org.springframework.data.domain.Page<A> findAll(ISpecification specification, org.springframework.data.domain.Pageable page, com.mysema.query.types.Expression<A> projection)
findAll in interface GumgaQueryDSLRepository<T,ID extends Serializable>public SearchResult<T> search(com.mysema.query.types.Predicate predicate, org.springframework.data.domain.Pageable page)
search in interface GumgaQueryDSLRepository<T,ID extends Serializable>public <A> SearchResult<A> search(com.mysema.query.types.Predicate predicate, org.springframework.data.domain.Pageable page, com.mysema.query.types.Expression<A> projection)
search in interface GumgaQueryDSLRepository<T,ID extends Serializable>public SearchResult<T> search(ISpecification specification, org.springframework.data.domain.Pageable page)
search in interface GumgaQueryDSLRepository<T,ID extends Serializable>public <A> SearchResult<A> search(ISpecification specification, org.springframework.data.domain.Pageable page, com.mysema.query.types.Expression<A> projection)
search in interface GumgaQueryDSLRepository<T,ID extends Serializable>public <A> A findOne(ISpecification specification, com.mysema.query.types.Expression<A> projection)
findOne in interface GumgaQueryDSLRepository<T,ID extends Serializable>public org.springframework.data.domain.Page<T> findAll(com.mysema.query.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)
GumgaQueryDSLRepositoryImplfindAll in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>predicate - filtros da pesquisapageable - configurações de paginaçãopublic long count(com.mysema.query.types.Predicate predicate)
count in interface org.springframework.data.querydsl.QueryDslPredicateExecutor<T>public com.mysema.query.jpa.JPQLQuery createQuery(com.mysema.query.types.Predicate... predicate)
GumgaMultitenancypredicate - filtro dos dadosCopyright © 2017 Gumga. All rights reserved.