Package org.jivesoftware.smackx.mam
Class MamManager.MamQuery
- java.lang.Object
-
- org.jivesoftware.smackx.mam.MamManager.MamQuery
-
- Enclosing class:
- MamManager
public final class MamManager.MamQuery extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MamElements.MamResultExtension>
getMamResultExtensions()
int
getMessageCount()
java.util.List<Message>
getMessages()
MamManager.MamQueryPage
getPage()
boolean
isComplete()
java.util.List<Message>
pageNext(int count)
java.util.List<Message>
pagePrevious(int count)
-
-
-
Method Detail
-
isComplete
public boolean isComplete()
-
getMessages
public java.util.List<Message> getMessages()
-
getMamResultExtensions
public java.util.List<MamElements.MamResultExtension> getMamResultExtensions()
-
pageNext
public java.util.List<Message> pageNext(int count) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NotLoggedInException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
SmackException.NotLoggedInException
java.lang.InterruptedException
-
pagePrevious
public java.util.List<Message> pagePrevious(int count) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NotLoggedInException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
SmackException.NotLoggedInException
java.lang.InterruptedException
-
getMessageCount
public int getMessageCount()
-
getPage
public MamManager.MamQueryPage getPage()
-
-