|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.wcps.property.PaginationContext
public class PaginationContext
Represents an individual page's information of a paged list IPagedList. It contains start index and page size data.
| Constructor Summary | |
|---|---|
PaginationContext() |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o) |
static PaginationContext |
getDefault()Creates this with 0 and 10 as default values for the start index and the page size. |
int |
getPageSize()Returns the size of a paged list. |
int |
getStartIndex()Returns the first element's index in a list of property service entities. |
java.lang.String |
getUri()For internal use |
java.lang.String |
getUri(int startIndex, int pageSize)For internal use |
int |
hashCode() |
PaginationContext |
withPageSize(int pageSize)Sets the given pageSize as a size of a paged list. |
PaginationContext |
withStartIndex(int startIndex)Sets the given startIndex as the index of the first element in a paged list. |
PaginationContext |
withTemplate(java.lang.String l)For internal use. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaginationContext()
| Method Detail |
|---|
public int getStartIndex()
public int getPageSize()
public java.lang.String getUri()
public java.lang.String getUri(int startIndex,
int pageSize)
public PaginationContext withStartIndex(int startIndex)
startIndex - the index of the first element in a paged list.public PaginationContext withPageSize(int pageSize)
pageSize - the size of a paged list.public PaginationContext withTemplate(java.lang.String l)
public static PaginationContext getDefault()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||