| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| 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.  | 
 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.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||