com.scooterframework.admin
Class Constants

java.lang.Object
  extended by com.scooterframework.admin.Constants

public class Constants
extends java.lang.Object

Constants class holds some constants.


Field Summary
static java.lang.String ACTION
           
static java.lang.String AJAX_REQUEST
           
static java.lang.String ALLOW_CLASSWORK
           
static java.lang.String APP_KEY_APPLICATION_CONTEXT_NAME
           
static java.lang.String APP_KEY_APPLICATION_DATABASE_NAME
           
static java.lang.String APP_KEY_APPLICATION_ROOT_PATH
           
static java.lang.String APP_KEY_APPLICATION_START_TIME
           
static java.lang.String APP_KEY_JAVA_VERSION
           
static java.lang.String APP_KEY_RUNNING_ENVIRONMENT
           
static java.lang.String APP_KEY_SCOOTER_PROPERTIES
           
static java.lang.String APP_KEY_SCOOTER_VERSION
           
static java.lang.String CONFIGURED_MODE_SCOOTER_APP
           
static java.lang.String CONFIGURED_MODE_SCOOTER_ORM
           
static java.lang.String CONFIGURED_MODE_SCOOTER_WEB
           
static java.lang.String CONTROLLER
           
static java.lang.String CONTROLLER_CLASS
           
static java.lang.String CONTROLLER_PATH
           
static java.lang.String CURRENT_LOCALE
           
static java.lang.String DEFAULT_RESPONSE_FORMAT
          Default value when there is no format derived from request uri.
static java.lang.String ERROR_EXCEPTION
           
static java.lang.String ERROR_MESSAGE
           
static java.lang.String EVENT_COMPILE
           
static java.lang.String FILE_UPLOAD_REQUEST
           
static java.lang.String FILE_UPLOAD_REQUEST_FILES
           
static java.lang.String FLASH_TYPE_ERROR
           
static java.lang.String FLASH_TYPE_NOTICE
           
static java.lang.String FORMAT
           
static java.lang.String HTTP_METHOD
           
static java.lang.String LOCAL_HOST_REMOTE_ADDRESS
           
static java.lang.String LOCAL_HOST_REMOTE_HOST_1
           
static java.lang.String LOCAL_HOST_REMOTE_HOST_2
           
static java.lang.String LOCAL_HOST_URL_PREFIX_1
           
static java.lang.String LOCAL_HOST_URL_PREFIX_2
           
static java.lang.String LOCAL_HOST_URL_PREFIX_3
           
static java.lang.String LOCAL_HOST_URL_PREFIX_4
           
static java.lang.String LOCAL_REQUEST
           
static java.lang.String MODEL
           
static java.lang.String ORG_MORTBAY_JETTY
           
static java.lang.String PAGED
          Http key "paged" indicates whether to use paginator to display a list.
static java.lang.String REQUEST_HEADER
           
static java.lang.String REQUEST_PATH
           
static java.lang.String REQUEST_PATH_KEY
           
static java.lang.String REQUEST_RENDERED
           
static java.lang.String REQUEST_URI
           
static java.lang.String RESOURCE
           
static java.lang.String RUNNING_ENVIRONMENT_DEVELOPMENT
          Default running environment is "DEVELOPMENT".
static java.lang.String RUNNING_ENVIRONMENT_PRODUCTION
           
static java.lang.String RUNNING_ENVIRONMENT_TEST
           
static java.lang.String SITEMESH_FILTERAPPLIED
          The following are keys related to third party library.
static java.lang.String SKIP_PATH
           
static java.lang.String USER_ID_RETRIEVED
           
static java.lang.String USER_ID_VALUE
           
static java.lang.String VALUE_FOR_FILE_UPLOAD_REQUEST
           
static java.lang.String VALUE_FOR_LOCAL_REQUEST
           
 
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

CONTROLLER

public static final java.lang.String CONTROLLER
See Also:
Constant Field Values

CONTROLLER_PATH

public static final java.lang.String CONTROLLER_PATH
See Also:
Constant Field Values

CONTROLLER_CLASS

public static final java.lang.String CONTROLLER_CLASS
See Also:
Constant Field Values

CURRENT_LOCALE

public static final java.lang.String CURRENT_LOCALE
See Also:
Constant Field Values

ACTION

public static final java.lang.String ACTION
See Also:
Constant Field Values

MODEL

public static final java.lang.String MODEL
See Also:
Constant Field Values

FORMAT

public static final java.lang.String FORMAT
See Also:
Constant Field Values

RESOURCE

public static final java.lang.String RESOURCE
See Also:
Constant Field Values

REQUEST_RENDERED

public static final java.lang.String REQUEST_RENDERED
See Also:
Constant Field Values

SKIP_PATH

public static final java.lang.String SKIP_PATH
See Also:
Constant Field Values

REQUEST_HEADER

public static final java.lang.String REQUEST_HEADER
See Also:
Constant Field Values

REQUEST_PATH

public static final java.lang.String REQUEST_PATH
See Also:
Constant Field Values

REQUEST_PATH_KEY

public static final java.lang.String REQUEST_PATH_KEY
See Also:
Constant Field Values

REQUEST_URI

public static final java.lang.String REQUEST_URI
See Also:
Constant Field Values

LOCAL_REQUEST

public static final java.lang.String LOCAL_REQUEST
See Also:
Constant Field Values

FILE_UPLOAD_REQUEST

public static final java.lang.String FILE_UPLOAD_REQUEST
See Also:
Constant Field Values

FILE_UPLOAD_REQUEST_FILES

public static final java.lang.String FILE_UPLOAD_REQUEST_FILES
See Also:
Constant Field Values

USER_ID_RETRIEVED

