001 /** 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017 package org.apache.geronimo.console.car; 018 019 import org.apache.geronimo.console.MultiPageAbstractHandler; 020 021 /** 022 * The base class for all handlers for this portlet 023 * 024 * @version $Rev: 476061 $ $Date: 2006-11-17 01:36:50 -0500 (Fri, 17 Nov 2006) $ 025 */ 026 public abstract class BaseImportExportHandler extends MultiPageAbstractHandler { 027 protected static final String CONFIG_LIST_SESSION_KEY = "console.plugins.ConfigurationList"; 028 protected static final String DOWNLOAD_RESULTS_SESSION_KEY = "console.plugins.DownloadResults"; 029 protected static final String INDEX_MODE = "index"; 030 protected static final String ADD_REPO_MODE = "addRepository"; 031 protected static final String LIST_MODE = "list"; 032 protected static final String DOWNLOAD_MODE = "download"; 033 protected static final String VIEW_FOR_DOWNLOAD_MODE = "viewForDownload"; 034 protected static final String DOWNLOAD_STATUS_MODE = "downloadStatus"; 035 protected static final String RESULTS_MODE = "results"; 036 protected static final String CONFIGURE_EXPORT_MODE = "configure"; 037 protected static final String CONFIRM_EXPORT_MODE = "confirm"; 038 protected static final String UPDATE_REPOS_MODE = "updateList"; 039 040 protected BaseImportExportHandler(String mode, String viewName) { 041 super(mode, viewName); 042 } 043 }