public class OfflineMessageRequest
extends org.jivesoftware.smack.packet.IQ
| Modifier and Type | Class and Description |
|---|---|
static class |
OfflineMessageRequest.Item
Item child that holds information about offline messages to view or delete.
|
static class |
OfflineMessageRequest.Provider |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
| Constructor and Description |
|---|
OfflineMessageRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(OfflineMessageRequest.Item item)
Adds an item child that holds information about offline messages to view or delete.
|
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
java.util.List<OfflineMessageRequest.Item> |
getItems()
Returns a List of item childs that holds information about offline messages to
view or delete.
|
boolean |
isFetch()
Returns true if all the offline messages of the user should be retrieved.
|
boolean |
isPurge()
Returns true if all the offline messages of the user should be deleted.
|
void |
setFetch(boolean fetch)
Sets if all the offline messages of the user should be retrieved.
|
void |
setPurge(boolean purge)
Sets if all the offline messages of the user should be deleted.
|
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toStringpublic static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public java.util.List<OfflineMessageRequest.Item> getItems()
public void addItem(OfflineMessageRequest.Item item)
item - the item child that holds information about offline messages to view or delete.public boolean isPurge()
public void setPurge(boolean purge)
purge - true if all the offline messages of the user should be deleted.public boolean isFetch()
public void setFetch(boolean fetch)
fetch - true if all the offline messages of the user should be retrieved.protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder in class org.jivesoftware.smack.packet.IQ