A C D E F G I L M N O P R S T U V

A

ApplicationMapping - Class in org.apache.struts.webapp.example
Implementation of ActionMapping for the Struts example application.
ApplicationMapping() - Constructor for class org.apache.struts.webapp.example.ApplicationMapping
 

C

CheckLogonTag - Class in org.apache.struts.webapp.example
Check for a valid User logged on in the current session.
CheckLogonTag() - Constructor for class org.apache.struts.webapp.example.CheckLogonTag
 
close() - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Finalize access to the underlying persistence layer.
close() - Method in interface org.apache.struts.webapp.example.UserDatabase
Finalize access to the underlying persistence layer.
Constants - Class in org.apache.struts.webapp.example
Manifest constants for the example application.
Constants() - Constructor for class org.apache.struts.webapp.example.Constants
 
create() - Method in class org.apache.struts.webapp.example.IndexBacking
Forward to the Create Registration action.
create() - Method in class org.apache.struts.webapp.example.RegistrationBacking
Create a new subscription.
createSubscription(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
Create and return a new Subscription associated with this User, for the specified host name.
createSubscription(String) - Method in interface org.apache.struts.webapp.example.User
Create and return a new Subscription associated with this User, for the specified host name.
createUser(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Create and return a new User defined in this user database.
createUser(String) - Method in interface org.apache.struts.webapp.example.UserDatabase
Create and return a new User defined in this user database.

D

DATABASE_KEY - Static variable in class org.apache.struts.webapp.example.Constants
The application scope attribute under which our user database is stored.
delete() - Method in class org.apache.struts.webapp.example.RegistrationBacking
Delete an existing subscription.
destroy() - Method in class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
Gracefully shut down this database, releasing any resources that were allocated at initialization.
doEndTag() - Method in class org.apache.struts.webapp.example.CheckLogonTag
Perform our logged-in user check by looking for the existence of a session scope bean under the specified name.
doEndTag() - Method in class org.apache.struts.webapp.example.LinkUserTag
Render the end of the hyperlink.
doStartTag() - Method in class org.apache.struts.webapp.example.CheckLogonTag
Defer our checking until the end of this tag is encountered.
doStartTag() - Method in class org.apache.struts.webapp.example.LinkUserTag
Render the beginning of the hyperlink.

E

edit() - Method in class org.apache.struts.webapp.example.MainMenuBacking
Forward to the Edit Registration action.
edit() - Method in class org.apache.struts.webapp.example.RegistrationBacking
Edit an existing subscription.
EditRegistrationAction - Class in org.apache.struts.webapp.example
Implementation of Action that populates an instance of RegistrationForm from the profile of the currently logged on User (if any).
EditRegistrationAction() - Constructor for class org.apache.struts.webapp.example.EditRegistrationAction
 
EditSubscriptionAction - Class in org.apache.struts.webapp.example
Implementation of Action that populates an instance of SubscriptionForm from the currently specified subscription.
EditSubscriptionAction() - Constructor for class org.apache.struts.webapp.example.EditSubscriptionAction
 
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.EditRegistrationAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.EditSubscriptionAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.LogoffAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.LogonAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.SaveRegistrationAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.webapp.example.SaveSubscriptionAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
ExpiredPasswordException - Exception in org.apache.struts.webapp.example
Example of an application-specific exception for which a handler can be configured.
ExpiredPasswordException(String) - Constructor for exception org.apache.struts.webapp.example.ExpiredPasswordException
Construct a new instance of this exception for the specified username.

F

findSubscription(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
Find and return the Subscription associated with the specified host.
findSubscription(String) - Method in interface org.apache.struts.webapp.example.User
Find and return the Subscription associated with the specified host.
findUser(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Return the existing User with the specified username, if any; otherwise return null.
findUser(String) - Method in interface org.apache.struts.webapp.example.UserDatabase
Return the existing User with the specified username, if any; otherwise return null.
findUsers() - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Return the set of Users defined in this user database.
findUsers() - Method in interface org.apache.struts.webapp.example.UserDatabase
Return the set of Users defined in this user database.

G

getAction() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the maintenance action.
getAction() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the maintenance action.
getAutoConnect() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
getAutoConnect() - Method in interface org.apache.struts.webapp.example.Subscription
Return the auto-connect flag.
getAutoConnect() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the auto-connect flag.
getComponentType() - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
Return the component type for this tag.
getDatabase() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
The UserDatabase with which we are associated.
getDatabase() - Method in interface org.apache.struts.webapp.example.User
Return the UserDatabase with which we are associated.
getFailure() - Method in class org.apache.struts.webapp.example.ApplicationMapping
Return the failure URI for this mapping.
getFromAddress() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
getFromAddress() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the from address.
getFromAddress() - Method in interface org.apache.struts.webapp.example.User
Return the from address.
getFullName() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
getFullName() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the full name.
getFullName() - Method in interface org.apache.struts.webapp.example.User
Return the full name.
getHost() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
The mail host for this subscription.
getHost() - Method in interface org.apache.struts.webapp.example.Subscription
Return the host name.
getHost() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the host name.
getName() - Method in class org.apache.struts.webapp.example.CheckLogonTag
Return the bean name.
getName() - Method in class org.apache.struts.webapp.example.LinkUserTag
Return the attribute name.
getPage() - Method in class org.apache.struts.webapp.example.CheckLogonTag
Return the forward page.
getPage() - Method in class org.apache.struts.webapp.example.LinkUserTag
Return the hyperlink URI.
getPassword() - Method in class org.apache.struts.webapp.example.LogonForm
Return the password.
getPassword() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
getPassword() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
getPassword() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the password.
getPassword() - Method in interface org.apache.struts.webapp.example.Subscription
Return the password.
getPassword() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the password.
getPassword() - Method in interface org.apache.struts.webapp.example.User
Return the password.
getPassword2() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the confirmation password.
getPathname() - Method in class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
 
getPathname() - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
 
getRendererType() - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
Return the renderer type associated with this tag.
getReplyToAddress() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
getReplyToAddress() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the reply to address.
getReplyToAddress() - Method in interface org.apache.struts.webapp.example.User
Return the reply-to address.
getSubscriptions() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
Find and return all Subscriptions associated with this user.
getSubscriptions() - Method in interface org.apache.struts.webapp.example.User
Find and return all Subscriptions associated with this user.
getSuccess() - Method in class org.apache.struts.webapp.example.ApplicationMapping
Return the success URI for this mapping.
getTable() - Method in class org.apache.struts.webapp.example.RegistrationBacking
Return the UIData instance we are bound to.
getType() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
getType() - Method in interface org.apache.struts.webapp.example.Subscription
Return the subscription type.
getType() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the subscription type.
getUser(UserDatabase, String) - Method in class org.apache.struts.webapp.example.LogonAction
Look up the user, throwing an exception to simulate business logic rule exceptions.
getUser() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
The User owning this Subscription.
getUser() - Method in interface org.apache.struts.webapp.example.Subscription
Return the User owning this Subscription.
getUsername() - Method in class org.apache.struts.webapp.example.LogonForm
Return the username.
getUsername() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
getUsername() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
The username (must be unique).
getUsername() - Method in class org.apache.struts.webapp.example.RegistrationForm
Return the username.
getUsername() - Method in interface org.apache.struts.webapp.example.Subscription
Return the username.
getUsername() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return the username.
getUsername() - Method in interface org.apache.struts.webapp.example.User
Return the username.

I

IndexBacking - Class in org.apache.struts.webapp.example
Backing bean for the index.jsp page.
IndexBacking() - Constructor for class org.apache.struts.webapp.example.IndexBacking
 
init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
Initialize and load our initial database from persistent storage.

L

LinkSubscriptionTag - Class in org.apache.struts.webapp.example
Generate a URL-encoded hyperlink to the specified URI, with associated query parameters selecting a specified Subscription.
LinkSubscriptionTag() - Constructor for class org.apache.struts.webapp.example.LinkSubscriptionTag
 
LinkUserTag - Class in org.apache.struts.webapp.example
Generate a URL-encoded hyperlink to the specified URI, with associated query parameters selecting a specified User.
LinkUserTag() - Constructor for class org.apache.struts.webapp.example.LinkUserTag
 
logoff() - Method in class org.apache.struts.webapp.example.MainMenuBacking
Forward to the Logoff action.
LogoffAction - Class in org.apache.struts.webapp.example
Implementation of Action that processes a user logoff.
LogoffAction() - Constructor for class org.apache.struts.webapp.example.LogoffAction
 
logon() - Method in class org.apache.struts.webapp.example.IndexBacking
Forward to the Logon page.
LogonAction - Class in org.apache.struts.webapp.example
Implementation of Action that validates a user logon.
LogonAction() - Constructor for class org.apache.struts.webapp.example.LogonAction
 
LogonForm - Class in org.apache.struts.webapp.example
Form bean for the user profile page.
LogonForm() - Constructor for class org.apache.struts.webapp.example.LogonForm
 

M

MainMenuBacking - Class in org.apache.struts.webapp.example
Backing bean for the mainMenu.jsp page.
MainMenuBacking() - Constructor for class org.apache.struts.webapp.example.MainMenuBacking
 
MemoryDatabasePlugIn - Class in org.apache.struts.webapp.example.memory
MemoryDatabasePlugIn 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.
MemoryDatabasePlugIn() - Constructor for class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
 
MemorySubscription - Class in org.apache.struts.webapp.example.memory
Concrete implementation of Subscription for an in-memory database backed by an XML data file.
MemorySubscription(MemoryUser, String) - Constructor for class org.apache.struts.webapp.example.memory.MemorySubscription
Construct a new Subscription associated with the specified User.
MemoryUser - Class in org.apache.struts.webapp.example.memory
Concrete implementation of User for an in-memory database backed by an XML data file.
MemoryUser(MemoryUserDatabase, String) - Constructor for class org.apache.struts.webapp.example.memory.MemoryUser
Construct a new User associated with the specified UserDatabase.
MemoryUserDatabase - Class in org.apache.struts.webapp.example.memory
Concrete implementation of UserDatabase for an in-memory database backed by an XML data file.
MemoryUserDatabase() - Constructor for class org.apache.struts.webapp.example.memory.MemoryUserDatabase
 
messages - Static variable in class org.apache.struts.webapp.example.LinkUserTag
The message resources for this package.

N

name - Variable in class org.apache.struts.webapp.example.LinkSubscriptionTag
The attribute name.

O

open() - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Initiate access to the underlying persistence layer.
open() - Method in interface org.apache.struts.webapp.example.UserDatabase
Initiate access to the underlying persistence layer.
org.apache.struts.webapp.example - package org.apache.struts.webapp.example
 
org.apache.struts.webapp.example.memory - package org.apache.struts.webapp.example.memory
 

P

Package - Static variable in class org.apache.struts.webapp.example.Constants
The package name for this application.
page - Variable in class org.apache.struts.webapp.example.LinkSubscriptionTag
The context-relative URI.
page - Variable in class org.apache.struts.webapp.example.LinkUserTag
The hyperlink URI.

R

RegistrationBacking - Class in org.apache.struts.webapp.example
Backing bean for the registration.jsp page.
RegistrationBacking() - Constructor for class org.apache.struts.webapp.example.RegistrationBacking
 
RegistrationForm - Class in org.apache.struts.webapp.example
Form bean for the user registration page.
RegistrationForm() - Constructor for class org.apache.struts.webapp.example.RegistrationForm
 
release() - Method in class org.apache.struts.webapp.example.CheckLogonTag
Release any acquired resources.
release() - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
Release resources allocated to this tag instance.
release() - Method in class org.apache.struts.webapp.example.LinkUserTag
Release any acquired resources.
removeSubscription(Subscription) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
Remove the specified Subscription from being associated with this User.
removeSubscription(Subscription) - Method in interface org.apache.struts.webapp.example.User
Remove the specified Subscription from being associated with this User.
removeUser(User) - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Remove the specified User from this database.
removeUser(User) - Method in interface org.apache.struts.webapp.example.UserDatabase
Remove the specified User from this database.
reset(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.LogonForm
Reset all properties to their default values.
reset(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.RegistrationForm
Reset all properties to their default values.
reset(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Reset all properties to their default values.

S

save() - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
Save any pending changes to the underlying persistence layer.
save() - Method in interface org.apache.struts.webapp.example.UserDatabase
Save any pending changes to the underlying persistence layer.
SaveRegistrationAction - Class in org.apache.struts.webapp.example
Implementation of Action that validates and creates or updates the user registration information entered by the user.
SaveRegistrationAction() - Constructor for class org.apache.struts.webapp.example.SaveRegistrationAction
 
SaveSubscriptionAction - Class in org.apache.struts.webapp.example
Implementation of Action that validates and creates or updates the mail subscription entered by the user.
SaveSubscriptionAction() - Constructor for class org.apache.struts.webapp.example.SaveSubscriptionAction
 
setAction(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the maintenance action.
setAction(String) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the maintenance action.
setAutoConnect(boolean) - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
setAutoConnect(boolean) - Method in interface org.apache.struts.webapp.example.Subscription
Set the auto-connect flag.
setAutoConnect(boolean) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the auto-connect flag.
setFailure(String) - Method in class org.apache.struts.webapp.example.ApplicationMapping
Set the failure URI for this mapping.
setFromAddress(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
setFromAddress(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the from address.
setFromAddress(String) - Method in interface org.apache.struts.webapp.example.User
Set the from address.
setFullName(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
setFullName(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the full name.
setFullName(String) - Method in interface org.apache.struts.webapp.example.User
Set the full name.
setHost(String) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the host name.
setName(String) - Method in class org.apache.struts.webapp.example.CheckLogonTag
Set the bean name.
setName(String) - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
 
setName(String) - Method in class org.apache.struts.webapp.example.LinkUserTag
Set the attribute name.
setPage(String) - Method in class org.apache.struts.webapp.example.CheckLogonTag
Set the forward page.
setPage(String) - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
 
setPage(String) - Method in class org.apache.struts.webapp.example.LinkUserTag
Set the hyperlink URI.
setPassword(String) - Method in class org.apache.struts.webapp.example.LogonForm
Set the password.
setPassword(String) - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
setPassword(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
setPassword(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the password.
setPassword(String) - Method in interface org.apache.struts.webapp.example.Subscription
Set the password.
setPassword(String) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the password.
setPassword(String) - Method in interface org.apache.struts.webapp.example.User
Set the password.
setPassword2(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the confirmation password.
setPathname(String) - Method in class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
 
setPathname(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUserDatabase
 
setProperties(UIComponent) - Method in class org.apache.struts.webapp.example.LinkSubscriptionTag
Override attributes set on this tag instance.
setReplyToAddress(String) - Method in class org.apache.struts.webapp.example.memory.MemoryUser
 
setReplyToAddress(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the reply to address.
setReplyToAddress(String) - Method in interface org.apache.struts.webapp.example.User
Set the reply-to address.
setSuccess(String) - Method in class org.apache.struts.webapp.example.ApplicationMapping
Set the success URI for this mapping.
setTable(UIData) - Method in class org.apache.struts.webapp.example.RegistrationBacking
Set the UIData instance we are bound to.
setType(String) - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
setType(String) - Method in interface org.apache.struts.webapp.example.Subscription
Set the subscription type.
setType(String) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the subscription type.
setupCache(ActionServlet, ModuleConfig) - Method in class org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
Cache commonly required data as servlet context attributes.
setUsername(String) - Method in class org.apache.struts.webapp.example.LogonForm
Set the username.
setUsername(String) - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
 
setUsername(String) - Method in class org.apache.struts.webapp.example.RegistrationForm
Set the username.
setUsername(String) - Method in interface org.apache.struts.webapp.example.Subscription
Set the username.
setUsername(String) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Set the username.
Subscription - Interface in org.apache.struts.webapp.example
A Subscription which is stored, along with the associated User, in a UserDatabase.
SUBSCRIPTION_KEY - Static variable in class org.apache.struts.webapp.example.Constants
The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.
SubscriptionForm - Class in org.apache.struts.webapp.example
Form bean for the user profile page.
SubscriptionForm() - Constructor for class org.apache.struts.webapp.example.SubscriptionForm
 

T

testListener(ActionEvent) - Method in class org.apache.struts.webapp.example.IndexBacking
Testing actionListener call
toString() - Method in class org.apache.struts.webapp.example.memory.MemorySubscription
Return a String representation of this object.
toString() - Method in class org.apache.struts.webapp.example.memory.MemoryUser
Return a String representation of this object.
toString() - Method in class org.apache.struts.webapp.example.SubscriptionForm
Return a string representation of this form bean.

U

update() - Method in class org.apache.struts.webapp.example.RegistrationBacking
Update the subscriptions to reflect any revisions to the type and autoConnect properties.
User - Interface in org.apache.struts.webapp.example
A User which is stored, along with his or her associated Subscriptions, in a UserDatabase.
USER_KEY - Static variable in class org.apache.struts.webapp.example.Constants
The session scope attribute under which the User object for the currently logged in user is stored.
UserDatabase - Interface in org.apache.struts.webapp.example
A Data Access Object (DAO) interface describing the available operations for retrieving and storing Users (and their associated Subscriptions) in some persistence layer whose characteristics are not specified here.

V

validate(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.LogonForm
Validate the properties that have been set from this HTTP request, and return an ActionMessages object that encapsulates any validation errors that have been found.
validate(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.RegistrationForm
Validate the properties that have been set from this HTTP request, and return an ActionMessages object that encapsulates any validation errors that have been found.
validate(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.webapp.example.SubscriptionForm
Validate the properties that have been set from this HTTP request, and return an ActionMessages object that encapsulates any validation errors that have been found.

A C D E F G I L M N O P R S T U V

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.