Package org.opencms.jsp.userdata
Class CmsUserDataRequestConfig
java.lang.Object
org.opencms.jsp.userdata.CmsUserDataRequestConfig
Configuration for user data requests.
Mostly used to access texts to show to the user. Currently, a thin wrapper around an XML content.
-
Constructor Summary
ConstructorDescriptionCmsUserDataRequestConfig
(CmsObject cms, CmsXmlContent content, Locale locale) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the email subject.Gets the email text.long
Gets the time for which user data requests are valid (in milliseconds).Gets the text for the given key.
-
Constructor Details
-
CmsUserDataRequestConfig
Creates a new instance.- Parameters:
cms
- the CMS contextcontent
- the content with the configurationlocale
- the locale
-
-
Method Details
-
getMailSubject
Gets the email subject.- Returns:
- the email subject
-
getMailText
Gets the email text.- Returns:
- the email text
-
getRequestLifetime
Gets the time for which user data requests are valid (in milliseconds).- Returns:
- the time for which user data requests are valid
-
getText
Gets the text for the given key.- Parameters:
key
- the text key- Returns:
- the text for that key
-