Interface IPersonDao

All Known Implementing Classes:
DerbyPerson, MsAccessPerson, MySQLPerson

public interface IPersonDao
Since:
1.0 4 oct. 2008
Author:
Steph GAUDRY
  • Method Details

    • loadAsyncPersonsLos

      void loadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, ActorRole role)
      Parameters:
      worker - to allow loading the list asynchronous and sending each result in an Object[]
      role - role where the persons may be
    • loadAsyncPersonsLos

      void loadAsyncPersonsLos(AbstractBrolWorker<Integer> worker, String lastName)
      Parameters:
      worker - to allow loading the list asynchronous and sending each result in an Object[]
      lastName - of the persons
    • loadPerson

      Person loadPerson(int id)
    • loadActorRoleCatalog

      Map<Integer,​ActorRole> loadActorRoleCatalog()
    • loadAsyncRoles

      void loadAsyncRoles(AbstractBrolWorker<Integer> worker, int personId)
      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

      Image getPicture(int personId)
      Parameters:
      personId -
      Returns:
      Picture of the person, or null if nothing found