|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
com.gisgraphy.webapp.action.BaseAction
com.gisgraphy.webapp.action.SignupAction
public class SignupAction
Action to allow new users to sign up.
Field Summary |
---|
Fields inherited from class com.gisgraphy.webapp.action.BaseAction |
---|
CANCEL, delete, from, log, mailEngine, mailMessage, roleManager, save, templateName, userManager |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
SignupAction()
|
Method Summary | |
---|---|
String |
doDefault()
Returns "input" |
String |
execute()
When method=GET, "input" is returned. |
User |
getUser()
Return an instance of the user - to display when validation errors occur |
String |
save()
Save the user, encrypting their passwords if necessary |
void |
setCancel(String cancel)
|
void |
setUser(User user)
|
Methods inherited from class com.gisgraphy.webapp.action.BaseAction |
---|
cancel, getConfiguration, getRequest, getResponse, getSession, saveMessage, sendUserMessage, setDelete, setFrom, setMailEngine, setMailMessage, setRoleManager, setSave, setTemplateName, setUserManager |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignupAction()
Method Detail |
---|
public void setCancel(String cancel)
public void setUser(User user)
public User getUser()
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
public String doDefault()
doDefault
in class com.opensymphony.xwork2.ActionSupport
public String save() throws Exception
Exception
- when bad things happen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |