|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.CalendarDefinition
public class CalendarDefinition
CalendarDefinition represents the base class for calendar registrations. Information required to retrieve the calendar, such as the calendar's URL or important default system-wide configuration information may be stored in the parameters map. In order to add this calendar for a specific user, a CalendarConfiguration referencing this calendar definition must be created.
| Constructor Summary | |
|---|---|
CalendarDefinition()
Default constructor. |
|
CalendarDefinition(Long id,
String className,
String name)
|
|
| Method Summary | |
|---|---|
void |
addParameter(String name,
String value)
Add an individual calendar parameter. |
String |
getClassName()
Returns the name of the adapter class for this calendar which will determine how the calendar is retrieved. |
Long |
getId()
Return the unique id of this calendar. |
String |
getName()
Return the display name for this calendar. |
Map<String,String> |
getParameters()
Return the map of calendar parameters. |
void |
setClassName(String className)
Set the name of the adapter class for this calendar which will determine how the calendar is retrieved. |
void |
setId(Long id)
Set the unique id for this calendar. |
void |
setName(String name)
Set the display name for this calendar. |
void |
setParameters(Map<String,String> parameters)
Set the map of calendar parameters. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarDefinition()
public CalendarDefinition(Long id,
String className,
String name)
| Method Detail |
|---|
public Long getId()
public void setId(Long id)
id - public String getClassName()
public void setClassName(String className)
className - public String getName()
public void setName(String name)
name - public Map<String,String> getParameters()
public void setParameters(Map<String,String> parameters)
parameters - parameter map
public void addParameter(String name,
String value)
name - parameter name (key)value - value to be storedpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||