|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.view.AbstractFacesBean
org.apache.shale.view.AbstractViewController
org.apache.shale.examples.mailreaderjpa.Detail
public class Detail
Backing bean for the /detail.jsp
view.
Constructor Summary | |
---|---|
Detail()
|
Method Summary | |
---|---|
String |
cancel()
Cancel saving the updated subscription information. |
void |
destroy()
Release resources used during this request. |
Domains |
getDomains()
Return the Domains for this application. |
Logic |
getLogic()
Return the business Logic for this application. |
String |
getMode()
Return the transaction mode (CREATE or EDIT) for this request. |
State |
getState()
Return the per-user State instance we are associated with. |
org.apache.mailreaderjpa.Subscription |
getSubscription()
Return the Subscription instance we are creating or editing. |
void |
init()
Initialize primary key and transaction mode from the request URI, if specified. |
boolean |
isReadOnly()
Return true if the input fields should be rendered
as read only. |
void |
preprocess()
Restore the User instance we are creating or editing,
creating a new one if necessary. |
void |
prerender()
Cache the Subscription instance we are creating or editing,
as well as the transaction model |
String |
save()
Save away the updated subscription information. |
void |
setDomains(Domains domains)
Set the Domains for this application. |
void |
setId(int id)
Set the primary key of the row to be processed. |
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 |
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 Detail()
Method Detail |
---|
public Domains getDomains()
Return the Domains
for this application.
public void setDomains(Domains domains)
Set the Domains
for this application.
domains
- The new domains instancepublic void setId(int id)
Set the primary key of the row to be processed.
id
- The new primary keypublic 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 boolean isReadOnly()
Return true
if the input fields should be rendered
as read only.
public 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.Subscription getSubscription()
Return the Subscription
instance we are creating or editing.
public void init()
Initialize primary key and 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 Subscription
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 subscription information.
public String save()
Save away the updated subscription information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |