Class HardDeleteDbRowOpFactory
java.lang.Object
org.apache.cayenne.access.flush.operation.HardDeleteDbRowOpFactory
- All Implemented Interfaces:
DeleteDbRowOpFactory
Default implementation of
DeleteDbRowOpFactory producing plain DeleteDbRowOp that translate to SQL
DELETE.- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOp(Persistent object, DbEntity entity, ObjectId id) Creates a delete op for a given object and target table.
-
Constructor Details
-
HardDeleteDbRowOpFactory
public HardDeleteDbRowOpFactory()
-
-
Method Details
-
createOp
Description copied from interface:DeleteDbRowOpFactoryCreates a delete op for a given object and target table.- Specified by:
createOpin interfaceDeleteDbRowOpFactory- Parameters:
object- the object being deletedentity- 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
-