org.granite.tide.data.model
Class PageInfo

java.lang.Object
  extended by org.granite.tide.data.model.PageInfo
All Implemented Interfaces:
Externalizable, Serializable

public class PageInfo
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
PageInfo()
           
PageInfo(int firstResult, int maxResults, String[] order, boolean[] desc)
           
 
Method Summary
 int getFirstResult()
           
 int getMaxResults()
           
 SortInfo getSortInfo()
           
 void readExternal(ObjectInput in)
           
 void setFirstResult(int firstResult)
           
 void setMaxResults(int maxResults)
           
 void setSortInfo(SortInfo sortInfo)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageInfo

public PageInfo()

PageInfo

public PageInfo(int firstResult,
                int maxResults,
                String[] order,
                boolean[] desc)
Method Detail

getFirstResult

public int getFirstResult()

setFirstResult

public void setFirstResult(int firstResult)

getMaxResults

public int getMaxResults()

setMaxResults

public void setMaxResults(int maxResults)

getSortInfo

public SortInfo getSortInfo()

setSortInfo

public void setSortInfo(SortInfo sortInfo)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException