public abstract class EntityHandler<T,Q> { public String findForm(EntityPageable pageable, Model m, Q query, BindingResult e){...} . . } public interface EntityService<T, Q>{ public Iterable<T> findForm(Q query, EntityPageable pageable); . . } public interface EntityRepository<T, ID extends Serializable> { public List<T> findAll(Object query); public Page<T> findAll(Object query, Pageable pageable); . . }
HTTP Request Parameter Name | Description |
---|---|
model_query_pageable.enable | pageNumber , default value is 0 |
model_query_pageable.pageNumber | pageSize , default value is 10 |
model_query_pageable.sortOrder[].property | order property name |
model_query_pageable.sortOrder[].direction | order direction value |
EL | Description |
---|---|
model_query_result.content | Content List |
model_query_result.pageNumber | pageNumber |
model_query_result.pageSize | pageSize |
model_query_result.totalElements | total row Count |
model_query_result.totalPages | total Pages Count |
model_query_result.previousPage | previous page number of indexing |
model_query_result.beginPage | begin page number of indexing |
model_query_result.endPage | end page number of indexing |
model_query_result.nextPage | next page number of indexing |