Sets archived} status flag to the passed value.
The execution of this method requires an active transaction.