public class CollectingDBLoadMonitor<R extends DBRecord> extends AbstractDBLoadMonitor<R> implements Clearable
| Constructor and Description |
|---|
CollectingDBLoadMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the content
|
DBRecord[] |
getDBRecordArray() |
R |
getFirstRecord() |
int |
getRecordCount()
Returns the number of records loaded by this LoadMonitor
|
java.util.List<R> |
getRecords() |
boolean |
hasRecords() |
protected boolean |
loadedDBRecord(R record)
Needs to be overridden by subclasses to do something with the loaded record
|
cancel, getError, hasError, loadedRecord, wasCancelledprotected boolean loadedDBRecord(R record) throws java.lang.Exception
AbstractDBLoadMonitorloadedDBRecord in class AbstractDBLoadMonitor<R extends DBRecord>java.lang.Exceptionpublic R getFirstRecord()
public java.util.List<R> getRecords()
public DBRecord[] getDBRecordArray()
public void clear()
Clearablepublic int getRecordCount()
AbstractDBLoadMonitorgetRecordCount in class AbstractDBLoadMonitor<R extends DBRecord>public boolean hasRecords()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.