|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.configuration.A_CmsXmlConfiguration
org.opencms.configuration.CmsSystemConfiguration
public class CmsSystemConfiguration
System master configuration class.
Field Summary | |
---|---|
static java.lang.String |
A_ERROR
The "error" attribute. |
static java.lang.String |
A_EXCLUSIVE
The "exclusive" attribute. |
static java.lang.String |
A_MODE
The "mode" attribute. |
static java.lang.String |
A_OFFSET
The attribute name for the alias offset. |
static java.lang.String |
A_SERVER
The "server" attribute. |
static java.lang.String |
CONFIGURATION_DTD_NAME
The name of the DTD for this configuration. |
static java.lang.String |
DEFAULT_XML_FILE_NAME
The name of the default XML file for this configuration. |
static java.lang.String |
N_ACTIVE
The node name for the job "active" value. |
static java.lang.String |
N_ALIAS
The node name for the alias node. |
static java.lang.String |
N_AUTHORIZATIONHANDLER
The node name for the authorization handler. |
static java.lang.String |
N_AVGCACHEBYTES
The node name for the avgcachebytes node. |
static java.lang.String |
N_BROWSER_BASED
The node name for the browser-based node. |
static java.lang.String |
N_CACHE
the result cache node. |
static java.lang.String |
N_CACHE_ENABLED
The node name for the cache-enabled node. |
static java.lang.String |
N_CACHE_OFFLINE
The node name for the cache-offline node. |
static java.lang.String |
N_CLASS
The node name for a job class. |
static java.lang.String |
N_CONTENT_NOTIFICATION
The duration after which responsibles will be notified about out-dated content. |
static java.lang.String |
N_CONTEXT
The node name for the job context. |
static java.lang.String |
N_CRONEXPRESSION
The node name for the job cron expression. |
static java.lang.String |
N_DEFAULT_CONTENT_ENCODING
The node name for the defaultcontentencoding node. |
static java.lang.String |
N_DEFAULT_URI
The node name for the default-uri node. |
static java.lang.String |
N_DEFAULTUSERS
The node name for the defaultusers expression. |
static java.lang.String |
N_DIGESTTYPE
The node name for the digest type. |
static java.lang.String |
N_DISABLEMINUTES
The node name for the login account lock minutes. |
static java.lang.String |
N_EMAIL_INTERVAL
The node name for the email-interval node. |
static java.lang.String |
N_EMAIL_RECEIVER
The node name for the email-receiver node. |
static java.lang.String |
N_EMAIL_SENDER
The node name for the email-sender node. |
static java.lang.String |
N_ENABLED
The node name for the login message enabled flag. |
static java.lang.String |
N_ENCODING
The node name for the context encoding. |
static java.lang.String |
N_EVENTMANAGER
The node name for the request handler classes. |
static java.lang.String |
N_EVENTS
The node name for the events node. |
static java.lang.String |
N_FLEXCACHE
The node name for the flexcache node. |
static java.lang.String |
N_FORM_BASED
The node name for the form-based node. |
static java.lang.String |
N_GROUP_ADMINISTRATORS
The node name for the group-administrators node. |
static java.lang.String |
N_GROUP_GUESTS
The node name for the group-guests node. |
static java.lang.String |
N_GROUP_PROJECTMANAGERS
The node name for the group-projectmanagers node. |
static java.lang.String |
N_GROUP_USERS
The node name for the group-users node. |
static java.lang.String |
N_HISTORYSIZE
The node name for the publish "history-size" value. |
static java.lang.String |
N_HTTP_AUTHENTICATION
The node name for the http-authentication node. |
static java.lang.String |
N_I18N
The node name for the internationalization node. |
static java.lang.String |
N_JOB
The node name for a job. |
static java.lang.String |
N_KEYGENERATOR
The name of the class to generate cache keys. |
static java.lang.String |
N_LOCALE
The node name for individual locales. |
static java.lang.String |
N_LOCALEHANDLER
The node name for the locale handler. |
static java.lang.String |
N_LOCALESCONFIGURED
The node name for the configured locales. |
static java.lang.String |
N_LOCALESDEFAULT
The node name for the default locale(s). |
static java.lang.String |
N_LOG_INTERVAL
The node name for the log-interval node. |
static java.lang.String |
N_LOGINFORBIDDEN
The node name for the login message login forbidden flag. |
static java.lang.String |
N_LOGINMANAGER
The node name for the login manager. |
static java.lang.String |
N_LOGINMESSAGE
The node name for the login message. |
static java.lang.String |
N_MAIL
The node name for the mail configuration. |
static java.lang.String |
N_MAILFROM
The node name for the "mail from" node. |
static java.lang.String |
N_MAILHOST
The node name for the "mail host" node. |
static java.lang.String |
N_MAXBADATTEMPTS
The node name for the login manager bad attempt count. |
static java.lang.String |
N_MAXCACHEBYTES
The node name for the maxcachebytes node. |
static java.lang.String |
N_MAXENTRYBYTES
The node name for the maxentrybytes node. |
static java.lang.String |
N_MAXKEYS
The node name for the maxkeys node. |
static java.lang.String |
N_MAXUSAGE_PERCENT
The node name for the maxusagepercent node. |
static java.lang.String |
N_MEMORYMONITOR
The node name for the memorymonitor node. |
static java.lang.String |
N_MESSAGE
The node name for the login message text. |
static java.lang.String |
N_NOTIFICATION_PROJECT
The duration after which responsibles will be notified about out-dated content. |
static java.lang.String |
N_NOTIFICATION_TIME
The duration after which responsibles will be notified about out-dated content. |
static java.lang.String |
N_PARAMETERS
The node name for the job parameters. |
static java.lang.String |
N_PASSWORDENCODING
The node name for the password encoding. |
static java.lang.String |
N_PASSWORDHANDLER
The node name for the password handler. |
static java.lang.String |
N_PERMISSIONHANDLER
The node name for the permission handler. |
static java.lang.String |
N_PREVENTRESPONSEFLUSH
The node name for the prevent-response-flush node. |
static java.lang.String |
N_PROJECT
The node name for the context project name. |
static java.lang.String |
N_PUBLISHMANAGER
The node name for the "publishhistory" section. |
static java.lang.String |
N_QUEUEPERSISTANCE
The node name for the "publishhistory" section. |
static java.lang.String |
N_QUEUESHUTDOWNTIME
The node name for the "publishhistory" section. |
static java.lang.String |
N_RECEIVER
The node name for the memory email receiver. |
static java.lang.String |
N_RELEASETAGSAFTEREND
The node name for the release-tags-after-end node. |
static java.lang.String |
N_REMOTEADDR
The node name for the context remote addr. |
static java.lang.String |
N_REQUESTEDURI
The node name for the context requested uri. |
static java.lang.String |
N_REQUESTERRORPAGEATTRIBUTE
The node name for the request-error-page-attribute node. |
static java.lang.String |
N_REQUESTHANDLER
The node name for the request handler classes. |
static java.lang.String |
N_REQUESTHANDLERS
The node name for the request handlers. |
static java.lang.String |
N_RESOURCEINIT
The node name for the resource init classes. |
static java.lang.String |
N_RESOURCEINITHANDLER
The node name for the resource init classes. |
static java.lang.String |
N_REUSEINSTANCE
The node name for the job "reuseinstance" value. |
static java.lang.String |
N_RUNTIMECLASSES
The node name for the runtime info. |
static java.lang.String |
N_RUNTIMEINFO
The node name for the runtime info factory. |
static java.lang.String |
N_RUNTIMEPROPERTIES
The node name for the runtime properties node. |
static java.lang.String |
N_SCHEDULER
The node name for the scheduler. |
static java.lang.String |
N_SECURE
The node name for the secure site. |
static java.lang.String |
N_SERVLETCONTAINERSETTINGS
The node name for the servlet container settings. |
static java.lang.String |
N_SESSION_STORAGEPROVIDER
The node name for the session-storageprovider node. |
static java.lang.String |
N_SITEROOT
The node name for the context site root. |
static java.lang.String |
N_SITES
The node name for the sites node. |
static java.lang.String |
N_SIZE_ACLS
The size of the driver manager's cache for ACLS. |
static java.lang.String |
N_SIZE_GROUPS
The size of the driver manager's cache for groups. |
static java.lang.String |
N_SIZE_ORGUNITS
The size of the driver manager's cache for organizational units. |
static java.lang.String |
N_SIZE_PERMISSIONS
The size of the security manager's cache for permission checks. |
static java.lang.String |
N_SIZE_PROJECTRESOURCES
The size of the driver manager's cache for project resources. |
static java.lang.String |
N_SIZE_PROJECTS
The size of the driver manager's cache for projects. |
static java.lang.String |
N_SIZE_PROPERTIES
The size of the driver manager's cache for properties. |
static java.lang.String |
N_SIZE_PROPERTYLISTS
The size of the driver manager's cache for property lists. |
static java.lang.String |
N_SIZE_RESOURCELISTS
The size of the driver manager's cache for lists of resources. |
static java.lang.String |
N_SIZE_RESOURCES
The size of the driver manager's cache for resources. |
static java.lang.String |
N_SIZE_ROLES
The size of the driver manager's cache for roles. |
static java.lang.String |
N_SIZE_USERGROUPS
The size of the driver manager's cache for user/group relations. |
static java.lang.String |
N_SIZE_USERS
The size of the driver manager's cache for users. |
static java.lang.String |
N_SYSTEM
The main system configuration node name. |
static java.lang.String |
N_TIMEEND
The node name for the login message end time. |
static java.lang.String |
N_TIMESTART
The node name for the login message start time. |
static java.lang.String |
N_USER_ADMIN
The node name for the user-admin node. |
static java.lang.String |
N_USER_DELETEDRESOURCE
The node name for the user-deletedresource node. |
static java.lang.String |
N_USER_EXPORT
The node name for the user-export node. |
static java.lang.String |
N_USER_GUEST
The node name for the user-guest node. |
static java.lang.String |
N_USERNAME
The node name for the context user name. |
static java.lang.String |
N_VALIDATIONHANDLER
The node name for the validation handler. |
static java.lang.String |
N_VERSIONHISTORY
The node name for the version history. |
static java.lang.String |
N_WARNING_INTERVAL
The node name for the warning-interval node. |
static java.lang.String |
N_WORKPLACE_SERVER
The node name for the workplace-server node. |
Fields inherited from interface org.opencms.configuration.I_CmsXmlConfiguration |
---|
A_ALIAS, A_CLASS, A_COUNT, A_DEFAULT, A_DESTINATION, A_ENABLED, A_FROM, A_HANDLER, A_ICON, A_ID, A_KEY, A_NAME, A_ORDER, A_PASSWORD, A_PORT, A_PROTOCOL, A_SUFFIX, A_TO, A_TYPE, A_URI, A_USER, A_VALUE, N_EXPORTPOINT, N_EXPORTPOINTS, N_NAME, N_PARAM, N_PROPERTY, N_RESOURCE, N_SITE, N_VALUE |
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
---|
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
Constructor Summary | |
---|---|
CmsSystemConfiguration()
|
Method Summary | |
---|---|
void |
addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
void |
addEventManager(java.lang.String clazz)
Adds the event manager class. |
void |
addJobFromConfiguration(CmsScheduledJobInfo jobInfo)
Adds a new job description for the scheduler. |
void |
addRequestHandler(java.lang.String clazz)
Adds a new instance of a request handler class. |
void |
addResourceInitHandler(java.lang.String clazz)
Adds a new instance of a resource init handler class. |
void |
addScheduleManager()
Generates the schedule manager. |
void |
addXmlDigesterRules(org.apache.commons.digester.Digester digester)
Digests an XML node and creates an instance of this configurable class. |
org.dom4j.Element |
generateXml(org.dom4j.Element parent)
Generates the XML element for this configurable class. |
I_CmsAuthorizationHandler |
getAuthorizationHandler()
Returns an instance of the configured authorization handler. |
CmsCacheSettings |
getCacheSettings()
Returns the settings of the driver manager. |
CmsDefaultUsers |
getCmsDefaultUsers()
Returns the default users. |
CmsFlexCacheConfiguration |
getCmsFlexCacheConfiguration()
Returns the flexCacheConfiguration. |
CmsMemoryMonitorConfiguration |
getCmsMemoryMonitorConfiguration()
Returns the memory monitor configuration. |
java.lang.String |
getDefaultContentEncoding()
Returns the defaultContentEncoding. |
java.lang.String |
getDtdFilename()
Returns the name of the DTD file for this XML configuration, e.g. |
CmsEventManager |
getEventManager()
Returns the configured OpenCms event manager instance. |
int |
getHistoryVersions()
Returns the maximum number of versions that are kept per resource in the VFS version history. |
int |
getHistoryVersionsAfterDeletion()
Returns the maximum number of versions that are kept in the VFS version history for deleted resources. |
CmsHttpAuthenticationSettings |
getHttpAuthenticationSettings()
Returns the HTTP authentication settings. |
CmsLocaleManager |
getLocaleManager()
Returns the configured locale manager for multi language support. |
CmsLoginManager |
getLoginManager()
Returns the configured login manager. |
CmsMailSettings |
getMailSettings()
Returns the configured mail settings. |
java.lang.String |
getNotificationProject()
Returns the project in which timestamps for the content notification are read. |
int |
getNotificationTime()
Returns the duration after which responsibles will be notified about out-dated content (in days). |
I_CmsPasswordHandler |
getPasswordHandler()
Returns the configured password handler. |
java.lang.String |
getPermissionHandler()
Returns the permission Handler class name. |
CmsPublishManager |
getPublishManager()
Returns the configured publish manager. |
java.util.List |
getRequestHandlers()
Returns the list of instantiated request handler classes. |
java.util.List |
getResourceInitHandlers()
Returns the list of instantiated resource init handler classes. |
I_CmsDbContextFactory |
getRuntimeInfoFactory()
Returns the runtime info factory instance. |
java.util.Map |
getRuntimeProperties()
Returns the runtime Properties. |
CmsScheduleManager |
getScheduleManager()
Returns the configured schedule manager. |
I_CmsSessionStorageProvider |
getSessionStorageProvider()
Returns an instance of the configured session storage provider. |
CmsSiteManagerImpl |
getSiteManager()
Returns the site manager. |
int |
getTempFileProjectId()
Returns temporary file project id. |
I_CmsValidationHandler |
getValidationHandler()
Returns an instance of the configured validation handler. |
void |
initializeFinished()
Will be called when configuration of this object is finished. |
protected void |
initMembers()
Initializes member variables. |
boolean |
isHistoryEnabled()
Returns if the VFS version history is enabled. |
void |
setAuthorizationHandler(java.lang.String authorizationHandlerClass)
Sets the authorization handler. |
void |
setCacheSettings(CmsCacheSettings settings)
Sets the settings of the driver manager. |
void |
setCmsDefaultUsers(java.lang.String userAdmin,
java.lang.String userGuest,
java.lang.String userExport,
java.lang.String userDeletedResource,
java.lang.String groupAdministrators,
java.lang.String groupProjectmanagers,
java.lang.String groupUsers,
java.lang.String groupGuests)
Sets the CmsDefaultUsers. |
void |
setCmsFlexCacheConfiguration(CmsFlexCacheConfiguration flexCacheConfiguration)
Sets the flexCacheConfiguration. |
void |
setCmsMemoryMonitorConfiguration(CmsMemoryMonitorConfiguration cmsMemoryMonitorConfiguration)
Sets the cmsMemoryMonitorConfiguration. |
void |
setDefaultContentEncoding(java.lang.String defaultContentEncoding)
Sets the defaultContentEncoding. |
void |
setHistorySettings(java.lang.String historyEnabled,
java.lang.String historyVersions,
java.lang.String historyVersionsAfterDeletion)
VFS version history settings are set here. |
void |
setHttpAuthenticationSettings(CmsHttpAuthenticationSettings httpAuthenticationSettings)
Sets the HTTP authentication settings. |
void |
setLocaleManager(CmsLocaleManager localeManager)
Sets the locale manager for multi language support. |
void |
setLoginManager(java.lang.String disableMinutesStr,
java.lang.String maxBadAttemptsStr)
Sets the configured login manager. |
void |
setLoginMessage(CmsLoginMessage message)
Adds the login message from the configuration. |
void |
setMailSettings(CmsMailSettings mailSettings)
Sets the mail settings. |
void |
setNotificationProject(java.lang.String notificationProject)
Sets the project in which timestamps for the content notification are read. |
void |
setNotificationTime(java.lang.String notificationTime)
Sets the duration after which responsibles will be notified about out-dated content (in days). |
void |
setPasswordHandler(I_CmsPasswordHandler passwordHandler)
Sets the password handler class. |
void |
setPermissionHandler(java.lang.String permissionHandler)
Sets the permission Handler class name. |
void |
setPreventResponseFlush(java.lang.String configValue)
Sets the servlet container specific setting. |
void |
setPublishManager(CmsPublishManager publishManager)
Sets the publish manager. |
void |
setReleaseTagsAfterEnd(java.lang.String configValue)
Sets the servlet container specific setting. |
void |
setRequestErrorPageAttribute(java.lang.String configValue)
Sets the servlet container specific setting. |
void |
setRuntimeInfoFactory(java.lang.String className)
Sets the runtime info factory. |
void |
setServletContainerSettingsMode(java.lang.String configValue)
Sets the servlet container settings configuration mode. |
void |
setSessionStorageProvider(java.lang.String sessionStorageProviderClass)
Sets the session storage provider. |
void |
setSiteManager(CmsSiteManagerImpl siteManager)
Sets the site manager. |
void |
setTempFileProjectId(java.lang.String tempFileProjectId)
Sets the temporary file project id. |
void |
setValidationHandler(java.lang.String validationHandlerClass)
Sets the validation handler. |
Methods inherited from class org.opencms.configuration.A_CmsXmlConfiguration |
---|
getConfiguration, getDtdSystemLocation, getDtdUrlPrefix, getXmlFileName, initConfiguration, setXmlFileName |
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 A_ERROR
public static final java.lang.String A_EXCLUSIVE
public static final java.lang.String A_MODE
public static final java.lang.String A_OFFSET
public static final java.lang.String A_SERVER
public static final java.lang.String CONFIGURATION_DTD_NAME
public static final java.lang.String DEFAULT_XML_FILE_NAME
public static final java.lang.String N_ACTIVE
public static final java.lang.String N_ALIAS
public static final java.lang.String N_AUTHORIZATIONHANDLER
public static final java.lang.String N_AVGCACHEBYTES
public static final java.lang.String N_BROWSER_BASED
public static final java.lang.String N_CACHE
public static final java.lang.String N_CACHE_ENABLED
public static final java.lang.String N_CACHE_OFFLINE
public static final java.lang.String N_CLASS
public static final java.lang.String N_CONTENT_NOTIFICATION
public static final java.lang.String N_CONTEXT
public static final java.lang.String N_CRONEXPRESSION
public static final java.lang.String N_DEFAULT_CONTENT_ENCODING
public static final java.lang.String N_DEFAULT_URI
public static final java.lang.String N_DEFAULTUSERS
public static final java.lang.String N_DIGESTTYPE
public static final java.lang.String N_DISABLEMINUTES
public static final java.lang.String N_EMAIL_INTERVAL
public static final java.lang.String N_EMAIL_RECEIVER
public static final java.lang.String N_EMAIL_SENDER
public static final java.lang.String N_ENABLED
public static final java.lang.String N_ENCODING
public static final java.lang.String N_EVENTMANAGER
public static final java.lang.String N_EVENTS
public static final java.lang.String N_FLEXCACHE
public static final java.lang.String N_FORM_BASED
public static final java.lang.String N_GROUP_ADMINISTRATORS
public static final java.lang.String N_GROUP_GUESTS
public static final java.lang.String N_GROUP_PROJECTMANAGERS
public static final java.lang.String N_GROUP_USERS
public static final java.lang.String N_HISTORYSIZE
public static final java.lang.String N_HTTP_AUTHENTICATION
public static final java.lang.String N_I18N
public static final java.lang.String N_JOB
public static final java.lang.String N_KEYGENERATOR
public static final java.lang.String N_LOCALE
public static final java.lang.String N_LOCALEHANDLER
public static final java.lang.String N_LOCALESCONFIGURED
public static final java.lang.String N_LOCALESDEFAULT
public static final java.lang.String N_LOG_INTERVAL
public static final java.lang.String N_LOGINFORBIDDEN
public static final java.lang.String N_LOGINMANAGER
public static final java.lang.String N_LOGINMESSAGE
public static final java.lang.String N_MAIL
public static final java.lang.String N_MAILFROM
public static final java.lang.String N_MAILHOST
public static final java.lang.String N_MAXBADATTEMPTS
public static final java.lang.String N_MAXCACHEBYTES
public static final java.lang.String N_MAXENTRYBYTES
public static final java.lang.String N_MAXKEYS
public static final java.lang.String N_MAXUSAGE_PERCENT
public static final java.lang.String N_MEMORYMONITOR
public static final java.lang.String N_MESSAGE
public static final java.lang.String N_NOTIFICATION_PROJECT
public static final java.lang.String N_NOTIFICATION_TIME
public static final java.lang.String N_PARAMETERS
public static final java.lang.String N_PASSWORDENCODING
public static final java.lang.String N_PASSWORDHANDLER
public static final java.lang.String N_PERMISSIONHANDLER
public static final java.lang.String N_PREVENTRESPONSEFLUSH
public static final java.lang.String N_PROJECT
public static final java.lang.String N_PUBLISHMANAGER
public static final java.lang.String N_QUEUEPERSISTANCE
public static final java.lang.String N_QUEUESHUTDOWNTIME
public static final java.lang.String N_RECEIVER
public static final java.lang.String N_RELEASETAGSAFTEREND
public static final java.lang.String N_REMOTEADDR
public static final java.lang.String N_REQUESTEDURI
public static final java.lang.String N_REQUESTERRORPAGEATTRIBUTE
public static final java.lang.String N_REQUESTHANDLER
public static final java.lang.String N_REQUESTHANDLERS
public static final java.lang.String N_RESOURCEINIT
public static final java.lang.String N_RESOURCEINITHANDLER
public static final java.lang.String N_REUSEINSTANCE
public static final java.lang.String N_RUNTIMECLASSES
public static final java.lang.String N_RUNTIMEINFO
public static final java.lang.String N_RUNTIMEPROPERTIES
public static final java.lang.String N_SCHEDULER
public static final java.lang.String N_SECURE
public static final java.lang.String N_SERVLETCONTAINERSETTINGS
public static final java.lang.String N_SESSION_STORAGEPROVIDER
public static final java.lang.String N_SITEROOT
public static final java.lang.String N_SITES
public static final java.lang.String N_SIZE_ACLS
public static final java.lang.String N_SIZE_GROUPS
public static final java.lang.String N_SIZE_ORGUNITS
public static final java.lang.String N_SIZE_PERMISSIONS
public static final java.lang.String N_SIZE_PROJECTRESOURCES
public static final java.lang.String N_SIZE_PROJECTS
public static final java.lang.String N_SIZE_PROPERTIES
public static final java.lang.String N_SIZE_PROPERTYLISTS
public static final java.lang.String N_SIZE_RESOURCELISTS
public static final java.lang.String N_SIZE_RESOURCES
public static final java.lang.String N_SIZE_ROLES
public static final java.lang.String N_SIZE_USERGROUPS
public static final java.lang.String N_SIZE_USERS
public static final java.lang.String N_SYSTEM
public static final java.lang.String N_TIMEEND
public static final java.lang.String N_TIMESTART
public static final java.lang.String N_USER_ADMIN
public static final java.lang.String N_USER_DELETEDRESOURCE
public static final java.lang.String N_USER_EXPORT
public static final java.lang.String N_USER_GUEST
public static final java.lang.String N_USERNAME
public static final java.lang.String N_VALIDATIONHANDLER
public static final java.lang.String N_VERSIONHISTORY
public static final java.lang.String N_WARNING_INTERVAL
public static final java.lang.String N_WORKPLACE_SERVER
Constructor Detail |
---|
public CmsSystemConfiguration()
Method Detail |
---|
public void addConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)
I_CmsConfigurationParameterHandler
addConfigurationParameter
in interface I_CmsConfigurationParameterHandler
addConfigurationParameter
in class A_CmsXmlConfiguration
paramName
- the name of the parameterparamValue
- the value for the parameterI_CmsConfigurationParameterHandler.addConfigurationParameter(java.lang.String, java.lang.String)
public void addEventManager(java.lang.String clazz)
clazz
- the class name of event manager class to instantiate and addpublic void addJobFromConfiguration(CmsScheduledJobInfo jobInfo)
jobInfo
- the job description to addpublic void addRequestHandler(java.lang.String clazz)
clazz
- the class name of the request handler to instantiate and addpublic void addResourceInitHandler(java.lang.String clazz)
clazz
- the class name of the resource init handler to instantiate and addpublic void addScheduleManager()
public void addXmlDigesterRules(org.apache.commons.digester.Digester digester)
I_CmsXmlConfiguration
digester
- the digester to useI_CmsXmlConfiguration.addXmlDigesterRules(org.apache.commons.digester.Digester)
public org.dom4j.Element generateXml(org.dom4j.Element parent)
I_CmsXmlConfiguration
parent
- the parent element in the XML tree
I_CmsXmlConfiguration.generateXml(org.dom4j.Element)
public I_CmsAuthorizationHandler getAuthorizationHandler()
public CmsCacheSettings getCacheSettings()
public CmsDefaultUsers getCmsDefaultUsers()
public CmsFlexCacheConfiguration getCmsFlexCacheConfiguration()
public CmsMemoryMonitorConfiguration getCmsMemoryMonitorConfiguration()
public java.lang.String getDefaultContentEncoding()
public java.lang.String getDtdFilename()
I_CmsXmlConfiguration
opencms-configuration.dtd
.
I_CmsXmlConfiguration.getDtdFilename()
public CmsEventManager getEventManager()
public int getHistoryVersions()
If the version history is disabled, this setting has no effect.
isHistoryEnabled()
public int getHistoryVersionsAfterDeletion()
If the version history is disabled, this setting has no effect.
isHistoryEnabled()
public CmsHttpAuthenticationSettings getHttpAuthenticationSettings()
public CmsLocaleManager getLocaleManager()
public CmsLoginManager getLoginManager()
public CmsMailSettings getMailSettings()
public java.lang.String getNotificationProject()
public int getNotificationTime()
public I_CmsPasswordHandler getPasswordHandler()
public java.lang.String getPermissionHandler()
public CmsPublishManager getPublishManager()
public java.util.List getRequestHandlers()
public java.util.List getResourceInitHandlers()
public I_CmsDbContextFactory getRuntimeInfoFactory()
public java.util.Map getRuntimeProperties()
public CmsScheduleManager getScheduleManager()
public I_CmsSessionStorageProvider getSessionStorageProvider()
public CmsSiteManagerImpl getSiteManager()
public int getTempFileProjectId()
public I_CmsValidationHandler getValidationHandler()
public void initializeFinished()
public boolean isHistoryEnabled()
public void setAuthorizationHandler(java.lang.String authorizationHandlerClass)
authorizationHandlerClass
- the authorization handler class to set.public void setCacheSettings(CmsCacheSettings settings)
settings
- the settings of the driver managerpublic void setCmsDefaultUsers(java.lang.String userAdmin, java.lang.String userGuest, java.lang.String userExport, java.lang.String userDeletedResource, java.lang.String groupAdministrators, java.lang.String groupProjectmanagers, java.lang.String groupUsers, java.lang.String groupGuests)
userAdmin
- the name of the default admin useruserGuest
- the name of the guest useruserExport
- the name of the export useruserDeletedResource
- the name of the deleted resource user, can be null
groupAdministrators
- the name of the administrators groupgroupProjectmanagers
- the name of the project managers groupgroupUsers
- the name of the users groupgroupGuests
- the name of the guests grouppublic void setCmsFlexCacheConfiguration(CmsFlexCacheConfiguration flexCacheConfiguration)
flexCacheConfiguration
- the flexCacheConfiguration to setpublic void setCmsMemoryMonitorConfiguration(CmsMemoryMonitorConfiguration cmsMemoryMonitorConfiguration)
cmsMemoryMonitorConfiguration
- the cmsMemoryMonitorConfiguration to setpublic void setDefaultContentEncoding(java.lang.String defaultContentEncoding)
defaultContentEncoding
- the defaultContentEncoding to setpublic void setHistorySettings(java.lang.String historyEnabled, java.lang.String historyVersions, java.lang.String historyVersionsAfterDeletion)
historyEnabled
- if true the history is enabledhistoryVersions
- the maximum number of versions that are kept per VFS resourcehistoryVersionsAfterDeletion
- the maximum number of versions for deleted resourcespublic void setHttpAuthenticationSettings(CmsHttpAuthenticationSettings httpAuthenticationSettings)
httpAuthenticationSettings
- the HTTP authentication settings to setpublic void setLocaleManager(CmsLocaleManager localeManager)
localeManager
- the locale manager to setpublic void setLoginManager(java.lang.String disableMinutesStr, java.lang.String maxBadAttemptsStr)
maxBadAttemptsStr
- the number of allowed bad login attemptsdisableMinutesStr
- the time an account gets locked if to many bad logins are attemptedpublic void setLoginMessage(CmsLoginMessage message)
message
- the login message to addpublic void setMailSettings(CmsMailSettings mailSettings)
mailSettings
- the mail settings to set.public void setNotificationProject(java.lang.String notificationProject)
notificationProject
- the project in which timestamps for the content notification are readpublic void setNotificationTime(java.lang.String notificationTime)
notificationTime
- the duration after which responsibles will be notified about out-dated contentpublic void setPasswordHandler(I_CmsPasswordHandler passwordHandler)
passwordHandler
- the password handler to setpublic void setPermissionHandler(java.lang.String permissionHandler)
permissionHandler
- the class name to setpublic void setPreventResponseFlush(java.lang.String configValue)
configValue
- the configuration valuepublic void setPublishManager(CmsPublishManager publishManager)
publishManager
- the publish managerpublic void setReleaseTagsAfterEnd(java.lang.String configValue)
configValue
- the configuration valuepublic void setRequestErrorPageAttribute(java.lang.String configValue)
configValue
- the configuration valuepublic void setRuntimeInfoFactory(java.lang.String className)
className
- the class name of the configured runtime info factorypublic void setServletContainerSettingsMode(java.lang.String configValue)
configValue
- the value to setpublic void setSessionStorageProvider(java.lang.String sessionStorageProviderClass)
sessionStorageProviderClass
- the session storage provider class to set.public void setSiteManager(CmsSiteManagerImpl siteManager)
siteManager
- the site manager to setpublic void setTempFileProjectId(java.lang.String tempFileProjectId)
tempFileProjectId
- the temporary file project id to setpublic void setValidationHandler(java.lang.String validationHandlerClass)
validationHandlerClass
- the validation handler class to set.protected void initMembers()
A_CmsXmlConfiguration
initMembers
in class A_CmsXmlConfiguration
A_CmsXmlConfiguration.initMembers()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |