public final class BookmarkManager extends ExtensionManager
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
void |
addBookmark(Bookmark bookmark)
Adds a bookmark.
|
Collection<ChatRoomBookmark> |
getChatRoomBookmarks()
Gets a sorted collection of chat room bookmarks.
|
Collection<WebPageBookmark> |
getWebPageBookmarks()
Gets a sorted collection of web page bookmarks.
|
void |
removeChatRoomBookmark(rocks.xmpp.core.Jid chatRoom)
Removes a chat room bookmark.
|
void |
removeWebPageBookmark(URL webPage)
Removes a web page bookmark.
|
setEnabledpublic Collection<ChatRoomBookmark> getChatRoomBookmarks() throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic Collection<WebPageBookmark> getWebPageBookmarks() throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic void addBookmark(Bookmark bookmark) throws rocks.xmpp.core.XmppException
bookmark - The bookmark.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic void removeChatRoomBookmark(rocks.xmpp.core.Jid chatRoom)
throws rocks.xmpp.core.XmppException
chatRoom - The chat room.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic void removeWebPageBookmark(URL webPage) throws rocks.xmpp.core.XmppException
webPage - The web page.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionCopyright © 2014 XMPP.rocks. All rights reserved.