|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.newsreader.NewsConfiguration
org.jasig.portlet.newsreader.PredefinedNewsConfiguration
public class PredefinedNewsConfiguration
PredefinedNewsConfiguration represents a user configuration of a built-in news definition. There may be many configurations for each predefined news definition. This class defines an extra place to put user-specific configuration information and preferences.
| Constructor Summary | |
|---|---|
PredefinedNewsConfiguration()
Default constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jasig.portlet.newsreader.NewsConfiguration |
|---|
compareTo, getId, getNewsDefinition, getNewsSet, isActive, isDisplayed, setActive, setDisplayed, setId, setNewsDefinition, setNewsSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PredefinedNewsConfiguration()
| Method Detail |
|---|
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 stored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||