Class DynamicQueryRepository<Entity extends CalummaEntity>
- java.lang.Object
-
- com.calumma.backend.web.repository.core.DynamicQueryRepository<Entity>
-
@Repository public class DynamicQueryRepository<Entity extends CalummaEntity> extends Object
-
-
Constructor Summary
Constructors Constructor Description DynamicQueryRepository(javax.persistence.EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.PagequeryBy(Class<Entity> entityClass, org.springframework.data.jpa.domain.Specification filters, ParsedRequest parsedRequest)List<Map<String,Object>>queryEagerAttributes(Class<Entity> entityClass, List<ProjectionField> eagerQueries, List<Map<String,Object>> response)
-
-
-
Method Detail
-
queryBy
public org.springframework.data.domain.Page queryBy(Class<Entity> entityClass, org.springframework.data.jpa.domain.Specification filters, ParsedRequest parsedRequest) throws NoSuchFieldException, ParseException, IllegalAccessException
-
queryEagerAttributes
public List<Map<String,Object>> queryEagerAttributes(Class<Entity> entityClass, List<ProjectionField> eagerQueries, List<Map<String,Object>> response) throws NoSuchFieldException, IllegalAccessException
-
-