ArcGIS Server Geoportal extension
10

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
 String getDefaultLookupTable()
          Deprecated. since 9.3.1 with no replacement and not intent of future use
 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

getDefaultLookupTable

@Deprecated
public String getDefaultLookupTable()
Deprecated. since 9.3.1 with no replacement and not intent of future use

Gets default lookup table.

Returns:
default lookup table

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

ArcGIS Server Geoportal extension
10

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