Esri Geoportal Server
1.0

com.esri.gpt.control.search
Class SearchHarvestSitesController

java.lang.Object
  extended by com.esri.gpt.framework.jsf.BaseActionListener
      extended by com.esri.gpt.control.search.SearchController
          extended by com.esri.gpt.control.search.SearchHarvestSitesController
All Implemented Interfaces:
EventListener, ActionListener, FacesListener

public class SearchHarvestSitesController
extends SearchController

The Class SearchHarvestSitesController. 9.3.1 new search controller. extends the 9.3 controller. Should be used under a faces Context.


Constructor Summary
SearchHarvestSitesController()
           
 
Method Summary
 String getDefaultSiteId()
          Gets the default site id.
 String getDefaultSiteName()
          Gets the default site name.
 String getDoSearch()
           
 String getFullMetadataUrl()
          Gets the full metadata url.
 boolean getHasRestUrls()
          Gets the checks for rest urls.
 String getNavigationOutcome()
          Gets the navigation outcome.
protected  String getRestSearchRequestUrl(String format)
          Gets the rest search request url.
 SearchConfig getSearchConfig()
          Gets the search config.
protected  ASearchEngine getSearchDao()
          Gets the search dao.
 SearchFilterHarvestSites getSearchFilterHarvestSites()
          Gets the search filter harvest sites.
 void prepareView()
          Prepares the view for a jsf page
 void processFullMetadataUrl()
          Process full metadata url.
protected  void processSearchActions(ActionEvent event, RequestContext context)
          overiding the de fault to add 9.3.1 actions
 void setDefaultSiteId(String defaultSiteId)
          Sets the default site id.
 void setDefaultSiteName(String defaultSiteName)
          Sets the default site name.
 void setFullMetadataUrl(String fullMetadataUrl)
          Sets the full metadata url.
 void setSearchFilterHarvestSites(SearchFilterHarvestSites searchHarvestSites)
          Sets the search filter harvest sites.
 
Methods inherited from class com.esri.gpt.control.search.SearchController
doSearch, getDetailsPanelGroup, getDisplayResultsStyle, getEventType, getExpandResultCheckboxStyle, getExpandResultContentStyle, getMetadataText, getMetadataText, getResourceUrl, getRestSearchRequestUrlAtom, getRestSearchRequestUrlGeorss, getRestSearchRequestUrlHtml, getRestSearchRequestUrlHtmlFragment, getRestSearchRequestUrlHtmlResultsJsf, getRestSearchRequestUrlJson, getRestSearchRequestUrlKml, getSavedSearches, getSavedSearchesPanelStyle, getSaveSearchStyle, getSearchCriteria, getSearchEvent, getSearchResult, getWasSearched, processRequestParams, processSubAction, setDetailsPanelGroup, setResourceUrl, setSavedSearchesPanelStyle, setSearchCriteria, setSearchResult, setWasSearched
 
Methods inherited from class com.esri.gpt.framework.jsf.BaseActionListener
assertLoggedIn, authorizeAction, extractMessageBroker, extractRequestContext, getContextBroker, getKey, getLogger, getPrepareView, getSecurityRoles, getSecurityRoleSet, handleException, onExecutionPhaseCompleted, onExecutionPhaseStarted, onPrepareView, onPrepareViewCompleted, onPrepareViewStarted, processAction, setKey, setNavigationOutcome, setPrepareView, setSecurityRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchHarvestSitesController

public SearchHarvestSitesController()
Method Detail

getSearchFilterHarvestSites

public SearchFilterHarvestSites getSearchFilterHarvestSites()
                                                     throws SearchException
Gets the search filter harvest sites.

Returns:
the search filter harvest sites
Throws:
SearchException

setSearchFilterHarvestSites

public void setSearchFilterHarvestSites(SearchFilterHarvestSites searchHarvestSites)
Sets the search filter harvest sites.

Parameters:
searchHarvestSites - the new search filter harvest sites

getFullMetadataUrl

public String getFullMetadataUrl()
Gets the full metadata url.

Returns:
the full metadata url

setFullMetadataUrl

public void setFullMetadataUrl(String fullMetadataUrl)
Sets the full metadata url.

Parameters:
fullMetadataUrl - the new full metadata url

getDefaultSiteId

public String getDefaultSiteId()
Gets the default site id.

Returns:
the default site id (trimmed, never null)

setDefaultSiteId

public void setDefaultSiteId(String defaultSiteId)
Sets the default site id.

Parameters:
defaultSiteId - the new default site id

getDefaultSiteName

public String getDefaultSiteName()
Gets the default site name.

Returns:
the default site name (trimmed, never null)

setDefaultSiteName

public void setDefaultSiteName(String defaultSiteName)
Sets the default site name.

Parameters:
defaultSiteName - the new default site name

getSearchConfig

public SearchConfig getSearchConfig()
Gets the search config.

Returns:
the search config

getHasRestUrls

public boolean getHasRestUrls()
Gets the checks for rest urls.

Returns:
the checks for rest urls

processFullMetadataUrl

public void processFullMetadataUrl()
Process full metadata url.


processSearchActions

protected void processSearchActions(ActionEvent event,
                                    RequestContext context)
                             throws AbortProcessingException,
                                    Exception
overiding the de fault to add 9.3.1 actions

Overrides:
processSearchActions in class SearchController
Parameters:
event - Event to be processed
context -
Throws:
AbortProcessingException
Exception

getSearchDao

protected ASearchEngine getSearchDao()
                              throws SearchException
Gets the search dao.

Overrides:
getSearchDao in class SearchController
Returns:
the search dao
Throws:
SearchException - the search exception

getRestSearchRequestUrl

protected String getRestSearchRequestUrl(String format)
Gets the rest search request url.

Overrides:
getRestSearchRequestUrl in class SearchController
Parameters:
format - the format
Returns:
the rest search request url (can be null)

prepareView

public void prepareView()
Prepares the view for a jsf page

Overrides:
prepareView in class SearchController

getNavigationOutcome

public String getNavigationOutcome()
Gets the navigation outcome.

Overrides:
getNavigationOutcome in class BaseActionListener
Returns:
the navigation outcome

getDoSearch

public String getDoSearch()

Esri Geoportal Server
1.0

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