public static final java.lang.String USER_ID_RETRIEVED
See Also:
Constant Field Values

USER_ID_VALUE

public static final java.lang.String USER_ID_VALUE
See Also:
Constant Field Values

ERROR_MESSAGE

public static final java.lang.String ERROR_MESSAGE
See Also:
Constant Field Values

ERROR_EXCEPTION

public static final java.lang.String ERROR_EXCEPTION
See Also:
Constant Field Values

FLASH_TYPE_ERROR

public static final java.lang.String FLASH_TYPE_ERROR
See Also:
Constant Field Values

FLASH_TYPE_NOTICE

public static final java.lang.String FLASH_TYPE_NOTICE
See Also:
Constant Field Values

CONFIGURED_MODE_SCOOTER_WEB

public static final java.lang.String CONFIGURED_MODE_SCOOTER_WEB
See Also:
Constant Field Values

CONFIGURED_MODE_SCOOTER_APP

public static final java.lang.String CONFIGURED_MODE_SCOOTER_APP
See Also:
Constant Field Values

CONFIGURED_MODE_SCOOTER_ORM

public static final java.lang.String CONFIGURED_MODE_SCOOTER_ORM
See Also:
Constant Field Values

ALLOW_CLASSWORK

public static final java.lang.String ALLOW_CLASSWORK
See Also:
Constant Field Values

DEFAULT_RESPONSE_FORMAT

public static final java.lang.String DEFAULT_RESPONSE_FORMAT
Default value when there is no format derived from request uri.

See Also:
Constant Field Values

RUNNING_ENVIRONMENT_DEVELOPMENT

public static final java.lang.String RUNNING_ENVIRONMENT_DEVELOPMENT
Default running environment is "DEVELOPMENT".

See Also:
Constant Field Values

RUNNING_ENVIRONMENT_TEST

public static final java.lang.String RUNNING_ENVIRONMENT_TEST
See Also:
Constant Field Values

RUNNING_ENVIRONMENT_PRODUCTION

public static final java.lang.String RUNNING_ENVIRONMENT_PRODUCTION
See Also:
Constant Field Values

HTTP_METHOD

public static final java.lang.String HTTP_METHOD
See Also:
Constant Field Values

AJAX_REQUEST

public static final java.lang.String AJAX_REQUEST
See Also:
Constant Field Values

SITEMESH_FILTERAPPLIED

public static final java.lang.String SITEMESH_FILTERAPPLIED
The following are keys related to third party library.

See Also:
Constant Field Values

ORG_MORTBAY_JETTY

public static final java.lang.String ORG_MORTBAY_JETTY
See Also:
Constant Field Values

PAGED

public static final java.lang.String PAGED
Http key "paged" indicates whether to use paginator to display a list. If "paged=true", a paginator should be used.

See Also:
Constant Field Values

APP_KEY_JAVA_VERSION

public static final java.lang.String APP_KEY_JAVA_VERSION
See Also:
Constant Field Values

APP_KEY_SCOOTER_VERSION

public static final java.lang.String APP_KEY_SCOOTER_VERSION
See Also:
Constant Field Values

APP_KEY_RUNNING_ENVIRONMENT

public static final java.lang.String APP_KEY_RUNNING_ENVIRONMENT
See Also:
Constant Field Values

APP_KEY_APPLICATION_START_TIME

public static final java.lang.String APP_KEY_APPLICATION_START_TIME
See Also:
Constant Field Values

APP_KEY_APPLICATION_ROOT_PATH

public static final java.lang.String APP_KEY_APPLICATION_ROOT_PATH
See Also:
Constant Field Values

APP_KEY_APPLICATION_CONTEXT_NAME

public static final java.lang.String APP_KEY_APPLICATION_CONTEXT_NAME
See Also:
Constant Field Values

APP_KEY_APPLICATION_DATABASE_NAME

public static final java.lang.String APP_KEY_APPLICATION_DATABASE_NAME
See Also:
Constant Field Values

APP_KEY_SCOOTER_PROPERTIES

public static final java.lang.String APP_KEY_SCOOTER_PROPERTIES
See Also:
Constant Field Values

LOCAL_HOST_URL_PREFIX_1

public static final java.lang.String LOCAL_HOST_URL_PREFIX_1
See Also:
Constant Field Values

LOCAL_HOST_URL_PREFIX_2

public static final java.lang.String LOCAL_HOST_URL_PREFIX_2
See Also:
Constant Field Values

LOCAL_HOST_URL_PREFIX_3

public static final java.lang.String LOCAL_HOST_URL_PREFIX_3
See Also:
Constant Field Values

LOCAL_HOST_URL_PREFIX_4

public static final java.lang.String LOCAL_HOST_URL_PREFIX_4
See Also:
Constant Field Values

LOCAL_HOST_REMOTE_ADDRESS

public static final java.lang.String LOCAL_HOST_REMOTE_ADDRESS
See Also:
Constant Field Values

LOCAL_HOST_REMOTE_HOST_1

public static final java.lang.String LOCAL_HOST_REMOTE_HOST_1
See Also:
Constant Field Values

LOCAL_HOST_REMOTE_HOST_2

public static final java.lang.String LOCAL_HOST_REMOTE_HOST_2
See Also:
Constant Field Values

VALUE_FOR_FILE_UPLOAD_REQUEST

public static final java.lang.String VALUE_FOR_FILE_UPLOAD_REQUEST
See Also:
Constant Field Values

VALUE_FOR_LOCAL_REQUEST

public static final java.lang.String VALUE_FOR_LOCAL_REQUEST
See Also:
Constant Field Values

EVENT_COMPILE

public static final java.lang.String EVENT_COMPILE
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()