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 | 23 |
1 files changed, 11 insertions, 12 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..543ef1a35 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,18 +33,19 @@ public interface IWizardPanel { /** * Initializes this panel. */ - public void init(ServletConfig config, int panelno) - throws ServletException; + public void init(ServletConfig config, int panelno) throws ServletException; - public void init(WizardServlet servlet, ServletConfig config, - int panelno, String id) throws ServletException; + public void init(WizardServlet servlet, ServletConfig config, int panelno, + String id) throws ServletException; public String getName(); public int getPanelNo(); public void setId(String id); + public String getId(); + public PropertySet getUsage(); /** @@ -83,25 +84,23 @@ public interface IWizardPanel { * Display the panel. */ public void display(HttpServletRequest request, - HttpServletResponse response, - Context context ); + HttpServletResponse response, Context context); + /** * Checks if the given parameters are valid. */ public void validate(HttpServletRequest request, - HttpServletResponse response, - Context context ) throws IOException; + HttpServletResponse response, Context context) throws IOException; /** * Commit parameter changes */ public void update(HttpServletRequest request, - HttpServletResponse response, - Context context ) throws IOException; + HttpServletResponse response, Context context) throws IOException; + /** * If validiate() returns false, this method will be called. */ public void displayError(HttpServletRequest request, - HttpServletResponse response, - Context context); + HttpServletResponse response, Context context); } |