|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.turbine.services.resources.TurbineResources org.apache.jetspeed.services.resources.JetspeedResources
This class defines the Jetspeed properties keys. All properties can be retrieved using TurbineResources or JetspeedResources directly. This class also overrides the covers for many of the get routines. It handles the cases where we want a single value, perhaps as a boolean or float, but the configuration may have an array of values. In these cases, we let the first value override all the others and use it.
Field Summary | |
static java.lang.String |
ADMIN_PASSWORD_KEY
|
static java.lang.String |
ADMIN_PORTLET_NAME_KEY
|
static java.lang.String |
ADMIN_USERNAME_KEY
|
static java.lang.String |
AUTOCREATE_PORTLETS_KEY
|
static java.lang.String |
CACHE_DIRECTORY_KEY
|
static java.lang.String |
CACHE_REQUIRE_CACHED_KEY
|
static java.lang.String |
CHANGE_PASSWORD_TEMPLATE
|
static java.lang.String |
CONFIGURATION_DIRECTORY_KEY
|
static java.lang.String |
CONFIRM_VALUE
|
static java.lang.String |
CONFIRM_VALUE_PENDING
|
static java.lang.String |
CONFIRM_VALUE_REJECTED
|
static java.lang.String |
CONTENT_ENCODING_KEY
|
static java.lang.String |
CONTENT_PROVIDER_LIST_KEY
|
static java.lang.String |
CONTENT_ROOT_URL_KEY
|
static java.lang.String |
CONTENTFEEDS_FETCHALL_KEY
|
static java.lang.String |
CONTENTFEEDS_PORTLETBROWSER_OVERVIEW_MAXPORTLETS_KEY
|
static java.lang.String |
CONTENTFEEDS_PORTLETBROWSER_PREVIEW_MAXPORTLETS_KEY
|
static java.lang.String |
CONTENTFEEDS_STYLESHEET_URL_KEY
|
static java.lang.String |
CUSTOMIZATION_CANCEL_ACTION
|
static java.lang.String |
CUSTOMIZATION_MAX_NUMBER
|
static java.lang.String |
CUSTOMIZATION_RESOURCE_KEY
|
static java.lang.String |
CUSTOMIZATION_SAVE_ACTION
|
static java.lang.String |
DAEMON_ENTRY
|
static java.lang.String |
DEFAULT_DCE_EXPIRATION_TIME_KEY
|
static java.lang.String |
DEFAULT_DESCRIPTION_KEY
|
static java.lang.String |
DEFAULT_IMAGE_KEY
|
static java.lang.String |
DEFAULT_TITLE_KEY
|
static java.lang.String |
DEFAULTPORTLETCONTROL_WIDTH_KEY
|
static java.lang.String |
DEFAULTPORTLETCONTROLLER_NUMCOLUMNS_KEY
|
static java.lang.String |
DEFAULTPORTLETCONTROLLER_WIDTH_KEY
|
static java.lang.String |
EDIT_IMAGE
|
static java.lang.String |
GROUP_BROWSER_CLIENT_SORTING
|
static java.lang.String |
HTML_COLOR_NAME_KEY
|
static java.lang.String |
HTML_HEX_COLOR_KEY
|
static java.lang.String |
INFO_IMAGE
|
static java.lang.String |
JETSPEED_CONFIG_KEY
|
static java.lang.String |
JETSPEED_NAME_KEY
|
static java.lang.String |
JETSPEED_VERSION_KEY
|
static java.lang.String |
MANDATORY_PORTLET
|
static java.lang.String |
MAX_IMAGE
|
static java.lang.String |
NAVIGATIONS_BOTTOM_KEY
|
static java.lang.String |
NAVIGATIONS_TOP_KEY
|
static java.lang.String |
PATH_ACTION_KEY
|
static java.lang.String |
PATH_PANEID_KEY
|
static java.lang.String |
PATH_PANEL_KEY
|
static java.lang.String |
PATH_PANENAME_KEY
|
static java.lang.String |
PATH_PORTLET_KEY
|
static java.lang.String |
PATH_PORTLETID_KEY
|
static java.lang.String |
PATH_SCREEN_KEY
|
static java.lang.String |
PATH_SUBPANE_SEPARATOR
|
static java.lang.String |
PATH_TEMPLATE_KEY
|
static java.lang.String |
PORTLETCONTROL_DEFAULT_CLASSNAME_KEY
|
static java.lang.String |
PORTLETCONTROL_MAXIMIZED_CLASSNAME_KEY
|
static java.lang.String |
PORTLETCONTROLLER_DEFAULT_CLASSNAME_KEY
|
static java.lang.String |
PORTLETMARKUP_ALL_KEY
|
static java.lang.String |
PROFILER_CONFIGURATION_KEY
|
static java.lang.String |
PROFILER_DEFAULT_CLASSNAME_KEY
|
static java.lang.String |
PSML_REGISTRY_URL_KEY
|
static java.lang.String |
RESTORE_IMAGE
|
static java.lang.String |
ROLE_BROWSER_CLIENT_SORTING
|
static java.lang.String |
SITE_FOOTER_LOGO
|
static java.lang.String |
SITE_FOOTER_LOGO_KEY
|
static java.lang.String |
SITE_HEADER_LOGO
|
static java.lang.String |
SITE_HEADER_LOGO_KEY
|
static java.lang.String |
SITE_HEADER_WELCOME_KEY
|
static java.lang.String |
SITE_STYLESHEET
|
static java.lang.String |
SITE_WELCOME
|
static java.lang.String |
SKIN_DEFAULT_KEY
|
static java.lang.String |
TEMP_DIRECTORY_KEY
|
static java.lang.String |
TIME_TO_LIVE
Special portlet registry parameter used to override default portlet cache expiration value |
static java.lang.String |
TRANSPARENT_IMAGE
|
static java.lang.String |
USER_BROWSER_CLIENT_SORTING
|
static java.lang.String |
XMLPORTLETCONTROLLER_STYLESHEET_KEY
|
static java.lang.String |
XMLPORTLETCONTROLLER_WIDTH_KEY
|
Fields inherited from class org.apache.turbine.services.resources.TurbineResources |
ACTION_CACHE_SIZE_KEY, DB_DRIVER_KEY, DB_EXPIRYTIME_KEY, DB_IDBROKER_CLEVERQUANTITY, DB_IDBROKER_PREFETCH, DB_MAXCONNECTIONS_KEY, DB_PASSWORD_KEY, DB_URL_KEY, DB_USERNAME_KEY, FILE_SERVER, LAYOUT_CACHE_SIZE_KEY, LOGIN_ERROR, LOGIN_MESSAGE, LOGIN_MESSAGE_NOSCREEN, LOGOUT_MESSAGE, MAIL_SERVER_KEY, MAX_FILE_SIZE_KEY, MODULE_CACHE_KEY, MODULE_PACKAGES_KEY, NAVIGATION_CACHE_SIZE_KEY, PAGE_CACHE_SIZE_KEY, SCREEN_CACHE_SIZE_KEY, USER_CLASS_KEY |
Constructor Summary | |
JetspeedResources()
|
Method Summary | |
static boolean |
getBoolean(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as a boolean value. |
static boolean |
getBoolean(java.lang.String name,
boolean def)
The purppose of this method is to get the configuration resource with the given name as a boolean value, or a default value. |
static double |
getDouble(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as a double. |
static double |
getDouble(java.lang.String name,
double def)
The purpose of this method is to get the configuration resource with the given name as a double, or a default value. |
static float |
getFloat(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as a float. |
static float |
getFloat(java.lang.String name,
float def)
The purpose of this method is to get the configuration resource with the given name as a float, or a default value. |
static int |
getInt(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as an integer. |
static int |
getInt(java.lang.String name,
int def)
The purpose of this method is to get the configuration resource with the given name as an integer, or a default value. |
static long |
getLong(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as a long. |
static long |
getLong(java.lang.String name,
long def)
The purpose of this method is to get the configuration resource with the given name as a long, or a default value. |
static java.lang.String |
getString(java.lang.String name)
The purpose of this method is to get the configuration resource with the given name as a string. |
static java.lang.String |
getString(java.lang.String name,
java.lang.String def)
The purpose of this method is to get the configuration resource with the given name as a string, or a default value. |
Methods inherited from class org.apache.turbine.services.resources.TurbineResources |
getConfiguration, getConfiguration, getKeys, getKeys, getResources, getService, getStringArray, getVector, getVector, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SITE_HEADER_LOGO_KEY
public static final java.lang.String SITE_HEADER_WELCOME_KEY
public static final java.lang.String SITE_FOOTER_LOGO_KEY
public static final java.lang.String PROFILER_DEFAULT_CLASSNAME_KEY
public static final java.lang.String PROFILER_CONFIGURATION_KEY
public static final java.lang.String SKIN_DEFAULT_KEY
public static final java.lang.String PORTLETCONTROL_DEFAULT_CLASSNAME_KEY
public static final java.lang.String PORTLETCONTROL_MAXIMIZED_CLASSNAME_KEY
public static final java.lang.String PORTLETCONTROLLER_DEFAULT_CLASSNAME_KEY
public static final java.lang.String CACHE_DIRECTORY_KEY
public static final java.lang.String CACHE_REQUIRE_CACHED_KEY
public static final java.lang.String DEFAULT_DCE_EXPIRATION_TIME_KEY
public static final java.lang.String DEFAULTPORTLETCONTROL_WIDTH_KEY
public static final java.lang.String DEFAULTPORTLETCONTROLLER_NUMCOLUMNS_KEY
public static final java.lang.String DEFAULTPORTLETCONTROLLER_WIDTH_KEY
public static final java.lang.String XMLPORTLETCONTROLLER_WIDTH_KEY
public static final java.lang.String XMLPORTLETCONTROLLER_STYLESHEET_KEY
public static final java.lang.String PORTLETMARKUP_ALL_KEY
public static final java.lang.String CONTENTFEEDS_STYLESHEET_URL_KEY
public static final java.lang.String CONTENTFEEDS_FETCHALL_KEY
public static final java.lang.String CONTENTFEEDS_PORTLETBROWSER_PREVIEW_MAXPORTLETS_KEY
public static final java.lang.String CONTENTFEEDS_PORTLETBROWSER_OVERVIEW_MAXPORTLETS_KEY
public static final java.lang.String GROUP_BROWSER_CLIENT_SORTING
public static final java.lang.String ROLE_BROWSER_CLIENT_SORTING
public static final java.lang.String USER_BROWSER_CLIENT_SORTING
public static final java.lang.String CONFIGURATION_DIRECTORY_KEY
public static final java.lang.String CONTENT_ROOT_URL_KEY
public static final java.lang.String TEMP_DIRECTORY_KEY
public static final java.lang.String ADMIN_PORTLET_NAME_KEY
public static final java.lang.String ADMIN_USERNAME_KEY
public static final java.lang.String ADMIN_PASSWORD_KEY
public static final java.lang.String DAEMON_ENTRY
public static final java.lang.String PSML_REGISTRY_URL_KEY
public static final java.lang.String NAVIGATIONS_TOP_KEY
public static final java.lang.String NAVIGATIONS_BOTTOM_KEY
public static final java.lang.String AUTOCREATE_PORTLETS_KEY
public static final java.lang.String CONTENT_PROVIDER_LIST_KEY
public static final java.lang.String DEFAULT_TITLE_KEY
public static final java.lang.String DEFAULT_DESCRIPTION_KEY
public static final java.lang.String DEFAULT_IMAGE_KEY
public static final java.lang.String JETSPEED_CONFIG_KEY
public static final java.lang.String CONTENT_ENCODING_KEY
public static final java.lang.String CUSTOMIZATION_RESOURCE_KEY
public static final java.lang.String CUSTOMIZATION_MAX_NUMBER
public static final java.lang.String CUSTOMIZATION_SAVE_ACTION
public static final java.lang.String CUSTOMIZATION_CANCEL_ACTION
public static final java.lang.String HTML_HEX_COLOR_KEY
public static final java.lang.String HTML_COLOR_NAME_KEY
public static final java.lang.String MANDATORY_PORTLET
public static final java.lang.String CHANGE_PASSWORD_TEMPLATE
public static final java.lang.String MAX_IMAGE
public static final java.lang.String INFO_IMAGE
public static final java.lang.String EDIT_IMAGE
public static final java.lang.String TRANSPARENT_IMAGE
public static final java.lang.String RESTORE_IMAGE
public static final java.lang.String SITE_HEADER_LOGO
public static final java.lang.String SITE_FOOTER_LOGO
public static final java.lang.String SITE_WELCOME
public static final java.lang.String SITE_STYLESHEET
public static final java.lang.String CONFIRM_VALUE
public static final java.lang.String CONFIRM_VALUE_PENDING
public static final java.lang.String CONFIRM_VALUE_REJECTED
public static final java.lang.String PATH_ACTION_KEY
public static final java.lang.String PATH_PANEID_KEY
public static final java.lang.String PATH_PANENAME_KEY
public static final java.lang.String PATH_PORTLETID_KEY
public static final java.lang.String PATH_SCREEN_KEY
public static final java.lang.String PATH_TEMPLATE_KEY
public static final java.lang.String PATH_PORTLET_KEY
public static final java.lang.String PATH_SUBPANE_SEPARATOR
public static final java.lang.String JETSPEED_NAME_KEY
public static final java.lang.String JETSPEED_VERSION_KEY
public static final java.lang.String TIME_TO_LIVE
public static final java.lang.String PATH_PANEL_KEY
Constructor Detail |
public JetspeedResources()
Method Detail |
public static boolean getBoolean(java.lang.String name)
name
- The resource name.
public static boolean getBoolean(java.lang.String name, boolean def)
name
- The resource name.def
- The default value of the resource.
public static double getDouble(java.lang.String name)
name
- The resoource name.
public static double getDouble(java.lang.String name, double def)
name
- The resource name.def
- The default value of the resource.
public static float getFloat(java.lang.String name)
name
- The resource name.
public static float getFloat(java.lang.String name, float def)
name
- The resource name.def
- The default value of the resource.
public static int getInt(java.lang.String name)
name
- The resource name.
public static int getInt(java.lang.String name, int def)
name
- The resource name.def
- The default value of the resource.
public static long getLong(java.lang.String name)
name
- The resource name.
public static long getLong(java.lang.String name, long def)
name
- The resource name.def
- The default value of the resource.
public static java.lang.String getString(java.lang.String name)
name
- The resource name.
public static java.lang.String getString(java.lang.String name, java.lang.String def)
name
- The resource name.def
- The default value of the resource.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |