public class SoftDeleteBatchTranslator extends DeleteBatchTranslator
DeleteBatchTranslator, which uses 'soft' delete
 (runs UPDATE and sets 'deleted' field to true instead-of running SQL DELETE)adapter, bindings, query, sql, translated, trimFunction| Constructor and Description | 
|---|
| SoftDeleteBatchTranslator(DeleteBatchQuery query,
                         DbAdapter adapter,
                         String trimFunction,
                         String deletedFieldName) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DbAttributeBinding[] | createBindings() | 
| protected String | createSql() | 
| protected DbAttributeBinding[] | doUpdateBindings(BatchQueryRow row) | 
applyQualifierappendDbAttribute, ensureTranslated, getBindings, getSql, updateBindingspublic SoftDeleteBatchTranslator(DeleteBatchQuery query, DbAdapter adapter, String trimFunction, String deletedFieldName)
protected String createSql()
createSql in class DeleteBatchTranslatorprotected DbAttributeBinding[] createBindings()
createBindings in class DeleteBatchTranslatorprotected DbAttributeBinding[] doUpdateBindings(BatchQueryRow row)
doUpdateBindings in class DeleteBatchTranslatorCopyright © 2001–2023 Apache Cayenne. All rights reserved.