public final class Constants extends Object
Manifest constants for the MailReader application.
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
Constants() |
public static final String CANCEL
The token representing a "cancel" request.
public static final String CREATE
The token representing a "create" task.
public static final String DATABASE_KEY
The application scope attribute under which our user database is stored.
public static final String DELETE
The token representing a "edit" task.
public static final String EDIT
The token representing a "edit" task.
public static final String PACKAGE
The package name for this application.
public static final String SUBSCRIPTION_KEY
The session scope attribute under which the Subscription object currently selected by our logged-in User is stored.
public static final String USER_KEY
The session scope attribute under which the User object for the currently logged in user is stored.
public static final String HOST
The token representing the "Host" property.
public static final String ERROR_MESSAGES_NOT_LOADED
A static message in case message resource is not loaded.
public static final String ERROR_DATABASE_NOT_LOADED
A static message in case database resource is not loaded.
public static final String ERROR_DATABASE_MISSING
A standard key from the message resources file, to test if it is available.
public static final String EXPIRED_PASSWORD_EXCEPTION
A "magic" username to trigger an ExpiredPasswordException for testing.
public static final String PASSWORD_MISMATCH_FIELD
Name of field to associate with authentification errors.
public static final String LOG_DATABASE_SAVE_ERROR
Message to log if saving a user fails.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.