This class is composed of three properties:
•OptimisticLockControl: When its value is established to true, a record copy will have to be provided before the modification (originalRecords argument) to use the Optimistic Lock technique. This copy can be obtained from a previous Read operation. The database, before executing any modification, reads the record and compares it with the originalRecords copy, if they are equals, it carries on with the record delete. But if they are not equal, the record has been modified by another user and will not be deleted, as it is not the same as the one that was originally intended to be deleted.
•RecoverRecordIdTypeLinkar: This property is an object that must be created as a RecoverRecordIdTypeLinkar class instance. With this property, you are indicating that the record ItemID to delete will be recoverable and afterwards it will be assigned to a new record. This codes recovery system uses the LK.COUNTERS file.
•Boolean property. If it is established to true, this indicates that the deleted record code you wish to recover through the SUB.LK.MAIN.NEWRECOVERRECORDID.CUSTOM routine must be created in the database
optimisticLockControl
|
boolean |
false |
checks out if the file has not been modified by another user |
recoverRecordIdTypeLinkar
|
null |
code recovering options |
|
recoverRecordIdCustom
|
boolean |
false |
indicates if the code must be recovered |