WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/browser/placesTransactionsService;1

This component implements the following interfaces:

Properties

PRInt32 nsITransactionManager.maxTransactionCount

Sets the maximum number of transaction items the transaction manager will maintain at any time. This is commonly referred to as the number of levels of undo.

readonly PRInt32 nsITransactionManager.numberOfRedoItems

The number of items on the redo stack.

readonly PRInt32 nsITransactionManager.numberOfUndoItems

The number of items on the undo stack.

Methods

InterfaceMethod
nsITransactionManager void AddListener ( nsITransactionListener listener )
nsIPlacesTransactionsService nsITransaction aggregateTransactions ( AString name , nsIVariant transactions )
nsITransactionManager void beginBatch ( )
nsITransactionManager void clear ( )
nsIPlacesTransactionsService nsITransaction createFolder ( AString name , PRInt64 container , PRInt64 index , nsIVariant annotations , nsIVariant childItemsTransactions )
nsIPlacesTransactionsService nsITransaction createItem ( nsIURI URI , PRInt64 container , PRInt64 index , AString title , AString keyword , nsIVariant annotations , nsIVariant childTransactions )
nsIPlacesTransactionsService nsITransaction createLivemark ( nsIURI feedURI , nsIURI siteURI , AString name , PRInt64 container , PRInt64 index , nsIVariant annotations )
nsIPlacesTransactionsService nsITransaction createSeparator ( PRInt64 container , PRInt64 index )
nsITransactionManager void doTransaction ( nsITransaction transaction )
nsIPlacesTransactionsService nsITransaction editBookmarkKeyword ( PRInt64 itemId , AString newKeyword )
nsIPlacesTransactionsService nsITransaction editBookmarkMicrosummary ( PRInt64 itemId , nsIMicrosummary newMicrosummary )
nsIPlacesTransactionsService nsITransaction editBookmarkPostData ( PRInt64 itemId , AString postData )
nsIPlacesTransactionsService nsITransaction editBookmarkURI ( PRInt64 bookmarkId , nsIURI newURI )
nsIPlacesTransactionsService nsITransaction editItemDateAdded ( PRInt64 itemId , PRTime newDateAdded )
nsIPlacesTransactionsService nsITransaction editItemDescription ( PRInt64 itemId , AString description )
nsIPlacesTransactionsService nsITransaction editItemLastModified ( PRInt64 itemId , PRTime newLastModified )
nsIPlacesTransactionsService nsITransaction editItemTitle ( PRInt64 id , AString newTitle )
nsIPlacesTransactionsService nsITransaction editLivemarkFeedURI ( PRInt64 folderId , nsIURI uri )
nsIPlacesTransactionsService nsITransaction editLivemarkSiteURI ( PRInt64 folderId , nsIURI URI )
nsITransactionManager void endBatch ( )
nsITransactionManager nsITransactionList getRedoList ( )
nsITransactionManager nsITransactionList getUndoList ( )
nsIPlacesTransactionsService nsITransaction moveItem ( PRInt64 itemId , PRInt64 newContainer , PRInt64 newIndex )
nsITransactionManager nsITransaction peekRedoStack ( )
nsITransactionManager nsITransaction peekUndoStack ( )
nsITransactionManager void redoTransaction ( )
nsIPlacesTransactionsService nsITransaction removeItem ( PRInt64 itemId )
nsITransactionManager void RemoveListener ( nsITransactionListener listener )
nsIPlacesTransactionsService nsITransaction setLoadInSidebar ( PRInt64 bookmarkId , PRBool loadInSidebar )
nsIPlacesTransactionsService nsITransaction sortFolderByName ( PRInt64 folderId , PRInt64 folderIndex )
nsIPlacesTransactionsService nsITransaction tagURI ( nsIURI URI , nsIVariant tags )
nsITransactionManager void undoTransaction ( )
nsIPlacesTransactionsService nsITransaction untagURI ( nsIURI URI , nsIVariant tags )

Reference documentation is generated from Mozilla's source.