Class DerbyFactory

java.lang.Object
be.gaudry.dao.edu.DAOFactory
be.gaudry.dao.edu.derby.DerbyFactory
All Implemented Interfaces:
IEduDAO, INotifier, PropertyChangeListener, EventListener
Direct Known Subclasses:
DerbyAdminFactory

public class DerbyFactory extends DAOFactory
Since:
1.0 Oct 13, 2008
Author:
Steph GAUDRY
  • Field Details

  • Constructor Details

    • DerbyFactory

      protected DerbyFactory()
      Creates an instance of DerbyFactory.
  • Method Details

    • getInstance

      public static DerbyFactory getInstance()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • init

      public void init()
    • getIPersonDao

      public IPersonDao getIPersonDao()
      Description copied from interface: IEduDAO
      Returns the specific persistent layer implementation of IPersonDao.
      Returns:
    • getISchoolDao

      public ISchoolDao getISchoolDao()
      Description copied from interface: IEduDAO
      Returns the specific persistent layer implementation of ISchoolDao.
      Returns:
    • getIConfigDao

      public IConfigDao getIConfigDao()
      Description copied from interface: IEduDAO
      Returns the specific persistent layer implementation of IConfigDao.
      Returns:
    • getIPlanningDao

      public IPlanningDao getIPlanningDao()
      Description copied from interface: IEduDAO
      Returns the specific persistent layer implementation of IPlanningDao.
      Returns:
    • getICourseDao

      public ICourse getICourseDao()
      Description copied from interface: IEduDAO
      Returns the specific persistent layer implementation of ICourse.
      Returns:
    • getInfos

      public String getInfos()
      TODO: use language file
      Returns:
    • create

      protected boolean create() throws SQLException
      TODO : place creation scripts in a DerbyStructure class
      Returns:
      Throws:
      SQLException