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

A

ApplicationListener - Class in org.apache.shale.examples.mailreader
ServletContextListener that initializes and finalizes the persistent storage of User and Subscription information for the Struts Demonstration Application, using an in-memory database backed by an XML file.
ApplicationListener() - Constructor for class org.apache.shale.examples.mailreader.ApplicationListener
 

B

BaseViewController - Class in org.apache.shale.examples.mailreader
Convenience abstract base ViewController for the Mail Reader example application.
BaseViewController() - Constructor for class org.apache.shale.examples.mailreader.BaseViewController
 

C

cancel() - Method in class org.apache.shale.examples.mailreader.Registration
Return to the appropriate page depending on the current mode.
cancel() - Method in class org.apache.shale.examples.mailreader.Subscription
Return to the appropriate page depending on the current mode.
contextDestroyed(ServletContextEvent) - Method in class org.apache.shale.examples.mailreader.ApplicationListener
Gracefully shut down this database, releasing any resources that were allocated at initialization.
contextInitialized(ServletContextEvent) - Method in class org.apache.shale.examples.mailreader.ApplicationListener
Initialize and load our initial database from persistent storage.
create() - Method in class org.apache.shale.examples.mailreader.Index
Set the appropriate mode and forward to the registration page.
create() - Method in class org.apache.shale.examples.mailreader.Registration
Create a new subscription.

D

DATABASE_KEY - Static variable in class org.apache.shale.examples.mailreader.ApplicationListener
Appication scope attribute key under which the in-memory version of our database is stored.
delete() - Method in class org.apache.shale.examples.mailreader.Registration
Delete an existing subscription.
destroy() - Method in class org.apache.shale.examples.mailreader.Registration
Release our reference to to the retrieved subscriptions (if any).

E

edit() - Method in class org.apache.shale.examples.mailreader.MainMenu
Set the appropriate mode and forward to the registration page.
edit() - Method in class org.apache.shale.examples.mailreader.Registration
Edit an existing subscription.

G

getFromAddress() - Method in class org.apache.shale.examples.mailreader.Registration
 
getFullName() - Method in class org.apache.shale.examples.mailreader.Registration
 
getHost() - Method in class org.apache.shale.examples.mailreader.State
 
getHost() - Method in class org.apache.shale.examples.mailreader.Subscription
 
getMode() - Method in class org.apache.shale.examples.mailreader.State
 
getPassword() - Method in class org.apache.shale.examples.mailreader.Logon
 
getPassword() - Method in class org.apache.shale.examples.mailreader.Registration
 
getPassword() - Method in class org.apache.shale.examples.mailreader.Subscription
 
getPassword2() - Method in class org.apache.shale.examples.mailreader.Registration
 
getPathname() - Method in class org.apache.shale.examples.mailreader.ApplicationListener
 
getReplyToAddress() - Method in class org.apache.shale.examples.mailreader.Registration
 
getState() - Method in class org.apache.shale.examples.mailreader.BaseViewController
Return the state saving bean for this user's transaction state.
getSubscriptions() - Method in class org.apache.shale.examples.mailreader.Registration
 
getType() - Method in class org.apache.shale.examples.mailreader.Subscription
 
getUser() - Method in class org.apache.shale.examples.mailreader.State
 
getUserDatabase() - Method in class org.apache.shale.examples.mailreader.BaseViewController
Return the DAO for our user database.
getUsername() - Method in class org.apache.shale.examples.mailreader.Logon
 
getUsername() - Method in class org.apache.shale.examples.mailreader.Registration
 
getUsername() - Method in class org.apache.shale.examples.mailreader.Subscription
 

I

Index - Class in org.apache.shale.examples.mailreader
ViewController for the index page.
Index() - Constructor for class org.apache.shale.examples.mailreader.Index
 
isAutoConnect() - Method in class org.apache.shale.examples.mailreader.Subscription
 

L

logoff() - Method in class org.apache.shale.examples.mailreader.MainMenu
Remove the currently logged user and return to the welcome page.
Logon - Class in org.apache.shale.examples.mailreader
ViewController for the logon page.
Logon() - Constructor for class org.apache.shale.examples.mailreader.Logon
 
logon() - Method in class org.apache.shale.examples.mailreader.Logon
Authenticate this user and proceed based on the results.

M

MainMenu - Class in org.apache.shale.examples.mailreader
ViewController for the index page.
MainMenu() - Constructor for class org.apache.shale.examples.mailreader.MainMenu
 

O

org.apache.shale.examples.mailreader - package org.apache.shale.examples.mailreader
 

P

preprocess() - Method in class org.apache.shale.examples.mailreader.Registration
If this is a postback, and we are in EDIT mode, retrieve the subscriptions for the currently logged on user.
prerender() - Method in class org.apache.shale.examples.mailreader.Registration
If this is not a postback, and we are in EDIT mode, prepopulate the field values for the user registration update form and retrieve the subscriptions for the currently logged in user.
prerender() - Method in class org.apache.shale.examples.mailreader.Subscription
If this is not a postack, and we are in DELETE or EDIT mode, prepopulate the field values for the subscription update form.
PROTOCOLS_KEY - Static variable in class org.apache.shale.examples.mailreader.ApplicationListener
Application scope attribute key under which the valid selection items for the protocol property is stored.

R

Registration - Class in org.apache.shale.examples.mailreader
ViewController for the registration page.
Registration() - Constructor for class org.apache.shale.examples.mailreader.Registration
 

S

save() - Method in class org.apache.shale.examples.mailreader.Registration
Create or update the user information.
save() - Method in class org.apache.shale.examples.mailreader.Subscription
Create or update the user information.
setAutoConnect(boolean) - Method in class org.apache.shale.examples.mailreader.Subscription
 
setFromAddress(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setFullName(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setHost(String) - Method in class org.apache.shale.examples.mailreader.State
 
setHost(String) - Method in class org.apache.shale.examples.mailreader.Subscription
 
setMode(String) - Method in class org.apache.shale.examples.mailreader.State
 
setPassword(String) - Method in class org.apache.shale.examples.mailreader.Logon
 
setPassword(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setPassword(String) - Method in class org.apache.shale.examples.mailreader.Subscription
 
setPassword2(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setPathname(String) - Method in class org.apache.shale.examples.mailreader.ApplicationListener
 
setReplyToAddress(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setSubscriptions(Subscription[]) - Method in class org.apache.shale.examples.mailreader.Registration
 
setType(String) - Method in class org.apache.shale.examples.mailreader.Subscription
 
setUser(User) - Method in class org.apache.shale.examples.mailreader.State
 
setUsername(String) - Method in class org.apache.shale.examples.mailreader.Logon
 
setUsername(String) - Method in class org.apache.shale.examples.mailreader.Registration
 
setUsername(String) - Method in class org.apache.shale.examples.mailreader.Subscription
 
State - Class in org.apache.shale.examples.mailreader
In the absence of a DialogController, provide some properties that can be used to save our state information.
State() - Constructor for class org.apache.shale.examples.mailreader.State
 
Subscription - Class in org.apache.shale.examples.mailreader
ViewController for the subscription page.
Subscription() - Constructor for class org.apache.shale.examples.mailreader.Subscription
 

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

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