Skip to content

Refactor deletion-related methods to facilitate a callback structure that more...

Jim Coble requested to merge DDR-1647-persister-delete-methods-refactor into develop

Refactor deletion-related methods to facilitate a callback structure that more closely aligns with DDR-C; DDR-1647.

DDR-C has two deletion-related methods -- 'deaccession' and 'destroy' -- each of which has its own callbacks and each of which calls 'delete', which itself has no callbacks. The refactoring in this commit more closely mimics that approach, with methods 'deaccession' and 'delete', each of which has its own callbacks, and each of which calls 'remove'. The 'destroy' method continues to be essentially an alias for 'delete' for backwards compatibility.

Merge request reports

Loading