Interface ITableExaminer

All Superinterfaces:
IDatabaseObjectExaminer
All Known Implementing Classes:
TableExaminer

public interface ITableExaminer extends IDatabaseObjectExaminer
Author:
Silvan Wyss
  • Method Details

    • allNewAndEditedMandatoryFieldsAreSet

      boolean allNewAndEditedMandatoryFieldsAreSet(ITable<?> table)
      Parameters:
      table -
      Returns:
      true if all new and edited mandatory fields of the IEntitys of the given table are set, false otherwise.
    • canInsertEntity

      boolean canInsertEntity(ITable<?> table)
      Parameters:
      table -
      Returns:
      true if the given table can insert a IEntity, false otherwise.
    • canInsertGivenEntity

      boolean canInsertGivenEntity(ITable<?> table, IEntity entity)
      Parameters:
      table -
      entity -
      Returns:
      true if the given table can insert the given entity, false otherwise.
    • containsEntityWithGivenIdInLocalData

      boolean containsEntityWithGivenIdInLocalData(ITable<?> table, String id)
      Parameters:
      table -
      id -
      Returns:
      true if the given table contains a IEntity with the given id in the local data, false otherwise.
    • hasInsertedGivenEntityInLocalData

      boolean hasInsertedGivenEntityInLocalData(ITable<?> table, IEntity entity)
      Parameters:
      table -
      entity -
      Returns:
      true if the the given table has inserted the given entity in the local data, false otherwise.