diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java b/pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java index 9d67065d6..d9d3ddec7 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java +++ b/pki/base/common/src/com/netscape/cms/servlet/wizard/IWizardPanel.java @@ -33,10 +33,10 @@ public interface IWizardPanel { /** * Initializes this panel. */ - public void init(ServletConfig config, int panelno) + public void init(ServletConfig config, int panelno) throws ServletException; - public void init(WizardServlet servlet, ServletConfig config, + public void init(WizardServlet servlet, ServletConfig config, int panelno, String id) throws ServletException; public String getName(); @@ -44,7 +44,9 @@ public interface IWizardPanel { public int getPanelNo(); public void setId(String id); + public String getId(); + public PropertySet getUsage(); /** @@ -84,20 +86,22 @@ public interface IWizardPanel { */ public void display(HttpServletRequest request, HttpServletResponse response, - Context context ); + Context context); + /** * Checks if the given parameters are valid. */ public void validate(HttpServletRequest request, HttpServletResponse response, - Context context ) throws IOException; + Context context) throws IOException; /** * Commit parameter changes */ public void update(HttpServletRequest request, HttpServletResponse response, - Context context ) throws IOException; + Context context) throws IOException; + /** * If validiate() returns false, this method will be called. */ |