public class SQLPlugin extends java.lang.Object implements IPersistenceProvider
| Constructor and Description |
|---|
SQLPlugin()
Initialize mysqllite db in plugins/sqlPlugin
|
| Modifier and Type | Method and Description |
|---|---|
void |
Clear() |
void |
EndTransaction(boolean commit)
Ends a transaction
|
ICommandDAO |
GetCommandDAO()
gets the command DAO
|
IGameDAO |
GetGameDAO()
Gets the game DAO
|
IUserDAO |
GetUserDAO()
Gets the user DAO
|
void |
StartTransaction() |
public void Clear()
Clear in interface IPersistenceProviderpublic void StartTransaction()
StartTransaction in interface IPersistenceProviderpublic void EndTransaction(boolean commit)
IPersistenceProviderEndTransaction in interface IPersistenceProviderpublic IUserDAO GetUserDAO()
IPersistenceProviderGetUserDAO in interface IPersistenceProviderpublic IGameDAO GetGameDAO()
IPersistenceProviderGetGameDAO in interface IPersistenceProviderpublic ICommandDAO GetCommandDAO()
IPersistenceProviderGetCommandDAO in interface IPersistenceProvider