Package be.gaudry.bibliobrol.dao.derby
Class DerbyPerson
java.lang.Object
be.gaudry.bibliobrol.dao.derby.DerbyPerson
- All Implemented Interfaces:
IPersonDao
- Since:
- 1.0 4 oct. 2008
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytePicture(int personId)
getPicture(int personId)
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
-
DerbyPerson
public DerbyPerson()
-
-
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
-
getBytePicture
public byte[] getBytePicture(int personId) -
getPicture
- Specified by:
getPicture
in interfaceIPersonDao
- Returns:
- Picture of the person, or null if nothing found
-