summaryrefslogtreecommitdiffstats
path: root/pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-24 02:27:47 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-03-26 11:43:54 -0500
commit621d9e5c413e561293d7484b93882d985b3fe15f (patch)
tree638f3d75761c121d9a8fb50b52a12a6686c5ac5c /pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java
parent40d3643b8d91886bf210aa27f711731c81a11e49 (diff)
downloadpki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.gz
pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.xz
pki-621d9e5c413e561293d7484b93882d985b3fe15f.zip
Removed unnecessary pki folder.
Previously the source code was located inside a pki folder. This folder was created during svn migration and is no longer needed. This folder has now been removed and the contents have been moved up one level. Ticket #131
Diffstat (limited to 'pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java')
-rw-r--r--pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java98
1 files changed, 0 insertions, 98 deletions
diff --git a/pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java b/pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java
deleted file mode 100644
index 1b729b70f..000000000
--- a/pki/base/console/src/com/netscape/admin/certsrv/wizard/IWizardPanel.java
+++ /dev/null
@@ -1,98 +0,0 @@
-// --- BEGIN COPYRIGHT BLOCK ---
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; version 2 of the License.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this program; if not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-//
-// (C) 2007 Red Hat, Inc.
-// All rights reserved.
-// --- END COPYRIGHT BLOCK ---
-package com.netscape.admin.certsrv.wizard;
-
-import javax.swing.*;
-
-/**
- * Interface for WizardWidget delegation.<p>
- * The methods will be call in the following order: <br>
- * <pre>
- * initialize(WizardInfo);
- * validate();
- * conclude(WizardInfo);
- * getUpdateInfo(WizardInfo);
- * </pre>
- * For example, you can assume the WizardPanel is validated already
- * when getUpdateInfo() is called.<p>
- * REMEMBER TO SET THE ERROR WHEN ERROR OCCURRED!<p>
- *
- * @author jpanchen
- * @version %I%, %G%
- * @date 12/02/97
- * @see com.netscape.admin.certsrv.wizard
- */
-public interface IWizardPanel {
-
- /**
- * Initialize the panel. Data are passed in
- * as WinzardInfo. Class implements this interface is responsible
- * for maintaining the state information. Usually, you just
- * need to have a dummy function if you are not using
- * information provided by the previous screen to config/generate
- * this screen. If error occurred, return false and set error
- * message to be retrieved by getErrorMessage().
- * @return true if ok; otherwise, false.
- */
- public abstract boolean initializePanel(WizardInfo info);
-
- /**
- * Verify the panel. The implementation should check for
- * errors at this time. If error found, return false, and
- * set error message to be retrieved by getErrorMessage().
- * @return true if ok; otherwise, false.
- */
- public abstract boolean validatePanel();
-
- /**
- * Performs post processing. This function is call after
- * the panel is verified.
- * Ususally the LAST IWizardPanel use this method to perform
- * save/update operation on the server via cgi/rmi/ldap.
- * Similar to validate(), if error found, return false and
- * set error message to be retrieved by getErrorMessage().
- * @return true if ok; otherwise, false.
- */
- public abstract boolean concludePanel(WizardInfo info);
-
- /**
- * Save panel information into the WizardInfo to be passed
- * on to the next screen.
- */
- public abstract void getUpdateInfo(WizardInfo info);
-
- /**
- * Error Message delegation. This method should return
- * an I18N supported string detailing the error.
- * @return string represenation of error
- */
- public abstract String getErrorMessage();
-
- /**
- * Display Help for this page
- */
- public abstract void callHelp();
-
- /**
- * Get title for this page
- */
- public abstract String getTitle();
-
- public boolean isLastPage();
-
-}