|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceTransaction
A logical grouping of write operations on a SourceFile.
Method Summary | |
---|---|
void |
abort()
Rolls back changes to the beginning of the transaction and releases all locked resources. |
void |
addListener(SourceTransactionListener listener)
Registers the given observer to begin receiving notifications when changes are made on this SourceFile or when this SourceFile is invalidated. |
javax.swing.undo.UndoableEdit |
commit()
Logically ends this transaction. |
java.util.Collection |
getChanges()
Deprecated. Not supported in this production release. |
SourceFile |
getOwningSourceFile()
|
void |
removeListener(SourceTransactionListener listener)
Unregisters the given observer. |
void |
rollback()
Rolls back all changes made in this transaction, but keeps the transaction open. |
void |
rollback(SourceSavepoint savepoint)
Rolls back changes up to the given savepoint. |
SourceSavepoint |
savepoint()
|
Method Detail |
---|
SourceFile getOwningSourceFile()
SourceSavepoint savepoint()
void rollback(SourceSavepoint savepoint)
void rollback()
javax.swing.undo.UndoableEdit commit()
void abort()
void addListener(SourceTransactionListener listener)
listener
- The listener to be added.void removeListener(SourceTransactionListener listener)
listener
- The listener to be removed.@Deprecated java.util.Collection getChanges()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |