|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextDAO
Defines the functions that the Context needs to access the database
| Method Summary | |
|---|---|
User |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate user with the given username and password. |
void |
checkCoreDataset()
Compares core data against the current database and inserts data into the database where necessary |
void |
clearSession()
Clear session. |
void |
closeDatabaseConnection()
|
void |
closeSession()
Close session. |
void |
evictFromSession(java.lang.Object obj)
Used to clear a cached object out of a session in the middle of a unit of work. |
void |
openSession()
Open session. |
void |
shutdown()
Stops the OpenMRS System Should be called after all activity has ended and application is closing |
void |
startup(java.util.Properties props)
Starts the OpenMRS System Should be called prior to any kind of activity |
| Method Detail |
|---|
@Transactional(readOnly=true)
User authenticate(java.lang.String username,
java.lang.String password)
throws ContextAuthenticationException
username - password -
ContextAuthenticationExceptionvoid openSession()
void closeSession()
@Transactional void clearSession()
void evictFromSession(java.lang.Object obj)
obj - The object to evict/remove from the sessionContext.evictFromSession(Object)@Transactional void startup(java.util.Properties props)
Properties - @Transactional void shutdown()
@Transactional void checkCoreDataset()
void closeDatabaseConnection()
|
OpenMRS-trunk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||