The nsITransactionListener interface.
This interface is implemented by an object that tracks transactions. ## Methods ## ### willDo(aManager, aTransaction) ### Called before a transaction manager calls a transaction's doTransaction() method. #### Parameters ####
aManager | the transaction manager doing the transaction. |
aTransaction | the transaction being executed. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. |
aManager | the transaction manager that did the transaction. |
aTransaction | the transaction that was executed. |
aDoResult | the nsresult returned after executing the transaction. |
aManager | the transaction manager undoing the transaction. |
aTransaction | the transaction being undone. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. Note that listeners can also interrupt normal control flow by throwing an nsresult that indicates an error. |
aManager | the transaction manager undoing the transaction. |
aTransaction | the transaction being undone. |
aUndoResult | the nsresult returned after undoing the transaction. |
aManager | the transaction manager redoing the transaction. |
aTransaction | the transaction being redone. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. Note that listeners can also interrupt normal control flow by throwing an nsresult that indicates an error. |
aManager | the transaction manager redoing the transaction. |
aTransaction | the transaction being redone. |
aRedoResult | the nsresult returned after redoing the transaction. |
aManager | the transaction manager beginning a batch. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. Note that listeners can also interrupt normal control flow by throwing an nsresult that indicates an error. |
aManager | the transaction manager that began a batch. |
aResult | the nsresult returned after beginning a batch. |
aManager | the transaction manager ending a batch. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. Note that listeners can also interrupt normal control flow by throwing an nsresult that indicates an error. |
aManager | the transaction manager ending a batch. |
aResult | the nsresult returned after ending a batch. |
aManager | the transaction manager ending a batch. |
aTopTransaction | the transaction at the top of the undo stack. |
aTransactionToMerge | the transaction to merge. @result boolean value returned by listener which indicates its desire to interrupt normal control flow. Listeners should return true if they want to interrupt normal control flow, without throwing an error. Note that listeners can also interrupt normal control flow by throwing an nsresult that indicates an error. |
aManager | the transaction manager ending a batch. |
aTopTransaction | the transaction at the top of the undo stack. |
aTransactionToMerge | the transaction to merge. |
aDidMerge | true if transaction was merged, else false. |
aMergeResult | the nsresult returned after the merge attempt. |
aInterrupt | listeners should set this to PR_TRUE if they want to interrupt normal control flow, without throwing an error. |