Interface ISchoolDao

All Known Subinterfaces:
ISchoolAdminDao
All Known Implementing Classes:
DerbySchool, DerbySchoolAdmin

public interface ISchoolDao
Defines the general contract of School or SchoolClass loading.
Do not provides any method to manage these persistent objects (you must use administration module for that).
Since:
1.0 23 oct. 2008
Author:
Steph GAUDRY
  • Method Details

    • loadSchool

      School loadSchool(int schoolId, boolean lazy)
      Parameters:
      schoolId -
      lazy - true to load only school name, false to load also director and schoolClasses (only id's and names)
      Returns:
    • loadAsyncSchoolsLos

      void loadAsyncSchoolsLos(AbstractBrolWorker<Integer> worker)
      Parameters:
      worker - to allow loading the list asynchronous and sending each result in an Object[]
    • loadAsyncTeachersLos

      void loadAsyncTeachersLos(AbstractBrolWorker<Integer> worker, School school)
      Parameters:
      worker - to allow loading the list asynchronous and sending each result in an Object[]
    • loadSchoolClass

      SchoolClass loadSchoolClass(int id, boolean lazy)
      If lazy arg is false, loads also:
      • students
      • periods for the schoolYear
      Parameters:
      id -
      lazy -
      Returns:
    • loadAsyncSchoolClassesLos

      void loadAsyncSchoolClassesLos(AbstractBrolWorker worker, int schoolYearId)
      Parameters:
      worker -
    • loadSchoolClassesLos

      List<AbstractLightObject> loadSchoolClassesLos(int schoolYearId)
    • loadAsyncSchoolClassesLos

      void loadAsyncSchoolClassesLos(AbstractBrolWorker worker, AbstractLightObject selectedSchool, int schoolYearId)
      Parameters:
      worker -
      selectedSchool -
    • loadSchoolsLos

      List<AbstractLightObject> loadSchoolsLos()
      Returns: