public interface CalendarCache

Known subtypesMemoryCalendarCache, StorageCalendarCache

Persistence seam used by CalendarSyncEngine. Credentials must not be stored here.

Methods

public abstract Map<String, Object> load(String sourceId) throws CalendarException
public abstract void store(String sourceId, Map<String, Object> state) throws CalendarException
public abstract void clear(String sourceId) throws CalendarException

Method details

load

public abstract Map<String, Object> load(String sourceId) throws CalendarException

store

public abstract void store(String sourceId, Map<String, Object> state) throws CalendarException

clear

public abstract void clear(String sourceId) throws CalendarException