|
Servoy 5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IDatabaseManager
The foundset manager interface for handling all kinds of database functions.
| Field Summary |
|---|
| Fields inherited from interface com.servoy.j2db.dataprocessing.ISaveConstants |
|---|
AUTO_SAVE_BLOCKED, SAVE_FAILED, STOPPED, VALIDATION_FAILED |
| Method Summary | |
|---|---|
boolean |
commitTransaction()
Commit a transaction |
String |
getDataSource(ITable table)
Get a datasource for a table object interface |
ITable |
getTable(String dataSource)
Get a table object interface for a datasource |
String |
getTransactionID(String serverName)
Get the transaction id, the client may have. |
boolean |
hasTransaction()
Check if a transaction is present |
void |
rollbackTransaction()
rollback a transaction |
int |
saveData()
Save data |
void |
startTransaction()
Start a transaction |
| Method Detail |
|---|
boolean commitTransaction()
String getDataSource(ITable table)
table - the table
ITable getTable(String dataSource)
throws RepositoryException
dataSource - the datasource
RepositoryException
String getTransactionID(String serverName)
throws ServoyException
serverName - the server name for which a transaction id is requested
ServoyExceptionboolean hasTransaction()
void rollbackTransaction()
int saveData()
ISaveConstantsvoid startTransaction()
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||