|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.db.DbOperation
public class DbOperation
A DbOperation provides methods that are not part of DbObjects
and is associated to a Db-connection. Complex transactions are usually
DbOperations. DbOperations are remote capabable.
| Constructor Summary | |
|---|---|
DbOperation(Db db)
Creates a db operation. |
|
| Method Summary | |
|---|---|
Db |
getDb()
Get the logical db connection for this operation. |
DbOperationRemoteDelegate |
getRemoteDelegate()
Gets the delegate for remote connections. Each class has its own delegate. |
DbOperationRemoteDelegate |
getRemoteDelegate(Db db)
Gets the RemoteDelegate for the class and db. |
int |
getRemoteDelegateId(Db db)
Gets the delegateId of the class, i.e. |
void |
setDb(Db db)
Sets the logical db connection for this operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbOperation(Db db)
db - the logical db connection| Method Detail |
|---|
public void setDb(Db db)
db - the db connectionpublic Db getDb()
public DbOperationRemoteDelegate getRemoteDelegate()
public int getRemoteDelegateId(Db db)
db - the db connection
public DbOperationRemoteDelegate getRemoteDelegate(Db db)
db - the db connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||