Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.springframework.data.web
Annotation Type PageableDefaults

    @Retention(value=RUNTIME)
    @Target(value=PARAMETER)
    public @interface PageableDefaults

Annotation to set defaults when injecting a `Pageable` into a controller method.

Author:
  Oliver Gierke

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).
`int` | `value` The default-size the injected `Pageable` should get if no corresponding parameter defined in request (default is 10).

### value

    public abstract int value

  The default-size the injected `Pageable` should get if no corresponding parameter defined in request (default is 10).

  Default:
    10

### pageNumber

    public abstract int pageNumber

  The default-pagenumber the injected `org.synyx.hades.domain.Pageable` should get if no corresponding parameter defined in request (default is 0).

  Default:
    0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2011. All Rights Reserved.