- 
- All Superinterfaces:
- Scope
 
 public interface RecordContext extends Scope A context object forRecordmanipulation passed to registeredRecordListener's.- Author:
- Lukas Eder
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Record[]batchRecords()TheRecord(s) that are being manipulated in batch mode.Exceptionexception()TheExceptionbeing thrown ornull.Recordrecord()TheRecordthat is being manipulated.RecordType<?>recordType()TheRecordTypeof therecord()that is being manipulated.ExecuteTypetype()The type of database interaction that is being executed.
 
- 
- 
- 
Method Detail- 
typeExecuteType type() The type of database interaction that is being executed.Unlike ExecuteContext.type(), this can only result in any of these:- ExecuteType.BATCHwhen calling- batchStore(),- batchInsert(),- batchUpdate(),- batchDelete().
- ExecuteType.READwhen calling- refresh()
- ExecuteType.WRITEwhen calling- store(),- insert(),- update(),- delete().
 - See Also:
- ExecuteType
 
 - 
recordRecord record() TheRecordthat is being manipulated.- Returns:
- The Recordbeing manipulated. This is nevernull
 
 - 
recordTypeRecordType<?> recordType() TheRecordTypeof therecord()that is being manipulated.- Returns:
- The RecordTypebeing manipulated. This is nevernull.
 
 - 
batchRecordsRecord[] batchRecords() TheRecord(s) that are being manipulated in batch mode.If a single Recordis being manipulated in non-batch mode, this will return an array of length1, containing thatRecord.- Returns:
- The Record(s) being manipulated. This is nevernull
 
 
- 
 
-