Class QuickInfoComponentSettings
java.lang.Object
org.silverpeas.components.quickinfo.QuickInfoComponentSettings
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the Quickinfo component in Silverpeas.static final StringThe relative path of the properties file containing the references of the icons dedicated to the component.static final StringThe relative path of the i18n bundle of the component.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe relative path of the properties file containing the settings of the component.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.silverpeas.kernel.bundle.LocalizationBundlegetIcons()Gets all the icons definitions particular to the Suggestion Box component.static org.silverpeas.kernel.bundle.LocalizationBundlegetMessagesIn(String language) Gets all the messages for the Suggestion Box component and translated in the specified language.static org.silverpeas.kernel.bundle.SettingBundleGets all the settings of the Suggestion Box component.booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetBroadcastModes(String paramValue) voidsetCommentsEnabled(boolean commentsEnabled) voidsetDelegatedNewsEnabled(boolean delegatedNewsEnabled) voidsetMosaicViewForUsers(boolean mosaicView) voidsetNotificationAllowed(boolean notificationAllowed) voidsetTaxonomyEnabled(boolean taxonomyEnabled)
-
Field Details
-
PARAM_COMMENTS
- See Also:
-
PARAM_TAXONOMY
- See Also:
-
PARAM_DELEGATED
- See Also:
-
PARAM_BROADCAST
- See Also:
-
VALUE_BROADCAST_TICKER
- See Also:
-
VALUE_BROADCAST_BLOCKING
- See Also:
-
VALUE_BROADCAST_BOTH
- See Also:
-
PARAM_USERVIEW
- See Also:
-
VALUE_USERVIEW_MOSAIC
- See Also:
-
VALUE_USERVIEW_LISTING
- See Also:
-
COMPONENT_NAME
The name of the Quickinfo component in Silverpeas.- See Also:
-
SETTINGS_PATH
The relative path of the properties file containing the settings of the component.- See Also:
-
MESSAGES_PATH
The relative path of the i18n bundle of the component.- See Also:
-
ICONS_PATH
The relative path of the properties file containing the references of the icons dedicated to the component.- See Also:
-
-
Constructor Details
-
QuickInfoComponentSettings
-
-
Method Details
-
isCommentsEnabled
public boolean isCommentsEnabled() -
setCommentsEnabled
public void setCommentsEnabled(boolean commentsEnabled) -
getDescription
-
getMessagesIn
Gets all the messages for the Suggestion Box 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 Suggestion Box 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 Suggestion Box component.- Returns:
- the resource with icons definition.
-
setTaxonomyEnabled
public void setTaxonomyEnabled(boolean taxonomyEnabled) -
isTaxonomyEnabled
public boolean isTaxonomyEnabled() -
setNotificationAllowed
public void setNotificationAllowed(boolean notificationAllowed) -
isNotificationAllowed
public boolean isNotificationAllowed() -
setBroadcastModes
-
isBroadcastingByTicker
public boolean isBroadcastingByTicker() -
isBroadcastingByBlockingNews
public boolean isBroadcastingByBlockingNews() -
setDelegatedNewsEnabled
public void setDelegatedNewsEnabled(boolean delegatedNewsEnabled) -
isDelegatedNewsEnabled
public boolean isDelegatedNewsEnabled() -
isMosaicViewForUsers
public boolean isMosaicViewForUsers() -
setMosaicViewForUsers
public void setMosaicViewForUsers(boolean mosaicView)
-