mailreader2
Class Constants

java.lang.Object
  extended by mailreader2.Constants

public final class Constants
extends Object

Manifest constants for the MailReader application.


Field Summary
static String CANCEL
           The token representing a "cancel" request.
static String CREATE
           The token representing a "create" task.
static String DATABASE_KEY
           The application scope attribute under which our user database is stored.
static String DELETE
           The token representing a "edit" task.
static String EDIT
           The token representing a "edit" task.
static String ERROR_DATABASE_MISSING
           A standard key from the message resources file, to test if it is available.
static String ERROR_DATABASE_NOT_LOADED
           A static message in case database resource is not loaded.
static String ERROR_MESSAGES_NOT_LOADED
           A static message in case message resource is not loaded.
static String EXPIRED_PASSWORD_EXCEPTION
           A "magic" username to trigger an ExpiredPasswordException for testing.
static String HOST
          The token representing the "Host" property.
static String LOG_DATABASE_SAVE_ERROR
           Message to log if saving a user fails.
static String PACKAGE
           The package name for this application.
static String PASSWORD_MISMATCH_FIELD
           Name of field to associate with authentification errors.
static String SUBSCRIPTION_KEY
           The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.
static String USER_KEY
           The session scope attribute under which the User object for the currently logged in user is stored.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANCEL

public static final String CANCEL

The token representing a "cancel" request.

See Also:
Constant Field Values

CREATE

public static final String CREATE

The token representing a "create" task.

See Also:
Constant Field Values

DATABASE_KEY

public static final String DATABASE_KEY

The application scope attribute under which our user database is stored.

See Also:
Constant Field Values

DELETE

public static final String DELETE

The token representing a "edit" task.

See Also:
Constant Field Values

EDIT

public static final String EDIT

The token representing a "edit" task.

See Also:
Constant Field Values

PACKAGE

public static final String PACKAGE

The package name for this application.

See Also:
Constant Field Values

SUBSCRIPTION_KEY

public static final String SUBSCRIPTION_KEY

The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.

See Also:
Constant Field Values

USER_KEY

public static final String USER_KEY

The session scope attribute under which the User object for the currently logged in user is stored.

See Also:
Constant Field Values

HOST

public static final String HOST

The token representing the "Host" property.

See Also:
Constant Field Values

ERROR_MESSAGES_NOT_LOADED

public static final String ERROR_MESSAGES_NOT_LOADED

A static message in case message resource is not loaded.

See Also:
Constant Field Values

ERROR_DATABASE_NOT_LOADED

public static final String ERROR_DATABASE_NOT_LOADED

A static message in case database resource is not loaded.

See Also:
Constant Field Values

ERROR_DATABASE_MISSING

public static final String ERROR_DATABASE_MISSING

A standard key from the message resources file, to test if it is available.

See Also:
Constant Field Values

EXPIRED_PASSWORD_EXCEPTION

public static final String EXPIRED_PASSWORD_EXCEPTION

A "magic" username to trigger an ExpiredPasswordException for testing.

See Also:
Constant Field Values

PASSWORD_MISMATCH_FIELD

public static final String PASSWORD_MISMATCH_FIELD

Name of field to associate with authentification errors.

See Also:
Constant Field Values

LOG_DATABASE_SAVE_ERROR

public static final String LOG_DATABASE_SAVE_ERROR

Message to log if saving a user fails.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


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