Class CmsUserDataRequestConfig


  • public class CmsUserDataRequestConfig
    extends java.lang.Object
    Configuration for user data requests.

    Mostly used to access texts to show to the user. Currently, a thin wrapper around an XML content.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMailSubject()
      Gets the email subject.
      java.lang.String getMailText()
      Gets the email text.
      long getRequestLifetime()
      Gets the time for which user data requests are valid (in milliseconds).
      java.lang.String getText​(java.lang.String key)
      Gets the text for the given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsUserDataRequestConfig

        public CmsUserDataRequestConfig​(CmsObject cms,
                                        CmsXmlContent content,
                                        java.util.Locale locale)
        Creates a new instance.
        Parameters:
        cms - the CMS context
        content - the content with the configuration
        locale - the locale
    • Method Detail

      • getMailSubject

        public java.lang.String getMailSubject()
        Gets the email subject.
        Returns:
        the email subject
      • getMailText

        public java.lang.String getMailText()
        Gets the email text.
        Returns:
        the email text
      • getRequestLifetime

        public long getRequestLifetime()
        Gets the time for which user data requests are valid (in milliseconds).
        Returns:
        the time for which user data requests are valid
      • getText

        public java.lang.String getText​(java.lang.String key)
        Gets the text for the given key.
        Parameters:
        key - the text key
        Returns:
        the text for that key