class DatabaseConnector {

  public void removeOutdatedSectorIDsFromBlacklistentry()
  {
    int rowsAffected = jdbcTemplate.update("DELETE FROM BLACKLISTENTRY WHERE SECTORID <> ?",
                                           Base64.getEncoder()
                                                 .encodeToString(getTerminalsFromTerminalpermission().get(0)));
    log.info("Deleted {} entries with outdated sectorIDs from Blacklistentry", rowsAffected);
  }

  public  DatabaseConnector(JdbcTemplate jdbcTemplate);

}