|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.CalendarConfiguration
org.jasig.portlet.calendar.PredefinedCalendarConfiguration
public class PredefinedCalendarConfiguration
PredefinedCalendarConfiguration represents a user configuration of a built-in calendar definition. There may be many configurations for each predefined calendar definition. This class defines an extra place to put user-specific configuration information and preferences.
| Constructor Summary | |
|---|---|
PredefinedCalendarConfiguration()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addPreference(String name,
String value)
Add a user preference for this configuration. |
Map<String,String> |
getPreferences()
Get the user-specific preferences for this configuration. |
void |
setCalendarDefinition(CalendarDefinition definition)
Set the CalendarDefinition for the calendar being configured. |
void |
setPreferences(Map<String,String> preferences)
Set the user-specific preferences for this configuration. |
| Methods inherited from class org.jasig.portlet.calendar.CalendarConfiguration |
|---|
getCalendarDefinition, getId, getSubscribeId, isDisplayed, setDisplayed, setId, setSubscribeId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PredefinedCalendarConfiguration()
| Method Detail |
|---|
public Map<String,String> getPreferences()
public void setPreferences(Map<String,String> preferences)
preferences -
public void addPreference(String name,
String value)
name - parameter name (key)value - value to be storedpublic void setCalendarDefinition(CalendarDefinition definition)
CalendarConfiguration
setCalendarDefinition in class CalendarConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||