com.netscape.cms.servlet.csadmin
Class DonePanel

java.lang.Object
  extended by com.netscape.cms.servlet.csadmin.WizardPanelBase
      extended by com.netscape.cms.servlet.csadmin.DonePanel
All Implemented Interfaces:
IWizardPanel

public class DonePanel
extends WizardPanelBase


Field Summary
static java.math.BigInteger BIG_ZERO
           
static java.lang.Long MINUS_ONE
           
static java.lang.String PKI_SECURITY_DOMAIN
           
static java.lang.String RESTART_SERVER_AFTER_CONFIGURATION
           
 
Fields inherited from class com.netscape.cms.servlet.csadmin.WizardPanelBase
AUTH_FAILURE, CONF_CA_CERT, CONF_CA_CERTNICKNAME, CONF_CA_CERTREQ, FAILURE, PCERT_PREFIX, PRE_CA_TYPE, PRE_CONF_ADMIN_NAME, PRE_CONF_AGENT_GROUP, PRE_CONF_CA_TOKEN, PRE_OTHER_CA, PRE_ROOT_CA, SUCCESS
 
Constructor Summary
DonePanel()
           
 
Method Summary
 void cleanUp()
          Cleans up this panel so that isPanelDone() will return false.
 void display(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
          Display the panel.
 void displayError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
          If validiate() returns false, this method will be called.
 PropertySet getUsage()
           
 boolean hasSubPanel()
          has subPanels?
 void init(javax.servlet.ServletConfig config, int panelno)
          Initializes this panel.
 void init(WizardServlet servlet, javax.servlet.ServletConfig config, int panelno, java.lang.String id)
           
 void update(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
          Commit parameter changes
 void validate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
          Checks if the given parameters are valid.
 
Methods inherited from class com.netscape.cms.servlet.csadmin.WizardPanelBase
authenticate, deleteCert, deleteEntries, deleteEntry, getCertChainUsingSecureAdminPort, getCertChainUsingSecureEEPort, getDomainXML, getHttpResponse, getHttpResponse, getId, getLocale, getMasterUrlListFromSecurityDomain, getName, getNickname, getPanelNo, getPort, getSecurityDomainAdminPort, getSecurityDomainPort, getSubsystemCert, getSubsystemCount, getTokenInfo, getUrlListFromSecurityDomain, importCertChain, isLoopbackPanel, isPanelDone, isSDHostDomainMaster, isSubPanel, pingCS, reloginSecurityDomain, setId, setName, setPanelNo, shouldSkip, showApplyButton, toLowerCaseSubsystemType, updateCertChain, updateCertChain, updateCertChainUsingSecureEEPort, updateConfigEntries, updateConnectorInfo, updateDomainXML, updateNumberRange, updateOCSPConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIG_ZERO

public static final java.math.BigInteger BIG_ZERO

MINUS_ONE

public static final java.lang.Long MINUS_ONE

RESTART_SERVER_AFTER_CONFIGURATION

public static final java.lang.String RESTART_SERVER_AFTER_CONFIGURATION
See Also:
Constant Field Values

PKI_SECURITY_DOMAIN

public static final java.lang.String PKI_SECURITY_DOMAIN
See Also:
Constant Field Values
Constructor Detail

DonePanel

public DonePanel()
Method Detail

init

public void init(javax.servlet.ServletConfig config,
                 int panelno)
          throws javax.servlet.ServletException
Initializes this panel.

Specified by:
init in interface IWizardPanel
Overrides:
init in class WizardPanelBase
Throws:
javax.servlet.ServletException

init

public void init(WizardServlet servlet,
                 javax.servlet.ServletConfig config,
                 int panelno,
                 java.lang.String id)
          throws javax.servlet.ServletException
Specified by:
init in interface IWizardPanel
Overrides:
init in class WizardPanelBase
Throws:
javax.servlet.ServletException

hasSubPanel

public boolean hasSubPanel()
Description copied from class: WizardPanelBase
has subPanels?

Specified by:
hasSubPanel in interface IWizardPanel
Overrides:
hasSubPanel in class WizardPanelBase

cleanUp

public void cleanUp()
             throws java.io.IOException
Description copied from class: WizardPanelBase
Cleans up this panel so that isPanelDone() will return false.

Specified by:
cleanUp in interface IWizardPanel
Overrides:
cleanUp in class WizardPanelBase
Throws:
java.io.IOException

getUsage

public PropertySet getUsage()
Specified by:
getUsage in interface IWizardPanel
Overrides:
getUsage in class WizardPanelBase

display

public void display(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    org.apache.velocity.context.Context context)
Display the panel.

Specified by:
display in interface IWizardPanel
Overrides:
display in class WizardPanelBase

validate

public void validate(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     org.apache.velocity.context.Context context)
              throws java.io.IOException
Checks if the given parameters are valid.

Specified by:
validate in interface IWizardPanel
Overrides:
validate in class WizardPanelBase
Throws:
java.io.IOException

update

public void update(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   org.apache.velocity.context.Context context)
            throws java.io.IOException
Commit parameter changes

Specified by:
update in interface IWizardPanel
Overrides:
update in class WizardPanelBase
Throws:
java.io.IOException

displayError

public void displayError(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         org.apache.velocity.context.Context context)
If validiate() returns false, this method will be called.

Specified by:
displayError in interface IWizardPanel
Overrides:
displayError in class WizardPanelBase