public class PredefinedNewsConfiguration extends NewsConfiguration
| Constructor and Description |
|---|
PredefinedNewsConfiguration()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPreference(java.lang.String name,
java.lang.String value)
Add a user preference for this configuration.
|
java.util.Map<java.lang.String,java.lang.String> |
getPreferences()
Get the user-specific preferences for this configuration.
|
void |
setPreferences(java.util.Map<java.lang.String,java.lang.String> preferences)
Set the user-specific preferences for this configuration.
|
compareTo, getId, getNewsDefinition, getNewsSet, isActive, isDisplayed, setActive, setDisplayed, setId, setNewsDefinition, setNewsSetpublic PredefinedNewsConfiguration()
public java.util.Map<java.lang.String,java.lang.String> getPreferences()
public void setPreferences(java.util.Map<java.lang.String,java.lang.String> preferences)
preferences - public void addPreference(java.lang.String name,
java.lang.String value)
name - parameter name (key)value - value to be storedCopyright © 2009-2023 Apereo. All Rights Reserved.