Package org.javlo.service.calendar
Class AbstractICalProvider
- java.lang.Object
-
- org.javlo.service.calendar.AbstractICalProvider
-
- All Implemented Interfaces:
ICalProvider
- Direct Known Subclasses:
LocalICalProvider
,RemoteICalProvider
public abstract class AbstractICalProvider extends Object implements ICalProvider
-
-
Constructor Summary
Constructors Constructor Description AbstractICalProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cache(ICal ical)
protected void
cacheAll(List<ICal> icals)
protected void
clearCache()
protected List<ICal>
getAllInCache()
protected int
getCacheSize()
protected int
getCacheTime()
protected ICal
getInCache(String id)
void
init(ContentContext ctx)
boolean
isEditable()
protected boolean
removeFromCache(String id)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javlo.service.calendar.ICalProvider
deleteICal, deleteICal, getICals, getICals, getName, reset, store
-
-
-
-
Field Detail
-
folder
protected File folder
-
-
Method Detail
-
init
public void init(ContentContext ctx)
-
getCacheTime
protected int getCacheTime()
-
getCacheSize
protected int getCacheSize()
-
cache
protected void cache(ICal ical)
-
removeFromCache
protected boolean removeFromCache(String id)
-
clearCache
protected void clearCache()
-
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interfaceICalProvider
-
-