Package be.gaudry.dao.edu
Interface ISchoolDao
- All Known Subinterfaces:
ISchoolAdminDao
- All Known Implementing Classes:
DerbySchool,DerbySchoolAdmin
public interface ISchoolDao
Defines the general contract of
Do not provides any method to manage these persistent objects (you must use administration module for that).
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 Summary
Modifier and TypeMethodDescriptionvoidloadAsyncSchoolClassesLos(AbstractBrolWorker worker, int schoolYearId)voidloadAsyncSchoolClassesLos(AbstractBrolWorker worker, AbstractLightObject selectedSchool, int schoolYearId)voidloadAsyncSchoolsLos(AbstractBrolWorker<Integer> worker)voidloadAsyncTeachersLos(AbstractBrolWorker<Integer> worker, School school)loadSchool(int schoolId, boolean lazy)loadSchoolClass(int id, boolean lazy)If lazy arg is false, loads also: students periods for the schoolYearloadSchoolClassesLos(int schoolYearId)
-
Method Details
-
loadSchool
- Parameters:
schoolId-lazy-trueto load only school name,falseto load also director and schoolClasses (only id's and names)- Returns:
-
loadAsyncSchoolsLos
- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]
-
loadAsyncTeachersLos
- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]
-
loadSchoolClass
If lazy arg is false, loads also:- students
- periods for the schoolYear
- Parameters:
id-lazy-- Returns:
-
loadAsyncSchoolClassesLos
- Parameters:
worker-
-
loadSchoolClassesLos
-
loadAsyncSchoolClassesLos
void loadAsyncSchoolClassesLos(AbstractBrolWorker worker, AbstractLightObject selectedSchool, int schoolYearId)- Parameters:
worker-selectedSchool-
-
loadSchoolsLos
List<AbstractLightObject> loadSchoolsLos()- Returns:
-