Interface IPlanningDao

All Known Implementing Classes:
DerbyPlanning

public interface IPlanningDao
Defines the general contract of 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 Details

    • loadSchoolYear

      SchoolYear loadSchoolYear(int schoolYearId, boolean lazy)
      Parameters:
      schoolYearId -
      lazy - true to load only start and end dates, false to load also all periods
      Returns:
    • loadAsyncSchoolYearsLos

      void loadAsyncSchoolYearsLos(AbstractBrolWorker worker)
      Parameters:
      worker -
    • loadSchoolYearsLos

      List<AbstractLightObject> loadSchoolYearsLos()
      Returns:
    • saveOrUpdate

      int saveOrUpdate(SchoolYear schoolYear)
      Parameters:
      schoolYear -
      Returns:
      schoolYear id
    • add

      void add(SchoolYear schoolYear, Period period)
      Parameters:
      schoolYear -
      period -
    • remove

      void remove(SchoolYear schoolYear, Period period)
      Parameters:
      schoolYear -
      period -
    • loadPeriod

      Period loadPeriod(int id)
      Parameters:
      id -
      Returns:
    • loadAsyncPeriodsLos

      void loadAsyncPeriodsLos(AbstractBrolWorker worker, AbstractLightObject selectedYear)
      Parameters:
      worker -
      selectedYear -
    • saveOrUpdate

      int saveOrUpdate(Period period)
      Parameters:
      period -
      Returns:
      period id