void function ( PaginationTo arg0 , JPAQuery arg1 ) { if ( arg0 == PaginationTo . NO_PAGINATION ) { return ; } Integer loc0 = arg0 . getSize ( ) ; if ( loc0 != null ) { arg1 . loc0 ( loc0 ) ; int loc1 = arg0 . getPage ( ) ; if ( loc1 > 0 ) { arg1 . offset ( ( loc1 - 1 ) * loc0 ) ; } } }
applies the paginationto pagination criteria to the given jpaquery . concode_field_sep EntityManager entityManager concode_elem_sep Logger LOG concode_field_sep Long calculateTotalBeforePagination concode_elem_sep void setEntityManager concode_elem_sep E save concode_elem_sep void save concode_elem_sep E findOne concode_elem_sep boolean isNew concode_elem_sep EntityManager getEntityManager concode_elem_sep List<E> findAll concode_elem_sep List<E> findAll concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep void forceIncrementModificationCounter concode_elem_sep PaginatedListTo<E> findPaginated concode_elem_sep PaginatedListTo<E> findPaginated concode_elem_sep Class<E> getEntityClass concode_elem_sep PaginationResultTo createPaginationResult concode_elem_sep E find concode_elem_sep boolean exists concode_elem_sep void applyCriteria concode_elem_sep void applyCriteria concode_elem_sep void applyCriteria concode_elem_sep String getEntityName