public class Pagination extends Object implements Serializable
Constructor and Description |
---|
Pagination(int offset,
int limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getLimit()
The limit for this pagination object.
|
Pagination |
getNext()
Creates a new pagination object representing the next page
|
int |
getOffset()
The offset for this pagination object.
|
int |
getPageNumber()
The current page number this pagination object represents
|
Pagination |
getPrevious()
Creates a new pagination object representing the previous page
|
int |
hashCode() |
String |
toString() |
public int getPageNumber()
public int getOffset()
public int getLimit()
public Pagination getNext()
public Pagination getPrevious()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.