|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.kernel.DatabaseTransaction
Represents a database transaction.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
DatabaseTransaction()
|
Method Summary | |
void |
abort()
Aborts the transaction if it hasn't already ended. |
void |
begin()
Starts the transaction if it hasn't already been started. |
void |
commit()
Commits the transaction if it hasn't already ended. |
void |
end()
Finishes the transaction if it hasn't already ended. |
boolean |
isCommitRequested()
Tells whether the transaction should be committed or aborted at its end. |
void |
setCommitRequested(boolean isCommitRequested)
Requests that the transaction be committed or aborted at its end. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public DatabaseTransaction()
Method Detail |
public final void begin()
public final void end()
isCommitRequested()
.
public final void commit()
public final void abort()
public final boolean isCommitRequested()
public final void setCommitRequested(boolean isCommitRequested)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |