Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIPlacesTransactionsService Interface Reference

import "nsIPlacesTransactionsService.idl";

List of all members.


Detailed Description

nsIPlacesTransactionService is a service designed to handle nsITransactions that correspond to changes in Places. It is here as a service so that we can keep the transactions around without holding onto the global scope of a js window.

NOTE: If you are interacting directly with the Places back-end, and you need to transactionalize a large amount of changes, look at nsINavBookmarksService.runInBatchMode.

Definition at line 60 of file nsIPlacesTransactionsService.idl.


Public Member Functions

nsITransaction aggregateTransactions (in AString aName, in nsIVariant aTransactions)
nsITransaction createFolder (in AString aName, in long long aContainerId,[optional] in long long aIndex,[optional] in nsIVariant aAnnotations,[optional] in nsIVariant aChildItemsTransactions)
nsITransaction createItem (in nsIURI aURI, in long long aContainerId,[optional] in long long aIndex,[optional] in AString aTitle,[optional] in AString aKeyword,[optional] in nsIVariant aAnnotations,[optional] in nsIVariant aChildTransactions)
nsITransaction createLivemark (in nsIURI aFeedURI, in nsIURI aSiteURI, in AString aName, in long long aContainerId,[optional] in long long aIndex,[optional] in nsIVariant aAnnotations)
nsITransaction createSeparator (in long long aContainerId,[optional] in long long aIndex)
nsITransaction editBookmarkKeyword (in long long aBookmarkId, in AString aNewKeyword)
nsITransaction editBookmarkMicrosummary (in long long aBookmarkId, in nsIMicrosummary aNewMicrosummary)
nsITransaction editBookmarkPostData (in long long aBookmarkId, in AString aPostData)
nsITransaction editBookmarkURI (in long long aBookmarkId, in nsIURI aNewURI)
nsITransaction editItemDateAdded (in long long aItemId, in PRTime aNewDateAdded)
nsITransaction editItemDescription (in long long aItemId, in AString aDescription)
nsITransaction editItemLastModified (in long long aItemId, in PRTime aNewLastModified)
nsITransaction editItemTitle (in long long aItemId, in AString aNewTitle)
nsITransaction editLivemarkFeedURI (in long long aLivemarkId, in nsIURI aURI)
nsITransaction editLivemarkSiteURI (in long long aLivemarkId, in nsIURI aURI)
nsITransaction moveItem (in long long aItemId, in long long aNewContainerId, in long long aNewIndex)
nsITransaction removeItem (in long long aItemId)
nsITransaction setItemAnnotation (in nsIVariant aItemId, in nsIVariant aAnnotationObject)
nsITransaction setLoadInSidebar (in long long aBookmarkId, in boolean aLoadInSidebar)
nsITransaction setPageAnnotation (in nsIURI aURI, in nsIVariant aAnnotationObject)
nsITransaction sortFolderByName (in long long aFolderId)
nsITransaction tagURI (in nsIURI aURI, in nsIVariant aTags)
nsITransaction untagURI (in nsIURI aURI, in nsIVariant aTags)

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index