Package | Description |
---|---|
org.springframework.data.jpa.domain |
JPA specific support classes to implement domain classes.
|
Modifier and Type | Method and Description |
---|---|
JpaSort |
JpaSort.and(org.springframework.data.domain.Sort.Direction direction,
javax.persistence.metamodel.Attribute<?,?>... attributes)
Returns a new
JpaSort with the given sorting criteria added to the current one. |
JpaSort |
JpaSort.and(org.springframework.data.domain.Sort.Direction direction,
JpaSort.Path<?,?>... paths)
Returns a new
JpaSort with the given sorting criteria added to the current one. |
JpaSort |
JpaSort.andUnsafe(org.springframework.data.domain.Sort.Direction direction,
String... properties)
Returns a new
JpaSort with the given sorting criteria added to the current one. |
static JpaSort |
JpaSort.of(javax.persistence.metamodel.Attribute<?,?>... attributes)
Creates a new
JpaSort for the given attributes with the default sort direction. |
static JpaSort |
JpaSort.of(JpaSort.Path<?,?>... paths)
Creates a new
JpaSort instance with the given JpaSort.Path s. |
static JpaSort |
JpaSort.of(org.springframework.data.domain.Sort.Direction direction,
javax.persistence.metamodel.Attribute<?,?>... attributes)
Creates a new
JpaSort for the given direction and attributes. |
static JpaSort |
JpaSort.of(org.springframework.data.domain.Sort.Direction direction,
JpaSort.Path<?,?>... paths)
Creates a new
JpaSort for the given direction and JpaSort.Path s. |
static JpaSort |
JpaSort.unsafe(org.springframework.data.domain.Sort.Direction direction,
List<String> properties)
Creates new unsafe
JpaSort based on given Direction and properties. |
static JpaSort |
JpaSort.unsafe(org.springframework.data.domain.Sort.Direction direction,
String... properties)
Creates new unsafe
JpaSort based on given Direction and properties. |
static JpaSort |
JpaSort.unsafe(String... properties)
Creates new unsafe
JpaSort based on given properties. |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.