Class UserCalendarSettings


  • public final class UserCalendarSettings
    extends Object
    It gathers all the settings and i18n relative to the User Calendar component.
    Author:
    Yohann Chastagnier
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COMPONENT_NAME
      The name of the User Calendar component in Silverpeas.
      static String ICONS_PATH
      The relative path of the properties file containing the references of the icons dedicated to the User Calendar component.
      static String MESSAGES_PATH
      The relative path of the i18n bundle of the User Calendar component.
      static String SETTINGS_PATH
      The relative path of the properties file containing the settings of the User Calendar component.
    • Field Detail

      • COMPONENT_NAME

        public static final String COMPONENT_NAME
        The name of the User Calendar component in Silverpeas.
        See Also:
        Constant Field Values
      • SETTINGS_PATH

        public static final String SETTINGS_PATH
        The relative path of the properties file containing the settings of the User Calendar component.
        See Also:
        Constant Field Values
      • MESSAGES_PATH

        public static final String MESSAGES_PATH
        The relative path of the i18n bundle of the User Calendar component.
        See Also:
        Constant Field Values
      • ICONS_PATH

        public static final String ICONS_PATH
        The relative path of the properties file containing the references of the icons dedicated to the User Calendar component.
        See Also:
        Constant Field Values
    • Method Detail

      • getMessagesIn

        public static org.silverpeas.kernel.bundle.LocalizationBundle getMessagesIn​(String language)
        Gets all the messages for the User Calendar component and translated in the specified language.
        Parameters:
        language - the language in which are written the messages.
        Returns:
        the resource with the translated messages.
      • getSettings

        public static org.silverpeas.kernel.bundle.SettingBundle getSettings()
        Gets all the settings of the User Calendar component.
        Returns:
        the resource with the different component settings.
      • getIcons

        public static org.silverpeas.kernel.bundle.LocalizationBundle getIcons()
        Gets all the icons definitions particular to the User Calendar component.
        Returns:
        the resource with icons definition.