|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.yale.its.tp.portlets.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(java.lang.Long id,
java.lang.String className,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.String value)
Add an individual calendar parameter. |
java.lang.String |
getClassName()
Returns the name of the adapter class for this calendar which will determine how the calendar is retrieved. |
java.lang.Long |
getId()
Return the unique id of this calendar. |
java.lang.String |
getName()
Return the display name for this calendar. |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Return the map of calendar parameters. |
void |
setClassName(java.lang.String className)
Set the name of the adapter class for this calendar which will determine how the calendar is retrieved. |
void |
setId(java.lang.Long id)
Set the unique id for this calendar. |
void |
setName(java.lang.String name)
Set the display name for this calendar. |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Set the map of calendar parameters. |
java.lang.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(java.lang.Long id,
java.lang.String className,
java.lang.String name)
| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className - public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.util.Map<java.lang.String,java.lang.String> getParameters()
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - parameter map
public void addParameter(java.lang.String name,
java.lang.String value)
name - parameter name (key)value - value to be storedpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||