|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
mailreader2.MailreaderSupport
mailreader2.Registration
public class Registration
Insert or update a User object to the persistent store.
| Field Summary |
|---|
| Fields inherited from class mailreader2.MailreaderSupport |
|---|
log |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
Registration()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class mailreader2.MailreaderSupport |
|---|
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, setUsername |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, 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, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Registration()
| Method Detail |
|---|
public 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 error
public String save()
throws Exception
Insert or update a Registration.
Exception - on any error
public 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 error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||