libris / whelk-core

0 stars 3 forks source link

Implement isDeleted for Document #1

Closed niklasl closed 6 years ago

niklasl commented 8 years ago

The deleted property has been removed from the Document class. All code handling deletes must have some way of setting and detecting this. The fact of deleted is currently manifested as a non-null timestamp value for the new deleted column in the postgres db (lddb).

I assume the solution is something like:

niklasl commented 6 years ago

Did we just do this? Ping @jannistsiroyannis.

jannistsiroyannis commented 6 years ago

We did, but the property is called [get/set]Deleted. And it's based on the recordStatus part of the document.