public class Registration extends MailreaderSupport
Insert or update a User object to the persistent store.
log| Constructor and Description |
|---|
Registration() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Insert or update a User object to the persistent store.
|
String |
input()
Retrieve User object to edit or null if User does not exist.
|
String |
save()
Insert or update a Registration.
|
cancel, copySubscription, copySubscription, copyUser, copyUser, createInputSubscription, createInputUser, createSubscription, createUser, findSubscription, findSubscription, findUser, getApplication, getDatabase, getHost, getPassword, getPassword2, getSession, getSubscription, getSubscriptionHost, getTask, getToken, getUser, getUsername, removeSubscription, saveUser, setApplication, setDatabase, setHost, setPassword, setPassword2, setSession, setSubscription, setTask, setToken, setUser, setUsernameaddActionError, 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validatepublic String input() throws Exception
Retrieve User object to edit or null if User does not exist.
input in class com.opensymphony.xwork2.ActionSupportException - on any errorpublic String save() throws Exception
Insert or update a Registration.
Exception - on any errorpublic String execute() throws Exception
Insert or update a User object to the persistent store.
If a User is not logged in, then a new User is created and automatically logged in. Otherwise, the existing User is updated.
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException - on any errorCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.