|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minetti.astrodevice.server.hibernate.dao.DaoFactory
public final class DaoFactory
DAO factory used by the DaoModuleImpl class.
| Constructor Summary | |
|---|---|
DaoFactory(javax.persistence.EntityManagerFactory factory)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the factory. |
DaoSession |
newDaoSession()
Returns the session used for the DAO. |
DaoTransaction |
newDaoTransaction(DaoSession session)
Creates and returns a new instance of transaction used to group multiple changing by DAO. |
DeviceSpecificationDao |
newDeviceSpecificationDao(DaoSession session)
Creates and returns a new instance of DAO for specifications on devices. |
ObservingSiteDao |
newObservingSiteDao(DaoSession session)
Creates and returns a new instance of DAO for observing sites. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DaoFactory(javax.persistence.EntityManagerFactory factory)
factory - Entity manager factory.| Method Detail |
|---|
public DaoSession newDaoSession()
public DaoTransaction newDaoTransaction(DaoSession session)
session - Session used for the DAO.
public ObservingSiteDao newObservingSiteDao(DaoSession session)
session - Session used for the DAO.
public DeviceSpecificationDao newDeviceSpecificationDao(DaoSession session)
session - Session used for the DAO.
public void close()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||