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 TypeMethodDescriptionvoid
loadAsyncSchoolClassesLos(AbstractBrolWorker worker, int schoolYearId)
void
loadAsyncSchoolClassesLos(AbstractBrolWorker worker, AbstractLightObject selectedSchool, int schoolYearId)
void
loadAsyncSchoolsLos(AbstractBrolWorker<Integer> worker)
void
loadAsyncTeachersLos(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
-true
to load only school name,false
to 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:
-