Package be.gaudry.bibliobrol.dao
Interface IBrolDao
- All Known Implementing Classes:
DerbyBrol,MsAccessBrol,MySQLBrol
public interface IBrolDao
- Since:
- 1.0 30-nov.-07
- Author:
- Steph GAUDRY
-
Method Summary
Modifier and TypeMethodDescriptiongetCover(int itemId)Returns theitemcover.voidloadAsyncBrolsLos(AbstractBrolWorker<Integer> worker, List<DAOBrolField> fields, int typeId)loadBrol(int id)
-
Method Details
-
loadAsyncBrolsLos
- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]fields-fieldsto loadtypeId- selected type (film, book, etc.) 0 allows loading all types
-
loadBrol
-
getCover
Returns theitemcover. This image may be stored into a database, or as file into a directory (into theapplication data directory.
The implementation may use theIConfigDao.loadConfigValuemethod with theDB_VAL_ITEM_IMG_DIR_NAMEargument to know the path if needed.- Parameters:
itemId-- Returns:
- Cover of the
item, or null if nothing found
-