Package be.gaudry.dao.edu
Interface IPlanningDao
- All Known Implementing Classes:
DerbyPlanning
public interface IPlanningDao
Defines the general contract of
Do not provides any method to manage these persistent objects (you must use administration module for that).
SchoolYear
or Period
loading.
Do not provides any method to manage these persistent objects (you must use administration module for that).
- Since:
- 1.0 1 nov. 2008
- Author:
- Steph GAUDRY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add(SchoolYear schoolYear, Period period)
void
loadAsyncPeriodsLos(AbstractBrolWorker worker, AbstractLightObject selectedYear)
void
loadPeriod(int id)
loadSchoolYear(int schoolYearId, boolean lazy)
void
remove(SchoolYear schoolYear, Period period)
int
saveOrUpdate(Period period)
int
saveOrUpdate(SchoolYear schoolYear)
-
Method Details
-
loadSchoolYear
- Parameters:
schoolYearId
-lazy
-true
to load only start and end dates,false
to load also all periods- Returns:
-
loadAsyncSchoolYearsLos
- Parameters:
worker
-
-
loadSchoolYearsLos
List<AbstractLightObject> loadSchoolYearsLos()- Returns:
-
saveOrUpdate
- Parameters:
schoolYear
-- Returns:
- schoolYear id
-
add
- Parameters:
schoolYear
-period
-
-
remove
- Parameters:
schoolYear
-period
-
-
loadPeriod
- Parameters:
id
-- Returns:
-
loadAsyncPeriodsLos
- Parameters:
worker
-selectedYear
-
-
saveOrUpdate
- Parameters:
period
-- Returns:
- period id
-