Class EntityViewAwareRepositoryImpl<V,E,ID extends Serializable>
java.lang.Object
com.blazebit.persistence.spring.data.base.repository.AbstractEntityViewAwareRepository<V,E,ID>
com.blazebit.persistence.spring.data.impl.repository.EntityViewAwareRepositoryImpl<V,E,ID>
- All Implemented Interfaces:
EntityViewRepository<V,,ID> EntityViewSpecificationExecutor<V,,E> org.springframework.data.repository.Repository<V,ID>
@Transactional(readOnly=true)
public class EntityViewAwareRepositoryImpl<V,E,ID extends Serializable>
extends AbstractEntityViewAwareRepository<V,E,ID>
implements EntityViewRepository<V,ID>, EntityViewSpecificationExecutor<V,E>
- Since:
- 1.3.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.spring.data.base.repository.AbstractEntityViewAwareRepository
AbstractEntityViewAwareRepository.ExampleSpecification<T extends Object> -
Field Summary
Fields inherited from class com.blazebit.persistence.spring.data.base.repository.AbstractEntityViewAwareRepository
escapeCharacter -
Constructor Summary
ConstructorsConstructorDescriptionEntityViewAwareRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<E, ?> entityInformation, javax.persistence.EntityManager entityManager, com.blazebit.persistence.CriteriaBuilderFactory cbf, EntityViewManager evm, Class<V> entityViewClass) -
Method Summary
Modifier and TypeMethodDescription<S extends E>
SfindOne(org.springframework.data.domain.Example<S> example) protected intgetOffset(org.springframework.data.domain.Pageable pageable) tryGetFetchGraphHints(javax.persistence.EntityManager entityManager, org.springframework.data.jpa.repository.query.JpaEntityGraph entityGraph, Class<?> entityType) Methods inherited from class com.blazebit.persistence.spring.data.base.repository.AbstractEntityViewAwareRepository
count, count, count, delete, delete, delete, deleteAll, deleteAll, deleteAllById, deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteById, deleteInBatch, exists, exists, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findOne, flush, getById, getCountQuery, getDomainClass, getEntityManager, getOne, getQuery, getQuery, getQuery, getQuery, getQuery, getQueryHints, getReference, getReferenceById, getRepositoryMethodMetadata, save, save, saveAll, saveAllAndFlush, saveAndFlush, setEscapeCharacter, setRepositoryMethodMetadataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.spring.data.repository.EntityViewRepository
count, exists, findAll, findAll, findOneMethods inherited from interface com.blazebit.persistence.spring.data.repository.EntityViewSpecificationExecutor
count, findAll, findAll, findAll
-
Constructor Details
-
EntityViewAwareRepositoryImpl
public EntityViewAwareRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<E, ?> entityInformation, javax.persistence.EntityManager entityManager, com.blazebit.persistence.CriteriaBuilderFactory cbf, EntityViewManager evm, Class<V> entityViewClass)
-
-
Method Details
-
tryGetFetchGraphHints
protected Map<String,Object> tryGetFetchGraphHints(javax.persistence.EntityManager entityManager, org.springframework.data.jpa.repository.query.JpaEntityGraph entityGraph, Class<?> entityType) - Specified by:
tryGetFetchGraphHintsin classAbstractEntityViewAwareRepository<V,E, ID extends Serializable>
-
findOne
-
findOne
- Specified by:
findOnein interfaceEntityViewSpecificationExecutor<V,E>
-
findById
-
getOffset
protected int getOffset(org.springframework.data.domain.Pageable pageable) - Specified by:
getOffsetin classAbstractEntityViewAwareRepository<V,E, ID extends Serializable>
-