public class RegisterAction extends BowBaseAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
email |
protected String |
password |
protected String |
repeatPassword |
bookmarkUtils, config, CONTEXT_ACTION_KEY, first, fullTextLine, listId, order, possibleOrder, session, tagLine, UNTRANSLATED_MARKER| Constructor and Description |
|---|
RegisterAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
alreadyRegistered(String email) |
String |
execute()
Registers the new user and sends an email to confirm registration
|
String |
getEmail() |
String |
getPassword() |
String |
getRepeatPassword() |
void |
setEmail(String email) |
void |
setPassword(String password) |
void |
setRepeatPassword(String repeatPassword) |
getBookmarkUtils, getBowProxy, getBowSession, getConfig, getFirst, getFullTextLine, getListId, getOrder, getPossibleOrder, getTagLine, setFirst, setFullTextLine, setListId, setOrder, setSession, setTagLineaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected String email
protected String password
protected String repeatPassword
public String getEmail()
public void setEmail(String email)
email - the email to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String getRepeatPassword()
public void setRepeatPassword(String repeatPassword)
repeatPassword - the repeatPassword to setprotected boolean alreadyRegistered(String email)
email - non null and non blank emailpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportCopyright © 2010–2015 CodeLutin. All rights reserved.