|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PaginationQuery<F,T>
Enclosing type for the parameters generally required when dealing with a pagination request from the database. This interface is not fit for public consumption, as it addresses dealing with underlying database models, something public consumers should never ever be concerned about.
Method Summary | |
---|---|
com.google.common.base.Function<F,T> |
getModelConverter()
|
List<com.google.common.base.Predicate<F>> |
getPredicates()
|
PaginationQuery<F,T> |
withModelConverter(com.google.common.base.Function<F,T> modelConverter)
Specifies the model converter Function that should be applied to results. |
PaginationQuery<F,T> |
withPredicate(com.google.common.base.Predicate<F> predicate)
Adds a Predicate used to filter the raw database type results. |
Method Detail |
---|
PaginationQuery<F,T> withPredicate(com.google.common.base.Predicate<F> predicate)
PaginationQuery<F,T> withModelConverter(com.google.common.base.Function<F,T> modelConverter)
List<com.google.common.base.Predicate<F>> getPredicates()
com.google.common.base.Function<F,T> getModelConverter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |