public class FillableSubscribeForm extends FillableForm implements SubscribeFormReader
formTypeFormFieldFORM_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
setDeliverOn(boolean deliverNotifications)
Sets whether an entity wants to receive notifications.
|
void |
setDigestFrequency(int frequency)
Sets the minimum number of milliseconds between sending notification digests.
|
void |
setDigestOn(boolean digestOn)
Sets whether notifications should be delivered as aggregations or not.
|
void |
setExpiry(java.util.Date expire)
Sets the time at which the leased subscription will expire, or has expired.
|
void |
setIncludeBody(boolean include)
Sets whether the entity wants to receive an XMPP message body in
addition to the payload format.
|
void |
setShowValues(java.util.Collection<PresenceState> stateValues)
Sets the list of
PresenceState for which an entity wants
to receive notifications. |
getDataFormToSubmit, getField, setAnswer, setAnswer, setAnswer, setAnswer, write, write, write, writeBoolean, writeListMulti, writeTextSingleensureFormType, getDataForm, getFieldOrThrow, getFormType, getInstructions, getTitle, hasFieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDigestFrequency, getExpiry, getShowValues, isDeliverOn, isDigestOn, isIncludeBodygetField, readBoolean, readDate, readFirstValue, readInteger, readStringValues, readValuespublic void setDeliverOn(boolean deliverNotifications)
deliverNotifications - TODO javadoc me pleasepublic void setDigestOn(boolean digestOn)
digestOn - true to aggregate, false otherwisepublic void setDigestFrequency(int frequency)
frequency - The frequency in millisecondspublic void setExpiry(java.util.Date expire)
expire - The expiry datepublic void setIncludeBody(boolean include)
include - true to receive the message body, false otherwisepublic void setShowValues(java.util.Collection<PresenceState> stateValues)
PresenceState for which an entity wants
to receive notifications.stateValues - The list of states