|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.jsf.BaseActionListener com.esri.gpt.control.harvest.BaseHarvestController com.esri.gpt.control.harvest.HarvestController
public class HarvestController
Harvest controller. Provides functionality to support *.jsp pages to list, and edit harvest repository data.
Field Summary |
---|
Fields inherited from class com.esri.gpt.control.harvest.BaseHarvestController |
---|
_harvestContext, _pageCursorPanel |
Constructor Summary | |
---|---|
HarvestController()
Creates instance of the controller. |
Method Summary | |
---|---|
boolean |
getAlwaysFalse()
Gets always false. |
HrCriteria |
getCriteria()
Gets harvest criteria. |
HarvestEditor |
getEditor()
Gets harvest repository editor. |
String |
getEditRepositoryView()
Prepares page to display edited repository. |
HeCriteria |
getHistoryCriteria()
Gets harvest history criteria. |
boolean |
getInfoEnabled()
Checks if info enabled. |
String |
getListRepositoriesPostView()
Does post-preparation of the list of harvest repositories. |
String |
getListRepositoriesView()
Prepares page to display list of harvest repositories. |
String |
getPrepareSelectedPublishers()
Prepares selected publishers. |
ArrayList<SelectItem> |
getProtocols()
Gets protocols eligible to choose. |
HrResult |
getResult()
Gets harvest result. |
SelectablePublishers |
getSelectablePublishers()
Gets selectable publishers. |
SortDirectionStyle |
getSortDirectionStyle()
Gets sort direction style. |
BaseSortDirectionStyleMap |
getSortDirectionStyleMap()
Gets sort direction style map. |
String |
getSynchronizationStatistics()
Gets synchronization statistics. |
String |
getSynchronizationStatus()
Gets synchronization status. |
void |
handleCancelSynchronization(ActionEvent event)
Handles canceling synchronization. |
void |
handleCreateRepository(ActionEvent event)
Handles repository creation. |
void |
handleFullSynchronization(ActionEvent event)
Handles initiating full synchronization. |
void |
handleIncSynchronization(ActionEvent event)
Handles initiating incremental synchronization. |
void |
handleListRepositories(ActionEvent event)
Called to handle list of repositories event. |
void |
handleTestConnection(ActionEvent event)
Checks connection to the remote server. |
void |
handleUpdateRepository(ActionEvent event)
Updates repository repository. |
String |
onClickButtonExecuteAction()
Execute button action handler. |
void |
setAlwaysFalse(boolean ignored)
Sets always false. |
void |
setCriteria(HrCriteria criteria)
Sets harvest criteria. |
void |
setEditor(HarvestEditor editor)
Sets harvest repository editor. |
void |
setHistoryCriteria(HeCriteria historyCriteria)
Sets harvest history criteria. |
void |
setInfoEnabled(boolean enabled)
Sets info enabled. |
void |
setPrepareSelectedPublishers(String ignore)
Companion to getPrepareSelectedPublishers() |
void |
setResult(HrResult result)
Sets harvest result. |
void |
setSortDirectionStyle(SortDirectionStyle style)
Sets sort direction style. |
void |
setSynchronizationStatus(String status)
Sets synchronization status. |
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 |
---|
public HarvestController()
Method Detail |
---|
public HrCriteria getCriteria()
public void setCriteria(HrCriteria criteria)
criteria
- harvest criteriapublic HrResult getResult()
public void setResult(HrResult result)
result
- harvest resultpublic HeCriteria getHistoryCriteria()
public void setHistoryCriteria(HeCriteria historyCriteria)
historyCriteria
- harvest history criteriapublic HarvestEditor getEditor()
public void setEditor(HarvestEditor editor)
editor
- harvest repository editorpublic BaseSortDirectionStyleMap getSortDirectionStyleMap()
public SortDirectionStyle getSortDirectionStyle()
public void setSortDirectionStyle(SortDirectionStyle style)
style
- sort direction stylepublic boolean getAlwaysFalse()
false
public void setAlwaysFalse(boolean ignored)
ignored
- ignored parameterpublic SelectablePublishers getSelectablePublishers()
public void handleListRepositories(ActionEvent event) throws AbortProcessingException
event
- the associated JSF action event
AbortProcessingException
- if processing should be abortedHarvestContext
public void handleCreateRepository(ActionEvent event) throws AbortProcessingException
event
- the associated JSF action event
AbortProcessingException
- if processing should be abortedpublic void handleIncSynchronization(ActionEvent event) throws AbortProcessingException
event
- action event
AbortProcessingException
- if processing has been abortedpublic void handleFullSynchronization(ActionEvent event) throws AbortProcessingException
event
- action event
AbortProcessingException
- if processing has been abortedpublic void handleCancelSynchronization(ActionEvent event) throws AbortProcessingException
event
- action event
AbortProcessingException
- if processing has been abortedpublic void handleUpdateRepository(ActionEvent event) throws AbortProcessingException
event
- the associated JSF action event
AbortProcessingException
- if processing should be abortedpublic void handleTestConnection(ActionEvent event) throws AbortProcessingException
event
- the associated JSF action event
AbortProcessingException
- if processing should be abortedpublic String onClickButtonExecuteAction()
public String getListRepositoriesView()
public String getListRepositoriesPostView()
public String getEditRepositoryView()
public void setSynchronizationStatus(String status)
status
- synchronization statuspublic String getSynchronizationStatus()
public String getSynchronizationStatistics()
public String getPrepareSelectedPublishers()
public void setPrepareSelectedPublishers(String ignore)
getPrepareSelectedPublishers()
ignore
- ignored argumentpublic void setInfoEnabled(boolean enabled)
enabled
- true
to enabled info.public boolean getInfoEnabled()
true
if info enabled.public ArrayList<SelectItem> getProtocols()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |