A B C D E F G I L M O P S U

A

authenticate(String, String) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Authenticate the specified logon credentials, returning a corresponding User if they are valid or null otherwise.

B

bootstrap() - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Bootstrap the contents of the database, if necessary.

C

cancel() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Cancel saving the updated subscription information.
cancel() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Cancel saving the updated user information.
createSubscription(Subscription) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Add the specified Subscription to the persistent database.
createUser(User) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Add the specified User (and any associated child Subscriptions) to the persistent database.

D

deleteSubscription(Subscription) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Delete the specified Subscription from the persistent database.
deleteUser(User) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Delete the specified User (and any associated child Subscriptions) from the persistent database.
destroy() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Release resources used during this request.
destroy() - Method in class org.apache.shale.examples.mailreaderjpa.Logic
On application shutdown, close the entity manager factory.
destroy() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Release resources used during this request.
Detail - Class in org.apache.shale.examples.mailreaderjpa
Backing bean for the /detail.jsp view.
Detail() - Constructor for class org.apache.shale.examples.mailreaderjpa.Detail
 
Domains - Class in org.apache.shale.examples.mailreaderjpa
Application scope bean containing cached domain lists and other application wide information.
Domains() - Constructor for class org.apache.shale.examples.mailreaderjpa.Domains
 

E

edit() - Method in class org.apache.shale.examples.mailreaderjpa.MainMenu
Handle a request to edit the current user data.

F

findProtocolById(int) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Return the Protocol with the specified id, if any; otherwise, return null.
findSubscriptionById(int) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Return the Subscription with the specified id, if any; otherwise, return null.
findUserById(int) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Return the User with the specified id, if any; otherwise, return null.
findUserByUsername(String) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Return the User with the specified username, if any; otherwise, return null.

G

getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.examples.mailreaderjpa.ProtocolConverter
Return the Protocol instance corresponding to the specified string representation.
getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.examples.mailreaderjpa.ProtocolConverter
Return the string representation of the specified Protocol value.
getDomains() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return the Domains for this application.
getLogic() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return the business Logic for this application.
getLogic() - Method in class org.apache.shale.examples.mailreaderjpa.Domains
Return the business Logic for this application.
getLogic() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Return the business Logic for this application.
getLogic() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the business Logic for this application.
getMode() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return the transaction mode (CREATE or EDIT) for this request.
getMode() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the transaction mode (CREATE or EDIT) for this request.
getPassword() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
 
getPassword() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the specified password.
getPassword2() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the confirmation password.
getProtocols() - Method in class org.apache.shale.examples.mailreaderjpa.Domains
Return an array of select items for valid protocols.
getProtocols() - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Return a List of the valid Protocols for this application.
getState() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return the per-user State instance we are associated with.
getState() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Return the per-user State instance we are associated with.
getState() - Method in class org.apache.shale.examples.mailreaderjpa.MainMenu
Return the per-user State instance we are associated with.
getState() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the per-user State instance we are associated with.
getSubscription() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return the Subscription instance we are creating or editing.
getUser() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Return the User instance we are creating or editing.
getUser() - Method in class org.apache.shale.examples.mailreaderjpa.State
 
getUsername() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
 

I

init() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Initialize primary key and transaction mode from the request URI, if specified.
init() - Method in class org.apache.shale.examples.mailreaderjpa.Domains
Initialize the profiles list from the database.
init() - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Log initialization of this business logic bean.
init() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Initialize transaction mode from the request URI, if specified.
isReadOnly() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Return true if the input fields should be rendered as read only.

L

Logic - Class in org.apache.shale.examples.mailreaderjpa
Business logic for this example application.
Logic() - Constructor for class org.apache.shale.examples.mailreaderjpa.Logic
 
logoff() - Method in class org.apache.shale.examples.mailreaderjpa.MainMenu
Handle a request to log off of the application.
Logon - Class in org.apache.shale.examples.mailreaderjpa
Backing bean for /logon.jsp view.
Logon() - Constructor for class org.apache.shale.examples.mailreaderjpa.Logon
 
logon() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Handle a request to log this user on.

M

MainMenu - Class in org.apache.shale.examples.mailreaderjpa
Backing bean for the /mainMenu.jsp view.
MainMenu() - Constructor for class org.apache.shale.examples.mailreaderjpa.MainMenu
 
Master - Class in org.apache.shale.examples.mailreaderjpa
Backing bean for the /master.jsp view.
Master() - Constructor for class org.apache.shale.examples.mailreaderjpa.Master
 

O

org.apache.shale.examples.mailreaderjpa - package org.apache.shale.examples.mailreaderjpa
 

P

preprocess() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Restore the User instance we are creating or editing, creating a new one if necessary.
preprocess() - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Ensure that the database content has been bootstrapped before we try to authenticate a user.
preprocess() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Restore the User instance we are creating or editing, creating a new one if necessary.
prerender() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Cache the Subscription instance we are creating or editing, as well as the transaction model
prerender() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Cache the User instance we are creating or editing, as well as the transaction model
ProtocolConverter - Class in org.apache.shale.examples.mailreaderjpa
JSF Converter for mapping between a Protocol and its string representation.
ProtocolConverter() - Constructor for class org.apache.shale.examples.mailreaderjpa.ProtocolConverter
 

S

save() - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Save away the updated subscription information.
save() - Method in class org.apache.shale.examples.mailreaderjpa.Master
Save away the updated user information.
setDomains(Domains) - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Set the Domains for this application.
setId(int) - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Set the primary key of the row to be processed.
setLogic(Logic) - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Set the business Logic for this application.
setLogic(Logic) - Method in class org.apache.shale.examples.mailreaderjpa.Domains
Set the business Logic for this application.
setLogic(Logic) - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Set the business Logic for this application.
setLogic(Logic) - Method in class org.apache.shale.examples.mailreaderjpa.Master
Set the business Logic for this application.
setMode(String) - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Set the transaction mode (CREATE or EDIT) for this request.
setMode(String) - Method in class org.apache.shale.examples.mailreaderjpa.Master
Set the transaction mode (CREATE or EDIT) for this request.
setPassword(String) - Method in class org.apache.shale.examples.mailreaderjpa.Logon
 
setPassword(String) - Method in class org.apache.shale.examples.mailreaderjpa.Master
Set the specified password.
setPassword2(String) - Method in class org.apache.shale.examples.mailreaderjpa.Master
Set the confirmation password.
setState(State) - Method in class org.apache.shale.examples.mailreaderjpa.Detail
Set the per-user State instance we are associated with.
setState(State) - Method in class org.apache.shale.examples.mailreaderjpa.Logon
Set the per-user State instance we are associated with.
setState(State) - Method in class org.apache.shale.examples.mailreaderjpa.MainMenu
Set the per-user State instance we are associated with.
setState(State) - Method in class org.apache.shale.examples.mailreaderjpa.Master
Set the per-user State instance we are associated with.
setUser(User) - Method in class org.apache.shale.examples.mailreaderjpa.State
 
setUsername(String) - Method in class org.apache.shale.examples.mailreaderjpa.Logon
 
State - Class in org.apache.shale.examples.mailreaderjpa
Session scoped state management object for this application.
State() - Constructor for class org.apache.shale.examples.mailreaderjpa.State
 

U

updateSubscription(Subscription) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Update the specified Subscription in the persistent database.
updateUser(User) - Method in class org.apache.shale.examples.mailreaderjpa.Logic
Update the specified User (and any associated child Subscriptions) in the persistent database.

A B C D E F G I L M O P S U

Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.