use of org.bedework.calsvci.CalendarsI in project bw-calendar-engine by Bedework.
the class DumpPublic method doDump.
/**
* Dump everything owned by this principal
*
* @throws CalFacadeException on error
*/
public void doDump() throws CalFacadeException {
dumpCategories(true);
dumpContacts(true);
dumpLocations(true);
try {
makeDir(Defs.collectionsDirName, false);
final CalendarsI cols = getSvc().getCalendarsHandler();
final BwCalendar pubcal = cols.getPublicCalendars();
if (pubcal == null) {
warn("Unable to fetch public calendar root");
return;
}
dumpCol(pubcal, true);
} finally {
popPath();
}
}
Aggregations