Package backupmanager.database
Class DatabaseCatalog
java.lang.Object
backupmanager.database.BackupCatalog
backupmanager.database.DatabaseCatalog
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when backup of a stream is complete so that catalogue can be closed.catalogNewItems(List<StreamItem> allSourceItems) If possible, save new items in the backup catalog.getActionColumnName(BackupAction action) getFilterColumnName(BackupAction action) getUnactedItems(List<StreamItem> sourceItems, BackupAction action) Get a list of items that have not been operated by the given action (may vary by action, particularly if new actions are added).booleanupdateItem(StreamItem streamItem, BackupAction action) Once an action is complete, store it's result (if possible)Methods inherited from class backupmanager.database.BackupCatalog
getBackupStream, getSource 
- 
Constructor Details
- 
DatabaseCatalog
 
 - 
 - 
Method Details
- 
catalogNewItems
Description copied from class:BackupCatalogIf possible, save new items in the backup catalog. Doesn't look at output of actions yet. Used by the database to add to the backuptable.- Specified by:
 catalogNewItemsin classBackupCatalog- Parameters:
 allSourceItems- all source items- Returns:
 - items added to the catalog (hopefully a subset).
 
 - 
getUnactedItems
Description copied from class:BackupCatalogGet a list of items that have not been operated by the given action (may vary by action, particularly if new actions are added).- Specified by:
 getUnactedItemsin classBackupCatalog- Parameters:
 sourceItems- all potentially new items.action-- Returns:
 - list of items that need acting on.
 
 - 
updateItem
Description copied from class:BackupCatalogOnce an action is complete, store it's result (if possible)- Specified by:
 updateItemin classBackupCatalog- Parameters:
 streamItem-action-- Returns:
 
 - 
getActionColumnName
 - 
getFilterColumnName
 - 
backupComplete
public void backupComplete()Description copied from class:BackupCatalogCalled when backup of a stream is complete so that catalogue can be closed.- Specified by:
 backupCompletein classBackupCatalog
 
 -