[scriptable, uuid(ccc48346-429d-4931-94dc-beb1afcea292)]
interface nsIBookmarksService : nsISupports

Constants


          
const unsigned long BOOKMARK_DEFAULT_TYPE = 0

          
const unsigned long BOOKMARK_SEARCH_TYPE = 1

          
const unsigned long BOOKMARK_FIND_TYPE = 2

Attributes


          
readonly attribute nsITransactionManager transactionManager

Methods


          
void addBookmarkImmediately(in wstring aURI, in wstring aTitle, in long bmType, in wstring docCharset)

          
nsIRDFResource cloneResource(in nsIRDFResource aSource)

          
nsIRDFResource createBookmark(in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in wstring aPostData)

          
nsIRDFResource createBookmarkInContainer(in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in wstring aPostData, in nsIRDFResource aFolder, in long aIndex)

          
nsIRDFResource createFolder(in wstring aName)

          
nsIRDFResource createFolderInContainer(in wstring aName, in nsIRDFResource aParentFolder, in long aIndex)

          
nsIRDFResource createLivemark(in wstring aName, in wstring aURL, in wstring aRSSURL, in wstring aDescription)

          
nsIRDFResource createLivemarkInContainer(in wstring aName, in wstring aURL, in wstring aRSSURL, in wstring aDescription, in nsIRDFResource aFolder, in long aIndex)

          
nsIRDFResource createSeparator()

          
nsIRDFResource getBookmarksToolbarFolder()

          
AString getLastCharset(in AUTF8String aURL)

          
nsIRDFResource getParent(in nsIRDFResource aSource)

          
nsIArray getParentChain(in nsIRDFResource aSource)

          
boolean isBookmarked(in string aURL)

          
boolean isBookmarkedResource(in nsIRDFResource aSource)

          
boolean readBookmarks()

          
void removeBookmarkIcon(in string aURL)

          
string resolveKeyword(in wstring aName, out wstring aPostData)

          
void setBookmarksToolbarFolder(in nsIRDFResource aSource)

          
void updateBookmarkIcon(in string aURL, in string aIconMIMEtype, [const, array, size_is(aIconDataLen)] in octet aIconData, in unsigned long aIconDataLen)

          
void updateLastVisitedDate(in string aURL, in wstring docCharset)