Class MsAccessPerson
java.lang.Object
be.gaudry.bibliobrol.dao.msaccess.MsAccessPerson
- All Implemented Interfaces:
IPersonDao
- Since:
- 1.0 4 oct. 2008
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPicture(int personId)
TODO : load image from the DB.void
loadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, ActorRole role)
void
loadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, String lastName)
void
loadAsyncRoles(AbstractBrolWorker<Integer> worker, int personId)
Load roles for a personloadPerson(int id)
-
Constructor Details
-
MsAccessPerson
- Parameters:
dbConnection
-
-
-
Method Details
-
loadAsyncPersonsLos
- Specified by:
loadAsyncPersonsLos
in interfaceIPersonDao
- Parameters:
worker
- to allow loading the list asynchronous and sending each result in an Object[]role
- role where the persons may be
-
loadAsyncPersonsLos
- Specified by:
loadAsyncPersonsLos
in interfaceIPersonDao
- Parameters:
worker
- to allow loading the list asynchronous and sending each result in an Object[]lastName
- of the persons
-
loadPerson
- Specified by:
loadPerson
in interfaceIPersonDao
-
loadActorRoleCatalog
- Specified by:
loadActorRoleCatalog
in interfaceIPersonDao
-
loadAsyncRoles
Description copied from interface:IPersonDao
Load roles for a person- Specified by:
loadAsyncRoles
in interfaceIPersonDao
- Parameters:
worker
- to allow loading the list asynchronous and sending each result in an Object[]personId
- ID of the person for whom we want to load the roles
-
getPicture
TODO : load image from the DB. Create a new table person_picture(id,picture) for performances (we don't always need pictures)- Specified by:
getPicture
in interfaceIPersonDao
- Returns:
- Picture of the person, or null if nothing found
-