Package be.gaudry.bibliobrol.dao.derby
Class DerbyBrol
java.lang.Object
be.gaudry.bibliobrol.dao.derby.DerbyBrol
- All Implemented Interfaces:
IBrolDao
- Since:
- 1.0 28-mai-08
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCover(int itemId)
Returns theitem
cover.void
loadAsyncBrolsLos(AbstractBrolWorker<Integer> worker, List<DAOBrolField> fields, int typeId)
loadBrol(int id)
-
Constructor Details
-
DerbyBrol
public DerbyBrol()
-
-
Method Details
-
loadAsyncBrolsLos
public void loadAsyncBrolsLos(AbstractBrolWorker<Integer> worker, List<DAOBrolField> fields, int typeId)- Specified by:
loadAsyncBrolsLos
in interfaceIBrolDao
- Parameters:
worker
- to allow loading the list asynchronous and sending each result in an Object[]fields
-fields
to loadtypeId
- selected type (film, book, etc.) 0 allows loading all types
-
loadBrol
-
getCover
Description copied from interface:IBrolDao
Returns theitem
cover. This image may be stored into a database, or as file into a directory (into theapplication data directory
.
The implementation may use theIConfigDao.loadConfigValue
method with theDB_VAL_ITEM_IMG_DIR_NAME
argument to know the path if needed.
-