Interface IBrolDao

All Known Implementing Classes:
DerbyBrol, MsAccessBrol, MySQLBrol

public interface IBrolDao
Since:
1.0 30-nov.-07
Author:
Steph GAUDRY
  • Method Details

    • loadAsyncBrolsLos

      void loadAsyncBrolsLos(AbstractBrolWorker<Integer> worker, List<DAOBrolField> fields, int typeId)
      Parameters:
      worker - to allow loading the list asynchronous and sending each result in an Object[]
      fields - fields to load
      typeId - selected type (film, book, etc.) 0 allows loading all types
    • loadBrol

      Brol loadBrol(int id)
    • getCover

      Image getCover(int itemId)
      Returns the item cover. This image may be stored into a database, or as file into a directory (into the application data directory.

      The implementation may use the IConfigDao.loadConfigValue method with the DB_VAL_ITEM_IMG_DIR_NAME argument to know the path if needed.
      Parameters:
      itemId -
      Returns:
      Cover of the item, or null if nothing found