Schnittstelle DatabaseOperations

Alle bekannten Implementierungsklassen:
Table

public interface DatabaseOperations
  • Methodendetails

    • readData

      Object readData(Column whereColumn, StructureColumn targetColumn)
      Parameter:
      whereColumn - The specific Column witch should be in the same row as the Target
      targetColumn - The Name and Datatype of the Column witch data is requested
      Gibt zurück:
      The data witch is stored in the targetColumn
    • readColumns

      List<Column> readColumns(Column whereColumn)
      Parameter:
      whereColumn - The specific Column witch should be in the same row as the Target
      Gibt zurück:
      List of Columns
    • readRows

      List<Row> readRows()
      Gibt zurück:
      List of Rows
    • updateData

      boolean updateData(Column whereColumn, Column targetColumn)
      Parameter:
      whereColumn - The specific column witch should be in the same row as the target
      targetColumn - The column witch should be updated
      Gibt zurück:
      True if the update was successful false if not
    • updateColumns

      boolean updateColumns(Column whereColumn, List<Column> columns)
      Parameter:
      whereColumn - The specific column witch should be in the same row as the target
      columns - The columns witch should be updated
      Gibt zurück:
      True if the update was successful false if not
    • updateRows

      boolean updateRows(List<Row> rows)
      Parameter:
      rows - The rows witch should be updated
      Gibt zurück:
      True if the update was successful false if not
    • deleteRow

      boolean deleteRow(Column firstWhereColumn, Column secondWhereColumn)
      Parameter:
      firstWhereColumn - The specific column witch should be in the same row with should be deleted
      secondWhereColumn - The specific column witch should be in the same row with should be deleted
      Gibt zurück:
      true if the columns could be deleted false if not
    • deleteRows

      boolean deleteRows(Column whereColumn)
      Parameter:
      whereColumn - The specific column witch should be in the same row as the target
      Gibt zurück:
      true if the rows could be deleted false if not
    • containsColumn

      boolean containsColumn(Column whereColumn)
      Parameter:
      whereColumn - The specific column witch should be checked
      Gibt zurück:
      true if the lkk