All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinitenature.commons.pagination.PageRequest Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
package org.infinitenature.commons.pagination;

public interface PageRequest extends OffsetRequest
{

   /**
    * Returns the one based index of the requested PageImpl
    */
   int getPage();

   int getPageSize();

   /**
    * Return the {@link PageRequest} for the page which is the predcessor of the
    * page returend with this request.
    * 
    * @return the request for the predcessor page, this if this request is for
    *         the first page
    */
   PageRequest previous();

   PageRequest next();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy