Package be.gaudry.dao.edu.derby
Class DerbySchool
java.lang.Object
be.gaudry.dao.edu.derby.DerbySchool
- All Implemented Interfaces:
ISchoolDao
- Direct Known Subclasses:
DerbySchoolAdmin
- Since:
- 1.0 Oct 23, 2008
- Author:
- Steph GAUDRY
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PreparedStatement(package private) PreparedStatement(package private) PreparedStatement(package private) PreparedStatement -
Constructor Summary
Constructors -
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)
-
Field Details
-
loadSchoolStatement
PreparedStatement loadSchoolStatement -
loadSchoolLazyStatement
PreparedStatement loadSchoolLazyStatement -
loadSchoolClassStatement
PreparedStatement loadSchoolClassStatement -
loadSchoolClassLazyStatement
PreparedStatement loadSchoolClassLazyStatement
-
-
Constructor Details
-
DerbySchool
public DerbySchool()
-
-
Method Details
-
loadSchool
- Specified by:
loadSchoolin interfaceISchoolDaolazy-trueto load only school name,falseto load also director and schoolClasses (only id's and names)- Returns:
-
loadSchoolsLos
- Specified by:
loadSchoolsLosin interfaceISchoolDao- Returns:
-
loadAsyncSchoolsLos
- Specified by:
loadAsyncSchoolsLosin interfaceISchoolDao- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]
-
loadAsyncSchoolClassesLos
- Specified by:
loadAsyncSchoolClassesLosin interfaceISchoolDao
-
loadAsyncSchoolClassesLos
public void loadAsyncSchoolClassesLos(AbstractBrolWorker worker, AbstractLightObject selectedSchool, int schoolYearId)- Specified by:
loadAsyncSchoolClassesLosin interfaceISchoolDao
-
loadSchoolClassesLos
- Specified by:
loadSchoolClassesLosin interfaceISchoolDao
-
loadSchoolClass
Description copied from interface:ISchoolDaoIf lazy arg is false, loads also:- students
- periods for the schoolYear
- Specified by:
loadSchoolClassin interfaceISchoolDao- Returns:
-
loadAsyncTeachersLos
- Specified by:
loadAsyncTeachersLosin interfaceISchoolDao- Parameters:
worker- to allow loading the list asynchronous and sending each result in an Object[]
-