org.apache.geronimo.console.car
Class BaseImportExportHandler

java.lang.Object
  extended by org.apache.geronimo.console.MultiPageAbstractHandler
      extended by org.apache.geronimo.console.car.BaseImportExportHandler
Direct Known Subclasses:
AbstractListHandler, AddRepositoryHandler, AssemblyConfirmHandler, AssemblyIndexHandler, AssemblyViewHandler, CreatePluginIndexHandler, DownloadStatusHandler, ExportConfigHandler, ExportHandler, IndexHandler, ResultsHandler, UpdateListHandler, ViewPluginDownloadHandler

public abstract class BaseImportExportHandler
extends MultiPageAbstractHandler

The base class for all handlers for this portlet


Field Summary
protected static String ADD_REPO_MODE
           
protected static String ASSEMBLY_CONFIRM_MODE
           
protected static String ASSEMBLY_VIEW_MODE
           
protected static String CONFIG_LIST_REPO_SESSION_KEY
           
protected static String CONFIG_LIST_SESSION_KEY
           
protected static String CONFIGURE_EXPORT_MODE
           
protected static String CONFIRM_EXPORT_MODE
           
protected static String DOWNLOAD_MODE
           
static String DOWNLOAD_RESULTS_SESSION_KEY
           
protected static String DOWNLOAD_STATUS_MODE
           
protected static String INDEX_MODE
           
protected static String LIST_MODE
           
protected static String LIST_SERVER_MODE
           
protected static String RESULTS_MODE
           
protected static String SERVER_CONFIG_LIST_SESSION_KEY
           
protected static String UPDATE_REPOS_MODE
           
protected static String VIEW_FOR_DOWNLOAD_MODE
           
 
Fields inherited from class org.apache.geronimo.console.MultiPageAbstractHandler
AFTER_ACTION, BEFORE_ACTION, view
 
Constructor Summary
protected BaseImportExportHandler(String mode, String viewName)
           
 
Method Summary
protected  PluginListType getPluginsFromIds(String[] configIds, PluginListType list)
           
protected  PluginListType getRepoPluginList(javax.portlet.PortletRequest request, PluginInstaller pluginInstaller, String repo, String user, String pass)
           
protected  PluginListType getServerPluginList(javax.portlet.PortletRequest request, PluginInstaller pluginInstaller)
           
 
Methods inherited from class org.apache.geronimo.console.MultiPageAbstractHandler
actionAfterView, actionBeforeView, destroy, getMode, getUploadFields, getUploadFiles, getView, init, isEmpty, renderView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_LIST_SESSION_KEY

protected static final String CONFIG_LIST_SESSION_KEY
See Also:
Constant Field Values

CONFIG_LIST_REPO_SESSION_KEY

protected static final String CONFIG_LIST_REPO_SESSION_KEY
See Also:
Constant Field Values

SERVER_CONFIG_LIST_SESSION_KEY

protected static final String SERVER_CONFIG_LIST_SESSION_KEY
See Also:
Constant Field Values

DOWNLOAD_RESULTS_SESSION_KEY

public static final String DOWNLOAD_RESULTS_SESSION_KEY
See Also:
Constant Field Values

INDEX_MODE

protected static final String INDEX_MODE
See Also:
Constant Field Values

ADD_REPO_MODE

protected static final String ADD_REPO_MODE
See Also:
Constant Field Values

LIST_MODE

protected static final String LIST_MODE
See Also:
Constant Field Values

DOWNLOAD_MODE

protected static final String DOWNLOAD_MODE
See Also:
Constant Field Values

VIEW_FOR_DOWNLOAD_MODE

protected static final String VIEW_FOR_DOWNLOAD_MODE
See Also:
Constant Field Values

DOWNLOAD_STATUS_MODE

protected static final String DOWNLOAD_STATUS_MODE
See Also:
Constant Field Values

RESULTS_MODE

protected static final String RESULTS_MODE
See Also:
Constant Field Values

CONFIGURE_EXPORT_MODE

protected static final String CONFIGURE_EXPORT_MODE
See Also:
Constant Field Values

CONFIRM_EXPORT_MODE

protected static final String CONFIRM_EXPORT_MODE
See Also:
Constant Field Values

UPDATE_REPOS_MODE

protected static final String UPDATE_REPOS_MODE
See Also:
Constant Field Values

ASSEMBLY_CONFIRM_MODE

protected static final String ASSEMBLY_CONFIRM_MODE
See Also:
Constant Field Values

LIST_SERVER_MODE

protected static final String LIST_SERVER_MODE
See Also:
Constant Field Values

ASSEMBLY_VIEW_MODE

protected static final String ASSEMBLY_VIEW_MODE
See Also:
Constant Field Values
Constructor Detail

BaseImportExportHandler

protected BaseImportExportHandler(String mode,
                                  String viewName)
Method Detail

getRepoPluginList

protected PluginListType getRepoPluginList(javax.portlet.PortletRequest request,
                                           PluginInstaller pluginInstaller,
                                           String repo,
                                           String user,
                                           String pass)
                                    throws IOException,
                                           javax.portlet.PortletException
Throws:
IOException
javax.portlet.PortletException

getServerPluginList

protected PluginListType getServerPluginList(javax.portlet.PortletRequest request,
                                             PluginInstaller pluginInstaller)
                                      throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException

getPluginsFromIds

protected PluginListType getPluginsFromIds(String[] configIds,
                                           PluginListType list)
                                    throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.