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 |
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.
|
java.lang.String |
getChildElementXML() |
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, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
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.public java.lang.String getChildElementXML()
getChildElementXML
in class org.jivesoftware.smack.packet.IQ