|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface PageableDefaults
Annotation to set defaults when injecting a Pageable into a controller method.
| Optional Element Summary | |
|---|---|
int |
pageNumber
The default-pagenumber the injected org.synyx.hades.domain.Pageable should get if no corresponding
parameter defined in request (default is 0). |
String[] |
sort
The properties to sort by by default. |
Sort.Direction |
sortDir
The direction to sort by. |
int |
value
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
org.synyx.hades.domain.Pageable should get if no corresponding
parameter defined in request (default is 0).
public abstract String[] sort
public abstract Sort.Direction sortDir
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||