Public Member Functions | Public Attributes

nsIBookmarksService Interface Reference

import "nsIBookmarksService.idl";

Collaboration diagram for nsIBookmarksService:

List of all members.

Public Member Functions

boolean readBookmarks ()
boolean isBookmarked (in string aURL)
boolean isBookmarkedResource (in nsIRDFResource aSource)
void addBookmarkImmediately (in wstring aURI, in wstring aTitle, in long bmType, in wstring docCharset)
nsIRDFResource createFolder (in wstring aName)
nsIRDFResource createFolderInContainer (in wstring aName, in nsIRDFResource aParentFolder, in long aIndex)
nsIRDFResource createGroup (in wstring aName)
nsIRDFResource createGroupInContainer (in wstring aName, in nsIRDFResource aParentFolder, in long aIndex)
void sortFolder (in nsIRDFResource aFolder, in nsIRDFResource aProperty, in long aDirection, in boolean aFoldersFirst, in boolean aRecurse)
nsIRDFResource createBookmark (in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet)
nsIRDFResource createBookmarkInContainer (in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in nsIRDFResource aFolder, in long aIndex)
nsIRDFResource createSeparator ()
nsIRDFResource cloneResource (in nsIRDFResource aSource)
void updateBookmarkIcon (in string aURL, in wstring aIconURL)
void removeBookmarkIcon (in string aURL, in wstring aIconURL)
void updateLastVisitedDate (in string aURL, in wstring docCharset)
AString getLastCharset (in AUTF8String aURL)
string resolveKeyword (in wstring aName)
void importSystemBookmarks (in nsIRDFResource aParentFolder)
nsITransaction createTransaction (in nsIRDFResource parent, in nsIRDFNode item, in unsigned long index, in boolean remove)

Public Attributes

const unsigned long BOOKMARK_DEFAULT_TYPE = 0
const unsigned long BOOKMARK_SEARCH_TYPE = 1
const unsigned long BOOKMARK_FIND_TYPE = 2
const long SORT_DESCENDING = -1
const long SORT_ASCENDING = 1
readonly attribute
nsITransactionManager 
transactionManager

Member Function Documentation

void nsIBookmarksService::addBookmarkImmediately ( in wstring  aURI,
in wstring  aTitle,
in long  bmType,
in wstring  docCharset 
)
nsIRDFResource nsIBookmarksService::cloneResource ( in nsIRDFResource  aSource  ) 
nsIRDFResource nsIBookmarksService::createBookmark ( in wstring  aName,
in wstring  aURL,
in wstring  aShortcutURL,
in wstring  aDescription,
in wstring  aDocCharSet 
)
nsIRDFResource nsIBookmarksService::createBookmarkInContainer ( in wstring  aName,
in wstring  aURL,
in wstring  aShortcutURL,
in wstring  aDescription,
in wstring  aDocCharSet,
in nsIRDFResource  aFolder,
in long  aIndex 
)
nsIRDFResource nsIBookmarksService::createFolder ( in wstring  aName  ) 
nsIRDFResource nsIBookmarksService::createFolderInContainer ( in wstring  aName,
in nsIRDFResource  aParentFolder,
in long  aIndex 
)
nsIRDFResource nsIBookmarksService::createGroup ( in wstring  aName  ) 
nsIRDFResource nsIBookmarksService::createGroupInContainer ( in wstring  aName,
in nsIRDFResource  aParentFolder,
in long  aIndex 
)
nsIRDFResource nsIBookmarksService::createSeparator (  ) 
nsITransaction nsIBookmarksService::createTransaction ( in nsIRDFResource  parent,
in nsIRDFNode  item,
in unsigned long  index,
in boolean  remove 
)
AString nsIBookmarksService::getLastCharset ( in AUTF8String  aURL  ) 
void nsIBookmarksService::importSystemBookmarks ( in nsIRDFResource  aParentFolder  ) 
boolean nsIBookmarksService::isBookmarked ( in string  aURL  ) 
boolean nsIBookmarksService::isBookmarkedResource ( in nsIRDFResource  aSource  ) 
boolean nsIBookmarksService::readBookmarks (  ) 
void nsIBookmarksService::removeBookmarkIcon ( in string  aURL,
in wstring  aIconURL 
)
string nsIBookmarksService::resolveKeyword ( in wstring  aName  ) 
void nsIBookmarksService::sortFolder ( in nsIRDFResource  aFolder,
in nsIRDFResource  aProperty,
in long  aDirection,
in boolean  aFoldersFirst,
in boolean  aRecurse 
)
void nsIBookmarksService::updateBookmarkIcon ( in string  aURL,
in wstring  aIconURL 
)
void nsIBookmarksService::updateLastVisitedDate ( in string  aURL,
in wstring  docCharset 
)

Member Data Documentation

const unsigned long nsIBookmarksService::BOOKMARK_FIND_TYPE = 2

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