public static final class MamManager.MamQueryArgs.Builder extends Object
Constructor and Description |
---|
Builder() |
public Builder()
public MamManager.MamQueryArgs.Builder queryNode(String node)
public MamManager.MamQueryArgs.Builder limitResultsToJid(Jid withJid)
public MamManager.MamQueryArgs.Builder limitResultsSince(Date start)
public MamManager.MamQueryArgs.Builder limitResultsBefore(Date end)
public MamManager.MamQueryArgs.Builder setResultPageSize(Integer max)
public MamManager.MamQueryArgs.Builder setResultPageSizeTo(int max)
public MamManager.MamQueryArgs.Builder onlyReturnMessageCount()
public MamManager.MamQueryArgs.Builder withAdditionalFormField(FormField formField)
public MamManager.MamQueryArgs.Builder withAdditionalFormFields(List<FormField> additionalFields)
public MamManager.MamQueryArgs.Builder afterUid(String afterUid)
public MamManager.MamQueryArgs.Builder beforeUid(String beforeUid)
afterUid(String)
this
method also accepts the empty String to query the last page of an archive (c.f. XEP-0059 § 2.5).beforeUid
- a message UID acting as 'before' query anchor.public MamManager.MamQueryArgs.Builder queryLastPage()
public MamManager.MamQueryArgs build()