org.tigris.scarab.actions
Class Register
java.lang.Object
org.apache.turbine.modules.Module
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.modules.actions.TemplateAction
org.apache.turbine.TemplateAction
org.tigris.scarab.actions.base.ScarabTemplateAction
org.tigris.scarab.actions.Register
- public class Register
- extends ScarabTemplateAction
This class is responsible for dealing with the Register
Action.
- Version:
- $Id: Register.java 9999 2006-01-31 20:39:01Z dabbous $
- Author:
- Jon S. Stevens
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
|
Method Summary |
void |
doBack(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
returns you to Register.vm |
void |
doConfirm(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages clicking the Confirm button in the Confirm.vm
template. |
void |
doConfirmregistration(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
|
void |
doPerform(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
calls doRegisterConfirm() |
void |
doRegister(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages clicking the "Register" button in the Register.vm
template. |
void |
doResendconfirmationcode(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages clicking the "Resend code" button
in the Confirm.vm template. |
(package private) java.lang.String |
parseDomain(java.lang.String email)
For an email address like jon@foo.bar.com, parse
and return the TLD bar.com. |
| Methods inherited from class org.tigris.scarab.actions.base.ScarabTemplateAction |
doCancel, doDone, doGonext, doGotoothertemplate, doRefresh, doRefreshresultsperpage, doReset, doSave, getBackTemplate, getBackTemplate, getCancelTemplate, getCancelTemplate, getCurrentTemplate, getCurrentTemplate, getIntakeTool, getLastTemplate, getLocalizationTool, getNextTemplate, getNextTemplate, getOtherTemplate, getScarabRequestTool, log |
| Methods inherited from class org.apache.turbine.modules.actions.TemplateAction |
doPerform, executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
execute, formatString, perform |
| Methods inherited from class org.apache.turbine.modules.Module |
build, doBuild, doBuildTemplate, doBuildTemplate, evaluate, getPullService, getTemplateContext, getTemplateService, getTool, handleRequest, handleRequest, requestFinished, setTarget, setTemplate, templateExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Register
public Register()
doRegister
public void doRegister(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- This manages clicking the "Register" button in the Register.vm
template. As a result, the user will go to the
RegisterConfirm.vm screen.
- Throws:
java.lang.Exception
doConfirmregistration
public void doConfirmregistration(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
doBack
public void doBack(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- returns you to Register.vm
- Throws:
java.lang.Exception
doPerform
public void doPerform(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- calls doRegisterConfirm()
- Throws:
java.lang.Exception
doConfirm
public void doConfirm(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- This manages clicking the Confirm button in the Confirm.vm
template. As a result, this will end up sending
the user to the Confirm screen.
- Throws:
java.lang.Exception
doResendconfirmationcode
public void doResendconfirmationcode(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
- This manages clicking the "Resend code" button
in the Confirm.vm template.
- Throws:
java.lang.Exception
parseDomain
java.lang.String parseDomain(java.lang.String email)
- For an email address like
jon@foo.bar.com, parse
and return the TLD bar.com.
Copyright © 2000-2004 Tigris.org. All Rights Reserved.