IDeleteProcess

Represents the entity of a deletion process in onion.net

A deletion process is a process which moves data objects from the data repository into the data archive of onion.net.

In a deletion process, just one data object, a data object (root data object) with further subordinate data objects (structure) or a list of data objects with or without subordinate data objects can be deleted.

These data objects are combined to form a process, since there could be interreferences. If the data objects were not combined, then interreferences would have to be deleted before the deletion process. There would also be the problem, should the deleted data objects be restored (i.e. be back in the state they were in before the deletion process), that the references would also have to be restored which no longer exist in the data objects however.

Properties

PropertyDescription
ArchivingUser:IUser

Gets the user who moved the data objects into the data archive.

DateArchived:DateTime

Gets the date of the time of archiving.

Id:Int32

Gets the Id of the deletion process.

RootObjects:IArchivedDataObject[]

Gets a list of all data objects explicitly added to the deletion process for deletion.

Methods

MethodDescription
Destroy():Void

Deletes the process and the associated data objects from the data archive.

Undelete():IDataObject[]

Restores all data objects.