public interface DumpIntf
These methods return dummy objects for references. For example, an event location is represented by a Location object with only the id filled in.
If the implementing class discovers a discrepency, e.g. a missing user entry, it is up to the caller to determine that is the case.
Error messages should be emitted by the implementing classes.
Classes to dump in the order they must appear are
| Modifier and Type | Method and Description |
|---|---|
void |
endPrincipal(BwPrincipal val)
End dumping of the given principal - used by the
file dump
|
Iterator<BwAdminGroup> |
getAdminGroups()
Will return an Iterator returning AdminGroup objects.
|
Iterator<BwPrincipal> |
getAllPrincipals()
Will return an Iterator returning principal objects.
|
Iterator<BwAuthUser> |
getAuthUsers()
Will return an Iterator returning AuthUser objects.
|
Iterator<BwCalendar> |
getCalendars()
Will return an Iterator returning the top level BwCalendar objects.
|
Iterator<BwCalSuite> |
getCalSuites()
Will return an Iterator returning BwCalSuite objects.
|
Iterator<BwCategory> |
getCategories()
Will return an Iterator returning Category objects.
|
Collection<BwCalendar> |
getChildren(BwCalendar val) |
Iterator<BwContact> |
getContacts()
Will return an Iterator returning BwContact objects.
|
Iterator<BwEventAnnotation> |
getEventAnnotations()
Will return an Iterator returning BwEvent objects.
|
Iterator<String> |
getEventHrefs(int start)
Will return an Iterator over event hrefs.
|
Iterable<EventInfo> |
getEventInfos(String colPath)
Will return an Iterable object returning EventInfo objects.
|
Iterator<BwEvent> |
getEvents()
Will return an Iterator returning BwEvent objects.
|
Iterator<BwFilterDef> |
getFilters()
Will return an Iterator returning Filter objects.
|
Iterator<BwLocation> |
getLocations()
Will return an Iterator returning Location objects.
|
Iterator<BwPreferences> |
getPreferences()
Will return an Iterator returning BwPreferences objects.
|
void |
getResourceContent(BwResource res)
Will return the resource content for the given resource.
|
Iterator<BwResource> |
getResources()
Will return an Iterator returning User resources.
|
Iterator |
getViews()
Will return an Iterator returning view objects.
|
void |
startPrincipal(BwPrincipal val)
Prepare for dumping of the given principal - used by the
file dump
|
Iterator<BwAdminGroup> getAdminGroups() throws CalFacadeException
CalFacadeException - on errorIterator<BwAuthUser> getAuthUsers() throws CalFacadeException
CalFacadeException - on errorIterator<BwCalendar> getCalendars() throws CalFacadeException
CalFacadeException - on errorCollection<BwCalendar> getChildren(BwCalendar val) throws CalFacadeException
val - - the collectionCalFacadeException - on errorIterator<BwCalSuite> getCalSuites() throws CalFacadeException
CalFacadeException - on errorIterator<BwCategory> getCategories() throws CalFacadeException
CalFacadeException - on errorIterator<BwEvent> getEvents() throws CalFacadeException
CalFacadeException - on errorIterable<EventInfo> getEventInfos(String colPath) throws CalFacadeException
colPath - for eventsCalFacadeException - on errorIterator<String> getEventHrefs(int start) throws CalFacadeException
start - - position.CalFacadeException - on errorIterator<BwEventAnnotation> getEventAnnotations() throws CalFacadeException
Overrides are not included
CalFacadeException - on errorIterator<BwFilterDef> getFilters() throws CalFacadeException
CalFacadeException - on errorIterator<BwLocation> getLocations() throws CalFacadeException
CalFacadeException - on errorIterator<BwPreferences> getPreferences() throws CalFacadeException
CalFacadeException - on errorIterator<BwContact> getContacts() throws CalFacadeException
CalFacadeException - on errorIterator<BwPrincipal> getAllPrincipals() throws CalFacadeException
CalFacadeException - on errorIterator<BwResource> getResources() throws CalFacadeException
CalFacadeException - on errorvoid getResourceContent(BwResource res) throws CalFacadeException
res - on return resource content object will be implantedCalFacadeException - on errorIterator getViews() throws CalFacadeException
CalFacadeException - on errorvoid startPrincipal(BwPrincipal val) throws CalFacadeException
val - the principalCalFacadeException - on errorvoid endPrincipal(BwPrincipal val) throws CalFacadeException
val - the principalCalFacadeException - on errorCopyright © 2019 Bedework. All rights reserved.