@mozilla.org/browser/bookmarks-service;1

This component implements the following interfaces:

Constants

PRUint32 nsIBookmarksService.BOOKMARK_DEFAULT_TYPE = 0
PRUint32 nsIBookmarksService.BOOKMARK_SEARCH_TYPE = 1
PRUint32 nsIBookmarksService.BOOKMARK_FIND_TYPE = 2
PRInt32 nsIBookmarksService.SORT_DESCENDING = -1
PRInt32 nsIBookmarksService.SORT_ASCENDING = 1

Properties

readonly nsITransactionManager nsIBookmarksService.transactionManager

Methods

InterfaceMethod
nsIBookmarksService void addBookmarkImmediately ( PRUnichar* URI , PRUnichar* title , PRInt32 bmType , PRUnichar* docCharset )
nsIBookmarksService nsIRDFResource cloneResource ( nsIRDFResource source )
nsIBookmarksService nsIRDFResource createBookmark ( PRUnichar* name , PRUnichar* URL , PRUnichar* shortcutURL , PRUnichar* description , PRUnichar* docCharSet )
nsIBookmarksService nsIRDFResource createBookmarkInContainer ( PRUnichar* name , PRUnichar* URL , PRUnichar* shortcutURL , PRUnichar* description , PRUnichar* docCharSet , nsIRDFResource folder , PRInt32 index )
nsIBookmarksService nsIRDFResource createFolder ( PRUnichar* name )
nsIBookmarksService nsIRDFResource createFolderInContainer ( PRUnichar* name , nsIRDFResource parentFolder , PRInt32 index )
nsIBookmarksService nsIRDFResource createGroup ( PRUnichar* name )
nsIBookmarksService nsIRDFResource createGroupInContainer ( PRUnichar* name , nsIRDFResource parentFolder , PRInt32 index )
nsIBookmarksService nsIRDFResource createSeparator ( )
nsIBookmarksService void importSystemBookmarks ( nsIRDFResource parentFolder )
nsIBookmarksService PRBool isBookmarked ( char* URL )
nsIBookmarksService PRBool isBookmarkedResource ( nsIRDFResource source )
nsIBookmarksService PRBool readBookmarks ( )
nsIBookmarksService void removeBookmarkIcon ( char* URL , PRUnichar* iconURL )
nsIBookmarksService char* resolveKeyword ( PRUnichar* name )
nsIBookmarksService void sortFolder ( nsIRDFResource folder , nsIRDFResource property , PRInt32 direction , PRBool foldersFirst , PRBool recurse )
nsIBookmarksService void updateBookmarkIcon ( char* URL , PRUnichar* iconURL )
nsIBookmarksService void updateLastVisitedDate ( char* URL , PRUnichar* docCharset )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com