PageableDefault
instead.@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) @Deprecated public @interface PageableDefaults
Pageable
into a controller
method.Modifier and Type | Optional Element and Description |
---|---|
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
.Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.