|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface SortDefault
Annotation to define the default Sort options to be used when injecting a Sort instance into a
controller handler method.
| Optional Element Summary | |
|---|---|
Sort.Direction |
direction
The direction to sort by. |
String[] |
sort
The properties to sort by by default. |
String[] |
value
Alias for sort() to make a declaration configuring fields only more concise. |
public abstract String[] value
sort() to make a declaration configuring fields only more concise.
public abstract String[] sort
public abstract Sort.Direction direction
Sort.Direction.ASC.
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||