Index (Struts Apps - Mailreader 1.3.10 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I L M O P R S T U W

## A

AUTO_CONNECT - Static variable in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Name of autoConnect field ["autoConnect"].

## B

BaseAction - Class in org.apache.struts.apps.mailreader.actions
  Base Action for MailReader application.
BaseAction() - Constructor for class org.apache.struts.apps.mailreader.actions.BaseAction

## C

Constants - Class in org.apache.struts.apps.mailreader
  Manifest constants for the MailReader application.
Constants() - Constructor for class org.apache.struts.apps.mailreader.Constants
CREATE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "create" task.

## D

DATABASE_KEY - Static variable in class org.apache.struts.apps.mailreader.Constants
  The application scope attribute under which our user database is stored.
Delete(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Prepare for a Delete operation by populating the form and seting the action to Delete.
DELETE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "edit" task.
destroy() - Method in class org.apache.struts.apps.mailreader.plugin.MemoryDatabasePlugIn
  Gracefully shut down this database, releasing any resources that were allocated at initialization.
doCancel(HttpSession, String, String) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to log event and cancel transaction.
doFindFailure(ActionMapping) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Return the local or global forward named "failure" or null if there is no such forward.
doFindLogon(ActionMapping) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Return the local or global forward named "logon" or null if there is no such forward.
doFindSuccess(ActionMapping) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Return the mapping labeled "success" or null if there is no such mapping.
doGet(ActionForm, String) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to fetch a String property from a DynaActionForm.
doGetSubscription(HttpSession) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Obtain the cached Subscription object, if any.
doGetSubscription(HttpServletRequest) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Obtain the cached Subscription object, if any.
doGetUser(HttpSession) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to obtain User form session (if any).
doGetUser(HttpServletRequest) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to obtain User form session (if any).
doGetUserDatabase() - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Return a reference to the UserDatabase or null if the database is not available.
doInputForward(ActionMapping, HttpServletRequest, ActionMessages) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Save any errors and the transactioonal token, and forward to the InputForard result.
doLogProcess(ActionMapping, String) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Log a "processing" message for an Action.
doSaveToken(HttpServletRequest) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to log event and save token.
doSaveUser(User) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Persist the User object, including subscriptions, to the database.
doSet(ActionForm, String, String) - Method in class org.apache.struts.apps.mailreader.actions.BaseAction
  Helper method to inject a String property into a DynaActionForm.

## E

Edit(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Retrieve the User object to edit or null if the User does not exist, and set an transactional token to later detect multiple Save commands.
Edit(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Retrieve the Subscription object to edit or null if the Subscription does not exist.
EDIT - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "edit" task.
ERROR_DATABASE_NOT_LOADED - Static variable in class org.apache.struts.apps.mailreader.Constants
  A static message in case database resource is not loaded.
ERROR_KEY - Static variable in class org.apache.struts.apps.mailreader.Constants
  The request attributes key under the WelcomeAction stores an ArrayList of error messages, if required resources are missing.
ERROR_MESSAGES_NOT_LOADED - Static variable in class org.apache.struts.apps.mailreader.Constants
  A static message in case message resource is not loaded.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.LocaleAction
  Change the user's Struts `Locale` based on request parameters for "language", "country".
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.LogoffAction
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.LogonAction
  Use "username" and "password" fields from ActionForm to retrieve a User object from the database.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.MainMenuAction
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.WelcomeAction

## F

FAILURE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "failure" result for this application.
FROM_ADDRESS - Static variable in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Name of fromAddress field ["fromAddress"].
FULL_NAME - Static variable in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Name of fullName field ["fullName"].

## G

getPathname() - Method in class org.apache.struts.apps.mailreader.plugin.MemoryDatabasePlugIn

## H

HOST - Static variable in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Name of host field ["host"].

## I

init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.apps.mailreader.plugin.MemoryDatabasePlugIn
  Initialize and load our initial database from persistent storage.

## L

LocaleAction - Class in org.apache.struts.apps.mailreader.actions
  Change user's Struts `Locale`.
LocaleAction() - Constructor for class org.apache.struts.apps.mailreader.actions.LocaleAction
log - Variable in class org.apache.struts.apps.mailreader.actions.BaseAction
  The `Log` instance for this application.
LOG_CANCEL - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when cancelling a transaction.
LOG_FAILURE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when forwarding to a 'failure' result.
LOG_LOGON - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when forwarding to a 'logon' result.
LOG_POPULATE_FORM - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when populating a form.
LOG_POPULATE_SUBSCRIPTION - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when populating a subscription.
LOG_POPULATE_USER - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when populating a user.
LOG_PROCESSING - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when forwarding to a 'success' result.
LOG_RESULT - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when forwarding to a result.
LOG_SUCCESS - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when forwarding to a 'success' result.
LOG_TOKEN - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when setting a transactional token.
LOG_TOKEN_CHECK - Static variable in class org.apache.struts.apps.mailreader.Constants
  The message to log when checking a transactional token.
LogoffAction - Class in org.apache.struts.apps.mailreader.actions
  Log user out of the current session.
LogoffAction() - Constructor for class org.apache.struts.apps.mailreader.actions.LogoffAction
LOGON - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "logon" result for this application.
LogonAction - Class in org.apache.struts.apps.mailreader.actions
  Validate a user logon.
LogonAction() - Constructor for class org.apache.struts.apps.mailreader.actions.LogonAction

## M

MainMenuAction - Class in org.apache.struts.apps.mailreader.actions
  Forward to logon result if user object is missing, otherwise forward to the MainMenu result (success).
MainMenuAction() - Constructor for class org.apache.struts.apps.mailreader.actions.MainMenuAction
MemoryDatabasePlugIn - Class in org.apache.struts.apps.mailreader.plugin
  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.apps.mailreader.plugin.MemoryDatabasePlugIn
MSG_TRANSACTION_TOKEN - Static variable in class org.apache.struts.apps.mailreader.Constants
  The resource key for an error with the transactional token.

## O

org.apache.struts.apps.mailreader - package org.apache.struts.apps.mailreader
org.apache.struts.apps.mailreader.actions - package org.apache.struts.apps.mailreader.actions
org.apache.struts.apps.mailreader.plugin - package org.apache.struts.apps.mailreader.plugin

## P

PACKAGE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The package name for this application.
PASSWORD - Static variable in class org.apache.struts.apps.mailreader.actions.BaseAction
  Name of password field ["password"].
PASSWORD2 - Static variable in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Name of password confirmation field ["password2"].

## R

RegistrationAction - Class in org.apache.struts.apps.mailreader.actions
  Provide an Edit method for retrieving an existing user, and a Save method for updating or inserting a user.
RegistrationAction() - Constructor for class org.apache.struts.apps.mailreader.actions.RegistrationAction
REPLY_TO_ADDRESS - Static variable in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Name of replyToAddress field ["replyToAddress"].

## S

Save(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.RegistrationAction
  Insert or update a User object to the persistent store.
Save(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Insert or update a Subscription object to the persistent store.
SAVE - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "save" task.
setPathname(String) - Method in class org.apache.struts.apps.mailreader.plugin.MemoryDatabasePlugIn
SUBSCRIPTION_KEY - Static variable in class org.apache.struts.apps.mailreader.Constants
  The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.
SubscriptionAction - Class in org.apache.struts.apps.mailreader.actions
  Provide an Edit method for retrieving an existing subscription, and a Save method for updating or inserting a subscription.
SubscriptionAction() - Constructor for class org.apache.struts.apps.mailreader.actions.SubscriptionAction
SUCCESS - Static variable in class org.apache.struts.apps.mailreader.Constants
  The token representing a "success" result for this application.

## T

TASK - Static variable in class org.apache.struts.apps.mailreader.actions.BaseAction
  Name of task field ["task"].
TYPE - Static variable in class org.apache.struts.apps.mailreader.actions.SubscriptionAction
  Name of type field ["type"].

## U

USER_KEY - Static variable in class org.apache.struts.apps.mailreader.Constants
  The session scope attribute under which the User object for the currently logged in user is stored.
USERNAME - Static variable in class org.apache.struts.apps.mailreader.actions.BaseAction
  Name of username field ["username"].

## W

WelcomeAction - Class in org.apache.struts.apps.mailreader.actions
  Confirm required resources are available before displaying initial page.
WelcomeAction() - Constructor for class org.apache.struts.apps.mailreader.actions.WelcomeAction

A B C D E F G H I L M O P R S T U W

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

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