Esri Geoportal Server
1.0

com.esri.gpt.control.harvest
Class HarvestContext

java.lang.Object
  extended by com.esri.gpt.control.harvest.HarvestContext
All Implemented Interfaces:
PageCursor.IRecordsPerPageProvider, Serializable

public class HarvestContext
extends Object
implements PageCursor.IRecordsPerPageProvider

Managed bean to store harvest data.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.gpt.framework.request.PageCursor.IRecordsPerPageProvider
DEFAULT_RECORDS_PER_PAGE, MIN_RECORDS_PER_PAGE
 
Constructor Summary
HarvestContext()
           
 
Method Summary
 HrCriteria getHarvestCriteria()
          Gets harvest repository criteria.
 HeCriteria getHistoryCriteria()
          Gets harvest history criteria.
 int getRecordsPerPage()
          Gets number of records per page.
 void setHarvestCriteria(HrCriteria harvestCriteria)
          Sets harvest repository criteria.
 void setHistoryCriteria(HeCriteria historyCriteria)
          Sets harvest history criteria.
 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
 

Constructor Detail

HarvestContext

public HarvestContext()
Method Detail

getHarvestCriteria

public HrCriteria getHarvestCriteria()
Gets harvest repository criteria.

Returns:
harvest repository criteria

setHarvestCriteria

public void setHarvestCriteria(HrCriteria harvestCriteria)
Sets harvest repository criteria.

Parameters:
harvestCriteria - harvest repository criteria

getHistoryCriteria

public HeCriteria getHistoryCriteria()
Gets harvest history criteria.

Returns:
harvest history criteria

setHistoryCriteria

public void setHistoryCriteria(HeCriteria historyCriteria)
Sets harvest history criteria.

Parameters:
historyCriteria - harvest history criteria

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.