Esri Geoportal Server
1.0

com.esri.gpt.framework.request
Class PageCursor.DefaultRecordsPerPageProvider

java.lang.Object
  extended by com.esri.gpt.framework.request.PageCursor.DefaultRecordsPerPageProvider
All Implemented Interfaces:
PageCursor.IRecordsPerPageProvider, Serializable
Enclosing class:
PageCursor

protected class PageCursor.DefaultRecordsPerPageProvider
extends Object
implements Serializable, PageCursor.IRecordsPerPageProvider

Default records per page provider.

See Also:
Serialized Form

Field Summary
protected  int _recordsPerPage
          Records per page
 
Fields inherited from interface com.esri.gpt.framework.request.PageCursor.IRecordsPerPageProvider
DEFAULT_RECORDS_PER_PAGE, MIN_RECORDS_PER_PAGE
 
Constructor Summary
protected PageCursor.DefaultRecordsPerPageProvider()
           
 
Method Summary
 int getRecordsPerPage()
          Gets number of records per page.
 void setRecordsPerPage(int recordsPerPage)
          Sets number of records per page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_recordsPerPage

protected int _recordsPerPage
Records per page

Constructor Detail

PageCursor.DefaultRecordsPerPageProvider

protected PageCursor.DefaultRecordsPerPageProvider()
Method Detail

getRecordsPerPage

public int getRecordsPerPage()
Gets number of records per page.

Specified by:
getRecordsPerPage in interface PageCursor.IRecordsPerPageProvider
Returns:
number of records per page

setRecordsPerPage

public void setRecordsPerPage(int recordsPerPage)
Sets number of records per page.

Specified by:
setRecordsPerPage in interface PageCursor.IRecordsPerPageProvider
Parameters:
recordsPerPage - number of records per page

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.