public class ControllerSessionImpl extends java.lang.Object implements ControllerSession, DAOContext
构造器和说明 |
---|
ControllerSessionImpl(DBProvider dbProvider) |
限定符和类型 | 方法和说明 |
---|---|
void |
beginTransaction() |
void |
closeSession() |
void |
commitTransaction() |
<T> T |
getDAO(java.lang.Class<T> daoClass) |
DAOSession |
getDAOSession() |
DAOSessionStore |
getDaoSessionStore() |
ScheduleRecordEntityDAO |
getScheduleRecordEntityDAO() |
ScheduleTaskEntityDAO |
getScheduleTaskEntityDAO() |
void |
openSession() |
void |
rollbackTransaction() |
void |
setScheduleRecordEntityDAO(ScheduleRecordEntityDAO scheduleRecordEntityDAO) |
void |
setScheduleTaskEntityDAO(ScheduleTaskEntityDAO scheduleTaskEntityDAO) |
public ControllerSessionImpl(DBProvider dbProvider)
public ScheduleTaskEntityDAO getScheduleTaskEntityDAO()
getScheduleTaskEntityDAO
在接口中 ControllerSession
public void setScheduleTaskEntityDAO(ScheduleTaskEntityDAO scheduleTaskEntityDAO)
public ScheduleRecordEntityDAO getScheduleRecordEntityDAO()
getScheduleRecordEntityDAO
在接口中 ControllerSession
public void setScheduleRecordEntityDAO(ScheduleRecordEntityDAO scheduleRecordEntityDAO)
public void beginTransaction()
public void commitTransaction()
public void rollbackTransaction()
public DAOSession getDAOSession()
getDAOSession
在接口中 ControllerSession
public void openSession() throws java.lang.Exception
java.lang.Exception
public void closeSession()
public DAOSessionStore getDaoSessionStore()
public <T> T getDAO(java.lang.Class<T> daoClass)
getDAO
在接口中 DAOContext