com.silverpeas.yellowpages
Class YellowpagesComponentSettings

java.lang.Object
  extended by com.silverpeas.yellowpages.YellowpagesComponentSettings

public final class YellowpagesComponentSettings
extends Object

It gathers all the settings and i18n relative to the Yellowpages component.

Author:
mmoquillon

Field Summary
static String COMPONENT_NAME
          The name of the Yellowpages component in Silverpeas.
static String ICONS_PATH
          The relative path of the properties file containing the references of the icons dedicated to the Yellowpages component.
static String MESSAGES_PATH
          The relative path of the i18n bundle of the Yellowpages component.
static String SETTINGS_PATH
          The relative path of the properties file containing the settings of the Yellowpages component.
 
Method Summary
static boolean areUserExtraDataRequired()
          Indicates if extra data of a user are required.
static com.stratelia.webactiv.util.ResourceLocator getIcons()
          Gets all the icons definitions particular to the Yellowpages component.
static com.stratelia.webactiv.util.ResourceLocator getMessagesIn(String language)
          Gets all the messages for the Yellowpages component and translated in the specified language.
static com.stratelia.webactiv.util.ResourceLocator getSettings()
          Gets all the settings of the Yellowpages component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_NAME

public static final String COMPONENT_NAME
The name of the Yellowpages 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 Yellowpages component.

See Also:
Constant Field Values

MESSAGES_PATH

public static final String MESSAGES_PATH
The relative path of the i18n bundle of the Yellowpages 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 Yellowpages component.

See Also:
Constant Field Values
Method Detail

getMessagesIn

public static com.stratelia.webactiv.util.ResourceLocator getMessagesIn(String language)
Gets all the messages for the Yellowpages 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 com.stratelia.webactiv.util.ResourceLocator getSettings()
Gets all the settings of the Yellowpages component.

Returns:
the resource with the different component settings.

getIcons

public static com.stratelia.webactiv.util.ResourceLocator getIcons()
Gets all the icons definitions particular to the Yellowpages component.

Returns:
the resource with icons definition.

areUserExtraDataRequired

public static boolean areUserExtraDataRequired()
Indicates if extra data of a user are required.

Returns:
true if required, false otherwise.


Copyright © 2016 Silverpeas. All Rights Reserved.