class ImageDB {

  public boolean hasImageID(ImageDBKey imageKey, ImageSize imageSize) {
    if (imageKey == null) {
      log.error("The supplied image key is null.");
      throw new NullPointerException("The supplied image key is null.");
    }

    if (imageKey.isProductKey()) {
      return hasImageID(imageKey.getProductID(), imageSize);
    }
    return hasImageID(imageKey.getWebUIName(), imageSize);
  }

  public  ImageDB();
  public  ImageDB(ImageDB copy);

}