Information Management IBM InfoSphere MDM Custom Domain Hub, Version 10.1

Understanding soft delete

A default implementation for data stewardship is to validate the status of the entities to ensure they are active before the collapse, undo collapse, or split operations.

The IEntityResolution interface, as shown below, achieves this purpose. Any entity that implements the interface and returns false for the isEntityActive method call will be considered soft deleted.

If an entity is soft deleted, no further changes are allowed to the entity or its child object. The state of the entity is considered frozen, and it retains all of its existing data, as is, after the soft delete. Any domain specific entity object to be enabled for data stewardship should implement this interface to indicate whether its status is active.

public interface IEntityResolution extends IDWLComponent {
	public boolean isEntityActive();
}

The code table CdResolutionTp is introduced for the purpose of indicating the reason why an entity is inactivated.

Table 1. CdResolutionTp code table
Resolution Type Name Description
1 Consolidated Resolution through a collapse/merge operation.
2 Split Resolution through a split operation.
3 Unconsolidated Resolution through an undo collapse operation.


Feedback

Timestamp Last updated: November 2012

Topic URL: