de.esprit.appsuite.database.dbgui

## Interface RecordCollection<R extends DBRecord>

- All Known Subinterfaces:
    RemoteRecordCollection<T>
  All Known Implementing Classes:
    ABORecordTable, ClientRecordList, ClientRecordTable, DBRecordList, DBRecordTable

      public interface RecordCollection<R extends DBRecord>

  This interface is implemented by classes that visualize Database records like `DBRecordList` and `DBRecordTable`
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `addRecord(R newRec)`
    `int` | `addRecord(R newRec, boolean isScrollVisible)`
    `R` | `getMasterRecord()`
    `R` | `getRecord(int i)`
    `R` | `getSelectedRecord()`
    `int` | `removeRecord(R currentRec)`
    `int` | `removeRecord(R currentRec, boolean isAdjustSelection)`
    `boolean` | `replaceRecord(R changedRec)`

- - ### Method Detail

    - #### getRecord

          R getRecord(int i)

    - #### getSelectedRecord

          R getSelectedRecord()

    - #### getMasterRecord

          R getMasterRecord()

    - #### addRecord

          int addRecord(R newRec)

    - #### addRecord

          int addRecord(R newRec,
                      boolean isScrollVisible)

    - #### removeRecord

          int removeRecord(R currentRec)

    - #### removeRecord

          int removeRecord(R currentRec,
                         boolean isAdjustSelection)

    - #### replaceRecord

          boolean replaceRecord(R changedRec)

Copyright © 2014 EsprIT-Systems. All Rights Reserved.