com.netscape.cms.servlet.csadmin
Class CreateSubsystemPanel

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

public class CreateSubsystemPanel
extends WizardPanelBase


Field Summary
 
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
CreateSubsystemPanel()
           
 
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()
           
 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)
           
 boolean isPanelDone()
          Is this panel done
 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, hasSubPanel, importCertChain, isLoopbackPanel, 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
 

Constructor Detail

CreateSubsystemPanel

public CreateSubsystemPanel()
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

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

isPanelDone

public boolean isPanelDone()
Description copied from class: WizardPanelBase
Is this panel done

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

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