|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParameterAccessor
Interface to access method parameters. Allows dedicated access to parameters of special types
| Method Summary | |
|---|---|
Object |
getBindableValue(int index)
Returns the bindable value with the given index. |
Pageable |
getPageable()
Returns the Pageable of the parameters, if available. |
Sort |
getSort()
Returns the sort instance to be used for query creation. |
Iterator<Object> |
iterator()
Returns an iterator over all bindable parameters. |
| Method Detail |
|---|
Pageable getPageable()
Pageable of the parameters, if available. Returns
null otherwise.
Sort getSort()
Sort parameter if available or the Sort contained in a
Pageable if available. Returns null if no Sort
can be found.
Object getBindableValue(int index)
Pageable and Sort values are skipped without noticed in
the index. For a method signature taking String, Pageable
, String, #getBindableParameter(1) would return the
second String value.
index -
Iterator<Object> iterator()
Pageable or Sort will not be
included in this Iterator.
iterator in interface Iterable<Object>
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||