|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
PageableDefault
instead.
@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) @Deprecated public @interface PageableDefaults
Annotation to set defaults when injecting a Pageable
into a controller
method.
Optional Element Summary | |
---|---|
int |
pageNumber
Deprecated. The default-pagenumber the injected Pageable should get if no corresponding
parameter defined in request (default is 0). |
String[] |
sort
Deprecated. The properties to sort by by default. |
Sort.Direction |
sortDir
Deprecated. The direction to sort by. |
int |
value
Deprecated. The default-size the injected Pageable should get if no corresponding
parameter defined in request (default is 10). |
public abstract int value
Pageable
should get if no corresponding
parameter defined in request (default is 10).
public abstract int pageNumber
Pageable
should get if no corresponding
parameter defined in request (default is 0).
public abstract String[] sort
public abstract Sort.Direction sortDir
Sort.Direction.ASC
.
|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |