|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.view.AbstractFacesBean org.apache.shale.view.AbstractViewController org.apache.shale.examples.mailreader.BaseViewController org.apache.shale.examples.mailreader.Subscription
public class Subscription
ViewController
for the subscription
page.
Constructor Summary | |
---|---|
Subscription()
|
Method Summary | |
---|---|
String |
cancel()
Return to the appropriate page depending on the current mode. |
String |
getHost()
|
String |
getPassword()
|
String |
getType()
|
String |
getUsername()
|
boolean |
isAutoConnect()
|
void |
prerender()
If this is not a postack, and we are in DELETE or EDIT mode, prepopulate the field values for the subscription update form. |
String |
save()
Create or update the user information. |
void |
setAutoConnect(boolean autoConnect)
|
void |
setHost(String host)
|
void |
setPassword(String password)
|
void |
setType(String type)
|
void |
setUsername(String username)
|
Methods inherited from class org.apache.shale.examples.mailreader.BaseViewController |
---|
getState, getUserDatabase |
Methods inherited from class org.apache.shale.view.AbstractViewController |
---|
destroy, init, isPostBack, preprocess, setPostBack |
Methods inherited from class org.apache.shale.view.AbstractFacesBean |
---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Subscription()
Method Detail |
---|
public boolean isAutoConnect()
public void setAutoConnect(boolean autoConnect)
autoConnect
- The autoConnect to set.public String getHost()
public void setHost(String host)
host
- The host to set.public String getPassword()
public void setPassword(String password)
password
- The password to set.public String getType()
public void setType(String type)
type
- The type to set.public String getUsername()
public void setUsername(String username)
username
- The username to set.public String cancel()
Return to the appropriate page depending on the current mode.
public String save()
Create or update the user information.
public void prerender()
If this is not a postack, and we are in DELETE or EDIT mode, prepopulate the field values for the subscription update form.
prerender
in interface org.apache.shale.view.ViewController
prerender
in class org.apache.shale.view.AbstractViewController
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |