org.synyx.hades.domain
Interface Pageable

All Known Implementing Classes:
PageRequest

public interface Pageable

Abstract interface for pagination information.

Author:
Oliver Gierke - gierke@synyx.de

Method Summary
 int getFirstItem()
          Returns the first item relatively to the total number of items.
 int getPageNumber()
          Returns the page to be returned.
 int getPageSize()
          Returns the number of items to be returned.
 Sort getSort()
          Returns the sorting parameters.
 

Method Detail

getPageNumber

int getPageNumber()
Returns the page to be returned.

Returns:
the page to be returned.

getPageSize

int getPageSize()
Returns the number of items to be returned.

Returns:
the number of items of that page

getFirstItem

int getFirstItem()
Returns the first item relatively to the total number of items.

Returns:
the first item to be returned

getSort

Sort getSort()
Returns the sorting parameters.

Returns:


Copyright © 2009-2010 Synyx GmbH & Co. KG. All Rights Reserved.