I would like to mark deleted rows as deleted using a flag instead of actually removing them from database.
I would like to use a trigger so I do not have to care about that in the application layer.

And

But what should I do to specify that the row should not be deleted?
I am using Oracle 11g XE