toggle menu
criteria
jvm
switch theme
search in API
spring-boot
/
io.github.magonxesp.criteria.infrastructure.spring
/
CriteriaJPASpecificationAdapter
Criteria
JPASpecification
Adapter
class
CriteriaJPASpecificationAdapter
(
fieldMap
:
FieldMap
=
DefaultFieldMap()
)
Members
Constructors
Criteria
JPASpecification
Adapter
Link copied to clipboard
constructor
(
fieldMap
:
FieldMap
=
DefaultFieldMap()
)
Functions
adapt
Link copied to clipboard
fun
<
T
>
adapt
(
criteria
:
Criteria
,
joins
:
Root
<
T
>
.
(
)
->
JoinMap
=
{ mapOf() }
)
:
Specification
<
T
>
adapt
Pagination
Link copied to clipboard
fun
adaptPagination
(
criteria
:
Criteria
)
:
PageRequest
apply
Link copied to clipboard
fun
<
T
>
apply
(
criteria
:
Criteria
,
repository
:
JpaSpecificationExecutor
<
T
>
,
joins
:
Root
<
T
>
.
(
)
->
JoinMap
=
{ mapOf() }
)
:
PaginatedCollection
<
T
>