Keep our Pattern Zoo tidy (Part 2)
ahatzis
|
Giovedì, 29 Settembre 2005
|
Today I continue with a pattern where business objects can be logically deleted and restored by using the '
restorable'
pattern. Different from the 'trash bin' pattern in part 1 this pattern
is based on booleans expressing the state of an object, either
logically deleted or not. Both patterns are non-historical.
In addition Restorable covers also a mechanism to process
business class specific logic before an object is logically deleted
(trashed).