StorageType
public interface RowModificationControlColumn
RowModificationControlColumn
interface is implemented by MOMutableColumn
classes that
control any modifications of the whole row. The control is executed when DefaultMOTable
has finished
preparing all modified columns with success by calling the
prepareRow(SubRequest, MOMutableTableRow, MOTableRow)
method.Modifier and Type | Method | Description |
---|---|---|
void |
prepareRow(SubRequest subRequest,
MOMutableTableRow currentRow,
MOTableRow changeSet) |
Prepares a row for changes described by the supplied change set.
|
void prepareRow(SubRequest subRequest, MOMutableTableRow currentRow, MOTableRow changeSet)
subRequest
should be set to the appropriate error
status value.
This method is called only once per modified row.
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.Copyright © 2018 SNMP4J.org. All rights reserved.