|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.adapter.AbstractCalendarAdapter
public abstract class AbstractCalendarAdapter
AbstractCalendarAdapter provides a base representation of a calendar adapter, without any implementation-specfic functionality.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
AbstractCalendarAdapter()
|
|
| Method Summary | |
|---|---|
String |
getDescriptionKey()
Get the message key to be used as the description for this adapter. |
List<org.jasig.portlet.form.parameter.Parameter> |
getParameters()
Get the list of configuration parameters available for this adapter. |
String |
getTitleKey()
Get the message key to be used as the title for this adapter. |
protected CalendarEventSet |
insertCalendarEventSetIntoCache(net.sf.ehcache.Cache cache,
String processorCacheKey,
Set<net.fortuna.ical4j.model.component.VEvent> events)
Creates a CalendarEventSet from a set of calendar events, inserts it into the cache, and copies the cached element's expiration time into the CalendarEventSet. |
protected CalendarEventSet |
insertCalendarEventSetIntoCache(net.sf.ehcache.Cache cache,
String processorCacheKey,
Set<net.fortuna.ical4j.model.component.VEvent> events,
int secondsToLive)
Creates a CalendarEventSet from a set of calendar events, inserts it into the cache with a specified lifetime, and copies the cached element's expiration time into the CalendarEventSet. |
void |
setDescriptionKey(String descriptionKey)
|
void |
setParameters(List<org.jasig.portlet.form.parameter.Parameter> parameters)
|
void |
setTitleKey(String titleKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jasig.portlet.calendar.adapter.ICalendarAdapter |
|---|
getEvents, getLink |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AbstractCalendarAdapter()
| Method Detail |
|---|
public String getTitleKey()
ICalendarAdapter
getTitleKey in interface ICalendarAdapterpublic String getDescriptionKey()
ICalendarAdapter
getDescriptionKey in interface ICalendarAdapterpublic List<org.jasig.portlet.form.parameter.Parameter> getParameters()
ICalendarAdapter
getParameters in interface ICalendarAdapterpublic void setParameters(List<org.jasig.portlet.form.parameter.Parameter> parameters)
public void setTitleKey(String titleKey)
public void setDescriptionKey(String descriptionKey)
protected CalendarEventSet insertCalendarEventSetIntoCache(net.sf.ehcache.Cache cache,
String processorCacheKey,
Set<net.fortuna.ical4j.model.component.VEvent> events,
int secondsToLive)
cache - Cache to insert the event set intoprocessorCacheKey - Key for the event setevents - set of calendar events to cachesecondsToLive - Number of seconds for the event set to survive in cache.
< 0 for the default cache value, 0 for unlimited (for
consistency with ehCache interface)
protected CalendarEventSet insertCalendarEventSetIntoCache(net.sf.ehcache.Cache cache,
String processorCacheKey,
Set<net.fortuna.ical4j.model.component.VEvent> events)
cache - Cache to insert the event set intoprocessorCacheKey - Key for the event setevents - set of calendar events to cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||