-
- All Known Implementing Classes:
StorageType
public interface RowModificationControlColumnTheRowModificationControlColumninterface is implemented byMOMutableColumnclasses that control any modifications of the whole row. The control is executed whenDefaultMOTablehas finished preparing all modified columns with success by calling theprepareRow(SubRequest, MOMutableTableRow, MOTableRow)method.- Since:
- 2.6.3
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprepareRow(SubRequest<?> subRequest, MOMutableTableRow currentRow, MOTableRow changeSet)Prepares a row for changes described by the supplied change set.
-
-
-
Method Detail
-
prepareRow
void prepareRow(SubRequest<?> subRequest, MOMutableTableRow currentRow, MOTableRow changeSet)
Prepares a row for changes described by the supplied change set. If the modification cannot be successfully prepared, the error status of the suppliedsubRequestshould be set to the appropriate error status value.This method is called only once per modified row.
- Parameters:
subRequest- the sub-request that triggered the row change and that can be used to deny the commit phase by setting its error status.currentRow- the current row (yet unmodified).changeSet- a MOTableRow instance that represents the state of the row if all changes have been applied successfully.
-
-