org.jasig.portlet.calendar.adapter
Class CalendarEventSet
java.lang.Object
org.jasig.portlet.calendar.adapter.CalendarEventSet
- All Implemented Interfaces:
- Serializable
public class CalendarEventSet
- extends Object
- implements Serializable
CalendarEventSet represents a set of cacheable calendar events.
- Version:
- $Revision$
- Author:
- Jen Bourey, jennifer.bourey@gmail.com
- See Also:
- Serialized Form
|
Method Summary |
Set<net.fortuna.ical4j.model.component.VEvent> |
getEvents()
|
long |
getExpirationTime()
Return the expiration time of this CalendarEventSet. |
String |
getKey()
|
void |
setExpirationTime(long expirationTime)
Set the time in absolute milliseconds when this CalendarEventSet should
be evicted from cache. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarEventSet
public CalendarEventSet(String key,
Set<net.fortuna.ical4j.model.component.VEvent> events)
getKey
public String getKey()
getEvents
public Set<net.fortuna.ical4j.model.component.VEvent> getEvents()
getExpirationTime
public long getExpirationTime()
- Return the expiration time of this CalendarEventSet. This property
does not control the expiration time but merely allows communicating the
set expiration time through application layers so each layer does
not need to know if or how a CalendarEventSet was cached.
- Returns:
- Expiration time in absolute milliseconds when this CalendarEventSet
is expected to be evicted from cache. 0 if not set.
setExpirationTime
public void setExpirationTime(long expirationTime)
- Set the time in absolute milliseconds when this CalendarEventSet should
be evicted from cache.
- Parameters:
expirationTime -
Copyright © 2013 Jasig. All Rights Reserved.