Package be.gaudry.bibliobrol.dao
Interface IPersonDao
- All Known Implementing Classes:
DerbyPerson,MsAccessPerson,MySQLPerson
public interface IPersonDao
- Since:
- 1.0 4 oct. 2008
- Author:
- Steph GAUDRY
-
Method Summary
Modifier and TypeMethodDescriptiongetPicture(int personId)voidloadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, ActorRole role)voidloadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, String lastName)voidloadAsyncRoles(AbstractBrolWorker<Integer> worker, int personId)Load roles for a personloadPerson(int id)
-
Method Details
-
loadAsyncPersonsLos
- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]role- role where the persons may be
-
loadAsyncPersonsLos
- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]lastName- of the persons
-
loadPerson
-
loadActorRoleCatalog
-
loadAsyncRoles
Load roles for a person- 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
- Parameters:
personId-- Returns:
- Picture of the person, or null if nothing found
-