public class BookmarksModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
BookmarksModule.BookmarksAsyncCallback
Bookmarks callback.
|
context, log| Constructor and Description |
|---|
BookmarksModule() |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
protected void |
processGet(IQ element)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza
<iq type='set'>. |
void |
publishBookmarks(List<? extends Element> bookmarks,
AsyncCallback callback)
Send list of bookmarks to private storage.
|
void |
retrieveBookmarks(AsyncCallback callback)
Retrieve bookmarks from private storage.
|
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
protected void processGet(IQ element) throws JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionprotected void processSet(IQ element) throws JaxmppException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionpublic void publishBookmarks(List<? extends Element> bookmarks, AsyncCallback callback) throws JaxmppException
bookmarks - collections of elements with bookmarks.callback - callbackJaxmppExceptionpublic void retrieveBookmarks(AsyncCallback callback) throws JaxmppException
callback - callback to handle response.JaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.