Esri Geoportal Server
1.0

com.esri.gpt.control.harvest
Class HarvestHistoryController

java.lang.Object
  extended by com.esri.gpt.framework.jsf.BaseActionListener
      extended by com.esri.gpt.control.harvest.BaseHarvestController
          extended by com.esri.gpt.control.harvest.HarvestHistoryController
All Implemented Interfaces:
EventListener, ActionListener, FacesListener

public class HarvestHistoryController
extends BaseHarvestController

Harvest history controller. Provides functionality to support *.jsp pages to display harvest history and view harvest reports.


Field Summary
 
Fields inherited from class com.esri.gpt.control.harvest.BaseHarvestController
_harvestContext, _pageCursorPanel
 
Constructor Summary
HarvestHistoryController()
          Creates instance of the controller.
 
Method Summary
 boolean getAlwaysFalse()
          Gets always false.
 HeCriteria getCriteria()
          Gets harvest history criteria.
 boolean getExternal()
          Gets information if it's external call.
 String getListEventsPostView()
          Does post preparation of the list of events.
 String getListEventsView()
          Prepares page to display harvest history.
 ReportViewer getReportViewer()
          Gets viewer viewer.
 HeResult getResult()
          Gets harvest history result.
 SortDirectionStyle getSortDirectionStyle()
          Gets sort direction style.
 BaseSortDirectionStyleMap getSortDirectionStyleMap()
          Gets sort direction style map.
 String getViewReportView()
          Prepares harvest report page.
 void handleListOfEvents(ActionEvent event)
          Called to handle history event.
 String onClickButtonHistoryExecuteAction()
          History report execute button action.
 void setAlwaysFalse(boolean ignored)
          Sets always false.
 void setCriteria(HeCriteria historyCriteria)
          Sets harvest history criteria.
 void setExternal(boolean external)
          Sets information if it's external call.
 void setResult(HeResult historyResult)
          Sets harvest history result.
 void setSortDirectionStyle(SortDirectionStyle style)
          Sets sort direction style.
 
Methods inherited from class com.esri.gpt.control.harvest.BaseHarvestController
getHarvestContext, getPageCursorPanel, setHarvestContext
 
Methods inherited from class com.esri.gpt.framework.jsf.BaseActionListener
assertLoggedIn, authorizeAction, extractMessageBroker, extractRequestContext, getContextBroker, getKey, getLogger, getNavigationOutcome, getPrepareView, getSecurityRoles, getSecurityRoleSet, handleException, onExecutionPhaseCompleted, onExecutionPhaseStarted, onPrepareView, onPrepareViewCompleted, onPrepareViewStarted, processAction, processSubAction, setKey, setNavigationOutcome, setPrepareView, setSecurityRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvestHistoryController

public HarvestHistoryController()
Creates instance of the controller.

Method Detail

getCriteria

public HeCriteria getCriteria()
Gets harvest history criteria.

Returns:
harvest history criteria

setCriteria

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

Parameters:
historyCriteria - harvest history criteria

getResult

public HeResult getResult()
Gets harvest history result.

Returns:
harvest history result

setResult

public void setResult(HeResult historyResult)
Sets harvest history result.

Parameters:
historyResult - harvest history result

getReportViewer

public ReportViewer getReportViewer()
Gets viewer viewer.

Returns:
viewer viewer

getSortDirectionStyleMap

public BaseSortDirectionStyleMap getSortDirectionStyleMap()
Gets sort direction style map.

Returns:
sort direction style map

getSortDirectionStyle

public SortDirectionStyle getSortDirectionStyle()
Gets sort direction style.

Returns:
sort direction style

setSortDirectionStyle

public void setSortDirectionStyle(SortDirectionStyle style)
Sets sort direction style.

Parameters:
style - sort direction style

getAlwaysFalse

public boolean getAlwaysFalse()
Gets always false.

Returns:
false

setAlwaysFalse

public void setAlwaysFalse(boolean ignored)
Sets always false.

Parameters:
ignored - ignored parameter

getExternal

public boolean getExternal()
Gets information if it's external call.

Returns:
true if it's external call

setExternal

public void setExternal(boolean external)
Sets information if it's external call.

Parameters:
external - true if it's external call

handleListOfEvents

public void handleListOfEvents(ActionEvent event)
Called to handle history event.

Reads sort columna and sort direction and stores within query criteria object.

Parameters:
event - the associated JSF action event
Throws:
AbortProcessingException - if processing should be aborted
See Also:
HarvestContext

getListEventsView

public String getListEventsView()
Prepares page to display harvest history.

Returns:
empty string

getListEventsPostView

public String getListEventsPostView()
Does post preparation of the list of events.

Returns:
empty string

getViewReportView

public String getViewReportView()
Prepares harvest report page.

Returns:
empty string

onClickButtonHistoryExecuteAction

public String onClickButtonHistoryExecuteAction()
History report execute button action.

Returns:
navigation outcome

Esri Geoportal Server
1.0

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