Developing Backup Applications

The partial class specifications in this section show the relevant properties and methods used in the method examples later in this chapter. The BackupDatabaseDlg and BackupManager classes operate in collaboration, with the BackupDatabaseDlg class responsible for user-interface and monitoring concerns and the BackupManager class responsible for initiating backup operations using an instance of the JadeDatabaseAdmin class. The DbAdmin class is a subclass of the Application class.

These method examples demonstrate the use of backup progress notifications, and as they exclude most user interface concerns, they assume that the ‘option’ attributes have been edited and set by the implementation of the BackupDatabaseDlg class.