[Bedework-commit] dumprestore r272 -
trunk/src/org/bedework/dumprestore/restore
svnadmin at bedework.org
svnadmin at bedework.org
Fri Feb 27 11:22:11 EST 2009
Author: douglm
Date: 2009-02-27 11:22:11 -0500 (Fri, 27 Feb 2009)
New Revision: 272
Modified:
trunk/src/org/bedework/dumprestore/restore/HibRestore.java
Log:
Extend the collection caching to retain objects across sessions. Involved tidying up of the wrapping of collection objects and maintenance of the ctag value in the cache.
Renamed the caldav svc parameter to sessionless and use it to control some aspects of the fetching.
Modified: trunk/src/org/bedework/dumprestore/restore/HibRestore.java
===================================================================
--- trunk/src/org/bedework/dumprestore/restore/HibRestore.java 2009-02-24 21:20:26 UTC (rev 271)
+++ trunk/src/org/bedework/dumprestore/restore/HibRestore.java 2009-02-27 16:22:11 UTC (rev 272)
@@ -774,7 +774,9 @@
CalintfHelperHib.CalintfHelperHibCb chcb = new CalintfHelperHibCb(this);
events = new CoreEvents(chcb, globals.calCallback,
access,
- currentMode, globals.config.getDebug());
+ currentMode,
+ false, // sessionless
+ globals.config.getDebug());
return events;
}
@@ -793,7 +795,9 @@
CalintfHelperHib.CalintfHelperHibCb hsf = new CalintfHelperHibCb(this);
calendars = new CoreCalendars(hsf, globals.calCallback,
access,
- currentMode, globals.config.getDebug());
+ currentMode,
+ false, // sessionless
+ globals.config.getDebug());
access.setCollectionGetter((CoreCalendars)calendars);
More information about the Bedework-commit
mailing list