atg.svc.ui.treetable
Class PageState

java.lang.Object
  extended by atg.svc.ui.treetable.PageState
All Implemented Interfaces:
java.io.Serializable

public class PageState
extends java.lang.Object
implements java.io.Serializable

The PageState class manages the state of tree table paging.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
static int DEFAULT_OFFSET
          The default or initial paging offset
 
Constructor Summary
PageState()
          Creates and initializes an empty tree table page state object
 
Method Summary
 boolean equals(java.lang.Object o)
          Overrides default equals()
 boolean getIsFirstPage()
           
 boolean getIsLastPage()
           
 int getPageHighIndex()
           
 int getPageOffset()
           
 int getPageSize()
           
 int getTotalSize()
           
 int hashCode()
          Overrides default hashCode()
 void setPageOffset(int pPageOffset)
           
 void setPageSize(int pPageSize)
           
 void setTotalSize(int pTotalSize)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

DEFAULT_OFFSET

public static final int DEFAULT_OFFSET
The default or initial paging offset

See Also:
Constant Field Values
Constructor Detail

PageState

public PageState()
Creates and initializes an empty tree table page state object

Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides default equals()

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides default hashCode()

Overrides:
hashCode in class java.lang.Object

getPageHighIndex

public int getPageHighIndex()
Returns:
The page high index inclusive

getIsFirstPage

public boolean getIsFirstPage()
Returns:
True if the current page is the first page

getIsLastPage

public boolean getIsLastPage()
Returns:
True if the current page is the last page

setPageOffset

public void setPageOffset(int pPageOffset)
Parameters:
pPageOffset - The new page offset

getPageOffset

public int getPageOffset()
Returns:
The page offset

setPageSize

public void setPageSize(int pPageSize)
Parameters:
pPageSize - The new page size

getPageSize

public int getPageSize()
Returns:
The page size

setTotalSize

public void setTotalSize(int pTotalSize)
Parameters:
pTotalSize - The new total size

getTotalSize

public int getTotalSize()
Returns:
The total size