net.jspcontrols.dialogs.samples.wizardaction.rules
Class StepDetails

java.lang.Object
  extended bynet.jspcontrols.wizard.impl.WizardStep
      extended bynet.jspcontrols.dialogs.samples.wizardaction.rules.StepDetails
All Implemented Interfaces:
IWizardStep

public class StepDetails
extends WizardStep

Personalization node of Signup wizard. This is the second and optional node of the wizard, allows a user to provide additional information like favorite book and favorite movie


Field Summary
 
Fields inherited from class net.jspcontrols.wizard.impl.WizardStep
incomingTransition, stateName, wizard
 
Constructor Summary
StepDetails(SignupWizard value, java.lang.String name)
          Creates Personalization node
 
Method Summary
 java.lang.String getSecurityAnswer()
          Returns user favorite book as part of personalization information, only if the Personalization node is included in the actual path of the wizard.
 int getSecurityAnswerId()
          Returns id of security question
 java.lang.String getSecurityQuestion()
          Returns security question as string
 java.lang.String[] getSecurityQuestions()
           
 void resetBooleans()
          Instructs the node to clear boolean values.
 void setSecurityAnswer(java.lang.String securityAnswer)
          Sets the favorite book as part of personalization information.
 void setSecurityAnswerId(int securityAnswerId)
          Sets security answer id
 
Methods inherited from class net.jspcontrols.wizard.impl.WizardStep
addOutgoingTransition, checkTraverseBack, getIncomingTransition, getOutgoingTransition, getOutgoingTransitions, getStateName, getWizard, isCheckpoint, isStateInPath, setCheckpoint, setIncomingTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepDetails

public StepDetails(SignupWizard value,
                   java.lang.String name)
Creates Personalization node

Parameters:
value - owner wizard object, used to reference wizard-wide objects, like error messages
name - name of this node
Method Detail

getSecurityAnswer

public java.lang.String getSecurityAnswer()
Returns user favorite book as part of personalization information, only if the Personalization node is included in the actual path of the wizard.

Returns:
favorite book

getSecurityAnswerId

public int getSecurityAnswerId()
Returns id of security question


getSecurityQuestion

public java.lang.String getSecurityQuestion()
Returns security question as string


getSecurityQuestions

public java.lang.String[] getSecurityQuestions()

resetBooleans

public void resetBooleans()
Instructs the node to clear boolean values. Usually called before the properties are about to be updated.


setSecurityAnswer

public void setSecurityAnswer(java.lang.String securityAnswer)
Sets the favorite book as part of personalization information. This method is not to be called by client.

Parameters:
securityAnswer - favorite user book

setSecurityAnswerId

public void setSecurityAnswerId(int securityAnswerId)
Sets security answer id

Parameters:
securityAnswerId - security answer id