Interface DeleteDbRowOpFactory

All Known Implementing Classes:
ConditionalSoftDeleteDbRowOpFactory, HardDeleteDbRowOpFactory

public interface DeleteDbRowOpFactory
A factory of delete row ops used by the commit pipeline.
Since:
5.0
  • Method Details

    • createOp

      DeleteDbRowOp createOp(Persistent object, DbEntity entity, ObjectId id)
      Creates a delete op for a given object and target table.
      Parameters:
      object - the object being deleted
      entity - the target DbEntity (may be the root table or an additional / flattened table)
      id - the id of the row being deleted
      Returns:
      a delete op