ArcGIS Server Geoportal extension
10

com.esri.gpt.migration.from31to93
Class MigrateMetadataController

java.lang.Object
  extended by com.esri.gpt.framework.jsf.BaseActionListener
      extended by com.esri.gpt.migration.from31to93.MigrateMetadataController
All Implemented Interfaces:
EventListener, javax.faces.event.ActionListener, javax.faces.event.FacesListener

public class MigrateMetadataController
extends BaseActionListener

A class to migrate metadata from GPT 3.1 to 9.3 database.


Constructor Summary
MigrateMetadataController()
           
 
Method Summary
 DBProperties getDbProps()
           
 SelectablePublishers getSelectablePublishers()
          Gets list of selectable publishers.
 String getSelectedMigrateOption()
           
 String migrationSummary()
           
protected  void onPrepareView(RequestContext context)
          Fired when the getPrepareView() property is accessed.
protected  void processSubAction(javax.faces.event.ActionEvent event, RequestContext context)
          This is the default entry point for a sub-class of this ActionListener.
 void setDbProps(DBProperties dbProps)
           
 void setSelectedMigrateOption(String selectedMigrateOption)
          Sets the selected migrate option.
 
Methods inherited from class com.esri.gpt.framework.jsf.BaseActionListener
assertLoggedIn, authorizeAction, extractMessageBroker, extractRequestContext, getContextBroker, getKey, getLogger, getNavigationOutcome, getPrepareView, getSecurityRoles, getSecurityRoleSet, handleException, onExecutionPhaseCompleted, onExecutionPhaseStarted, 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

MigrateMetadataController

public MigrateMetadataController()
Method Detail

getSelectablePublishers

public SelectablePublishers getSelectablePublishers()
Gets list of selectable publishers.

Returns:
the list of selectable publishers

onPrepareView

protected void onPrepareView(RequestContext context)
                      throws Exception
Fired when the getPrepareView() property is accessed.
This event is triggered from the page during the render response phase of the JSF cycle.

Overrides:
onPrepareView in class BaseActionListener
Parameters:
context - the context associated with the active request
Throws:
Exception - if an exception occurs

processSubAction

protected void processSubAction(javax.faces.event.ActionEvent event,
                                RequestContext context)
                         throws javax.faces.event.AbortProcessingException,
                                Exception
Description copied from class: BaseActionListener
This is the default entry point for a sub-class of this ActionListener.
This BaseActionListener handles the JSF processAction method and invokes the processSubAction method of the sub-class.

Overrides:
processSubAction in class BaseActionListener
Parameters:
event - the associated JSF action event
context - the context associated with the active request
Throws:
javax.faces.event.AbortProcessingException - if processing should be aborted
Exception - if an exception occurs

getSelectedMigrateOption

public String getSelectedMigrateOption()

setSelectedMigrateOption

public void setSelectedMigrateOption(String selectedMigrateOption)
Sets the selected migrate option.

Parameters:
selectedMigrateOption - the new selected migrate option.
Throws:
IllegalArgumentException - if searchOption is not in MigrateOptions

getDbProps

public DBProperties getDbProps()

setDbProps

public void setDbProps(DBProperties dbProps)

migrationSummary

public String migrationSummary()

ArcGIS Server Geoportal extension
10

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