Class JpaOptionSourceQueryExecutor
java.lang.Object
org.praxisplatform.uischema.options.service.jpa.JpaOptionSourceQueryExecutor
- All Implemented Interfaces:
OptionSourceQueryExecutor
@Component
public class JpaOptionSourceQueryExecutor
extends Object
implements OptionSourceQueryExecutor
JPA executor for metadata-driven option sources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyIdsOptions(jakarta.persistence.EntityManager entityManager, Class<E> entityClass, OptionSourceDescriptor descriptor, Collection<Object> ids) filterOptions(jakarta.persistence.EntityManager entityManager, Class<E> entityClass, org.springframework.data.jpa.domain.Specification<E> specification, OptionSourceDescriptor descriptor, String search, org.springframework.data.domain.Pageable pageable, Collection<Object> includeIds)
-
Constructor Details
-
JpaOptionSourceQueryExecutor
public JpaOptionSourceQueryExecutor()
-
-
Method Details
-
filterOptions
public <E> org.springframework.data.domain.Page<OptionDTO<Object>> filterOptions(jakarta.persistence.EntityManager entityManager, Class<E> entityClass, org.springframework.data.jpa.domain.Specification<E> specification, OptionSourceDescriptor descriptor, String search, org.springframework.data.domain.Pageable pageable, Collection<Object> includeIds) - Specified by:
filterOptionsin interfaceOptionSourceQueryExecutor
-
byIdsOptions
public <E> List<OptionDTO<Object>> byIdsOptions(jakarta.persistence.EntityManager entityManager, Class<E> entityClass, OptionSourceDescriptor descriptor, Collection<Object> ids) - Specified by:
byIdsOptionsin interfaceOptionSourceQueryExecutor
-