|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.db.DbOperation
org.tentackle.appworx.AppDbOperation
public class AppDbOperation
A AppDbOperation provides methods that are not part of AppDbObjects
and is associated to a ContextDb. Complex transactions are usually
AppDbOperations. AppDbOperations are remote capabable.
| Constructor Summary | |
|---|---|
AppDbOperation(ContextDb contextDb)
Creates a db operation from a database context. |
|
AppDbOperation(Db db)
Creates a db operation from a db connection. |
|
| Method Summary | |
|---|---|
ContextDb |
getContextDb()
Gets the database context. |
void |
setContextDb(ContextDb contextDb)
Sets the database context. |
void |
setDb(Db db)
Sets the logical db connection for this operation. |
| Methods inherited from class org.tentackle.db.DbOperation |
|---|
getDb, getRemoteDelegate, getRemoteDelegate, getRemoteDelegateId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppDbOperation(ContextDb contextDb)
contextDb - the database contextpublic AppDbOperation(Db db)
db - the logical db connection| Method Detail |
|---|
public void setDb(Db db)
Overridden to set the Db in ContextDb as well.
setDb in class DbOperationdb - the db connectionpublic void setContextDb(ContextDb contextDb)
contextDb - the contextpublic ContextDb getContextDb()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||