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 voidcache(ICal ical)protected voidcacheAll(List<ICal> icals)protected voidclearCache()protected List<ICal>getAllInCache()protected intgetCacheSize()protected intgetCacheTime()protected ICalgetInCache(String id)voidinit(ContentContext ctx)booleanisEditable()protected booleanremoveFromCache(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:
isEditablein interfaceICalProvider
-
-