|
|||||||||
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.mailreaderjpa.Master
public class Master
Backing bean for the /master.jsp
view.
Constructor Summary | |
---|---|
Master()
|
Method Summary | |
---|---|
String |
cancel()
Cancel saving the updated user information. |
void |
destroy()
Release resources used during this request. |
Logic |
getLogic()
Return the business Logic for this application. |
String |
getMode()
Return the transaction mode (CREATE or EDIT) for this request. |
String |
getPassword()
Return the specified password. |
String |
getPassword2()
Return the confirmation password. |
State |
getState()
Return the per-user State instance we are associated with. |
org.apache.mailreaderjpa.User |
getUser()
Return the User instance we are creating or editing. |
void |
init()
Initialize transaction mode from the request URI, if specified. |
void |
preprocess()
Restore the User instance we are creating or editing,
creating a new one if necessary. |
void |
prerender()
Cache the User instance we are creating or editing,
as well as the transaction model |
String |
save()
Save away the updated user information. |
void |
setLogic(Logic logic)
Set the business Logic for this application. |
void |
setMode(String mode)
Set the transaction mode (CREATE or EDIT) for this request. |
void |
setPassword(String password)
Set the specified password. |
void |
setPassword2(String password2)
Set the confirmation password. |
void |
setState(State state)
Set the per-user State instance we are associated with. |
Methods inherited from class org.apache.shale.view.AbstractViewController |
---|
isPostBack, 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 Master()
Method Detail |
---|
public Logic getLogic()
Return the business Logic
for this application.
public void setLogic(Logic logic)
Set the business Logic
for this application.
logic
- The new business logic instancepublic String getMode()
Return the transaction mode (CREATE or EDIT) for this request.
public void setMode(String mode)
Set the transaction mode (CREATE or EDIT) for this request.
mode
- The new transaction modepublic State getState()
Return the per-user State
instance we are associated with.
public void setState(State state)
Set the per-user State
instance we are associated with.
state
- The new State instancepublic org.apache.mailreaderjpa.User getUser()
Return the User
instance we are creating or editing.
public String getPassword()
Return the specified password.
public void setPassword(String password)
Set the specified password.
password
- The new specified passwordpublic String getPassword2()
Return the confirmation password.
public void setPassword2(String password2)
Set the confirmation password.
password2
- The new confirmation passwordpublic void init()
Initialize transaction mode from the request URI, if specified.
init
in interface org.apache.shale.view.ViewController
init
in class org.apache.shale.view.AbstractViewController
public void preprocess()
Restore the User
instance we are creating or editing,
creating a new one if necessary.
preprocess
in interface org.apache.shale.view.ViewController
preprocess
in class org.apache.shale.view.AbstractViewController
public void prerender()
Cache the User
instance we are creating or editing,
as well as the transaction model
prerender
in interface org.apache.shale.view.ViewController
prerender
in class org.apache.shale.view.AbstractViewController
public void destroy()
Release resources used during this request.
destroy
in interface org.apache.shale.view.ViewController
destroy
in class org.apache.shale.view.AbstractViewController
public String cancel()
Cancel saving the updated user information.
public String save()
Save away the updated user information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |