public class GetRecentContactsCollection extends org.mule.modules.utils.pagination.PaginatedCollection<Contact,ContactList>
Constructor and Description |
---|
GetRecentContactsCollection(HubSpotConnector connector,
ContactList contactList,
String userId,
String count) |
Modifier and Type | Method and Description |
---|---|
protected ContactList |
firstPage() |
protected boolean |
hasNextPage(ContactList contactList) |
boolean |
isEmpty() |
protected ContactList |
nextPage(ContactList contactList) |
protected Iterator<Contact> |
pageIterator(ContactList contactList) |
int |
size() |
Object[] |
toArray() |
<Type> Type[] |
toArray(Type[] a) |
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, iterator
public GetRecentContactsCollection(HubSpotConnector connector, ContactList contactList, String userId, String count)
public boolean isEmpty()
isEmpty
in interface Collection<Contact>
isEmpty
in class org.mule.modules.utils.pagination.PaginatedCollection<Contact,ContactList>
public int size()
size
in interface Collection<Contact>
size
in class org.mule.modules.utils.pagination.PaginatedCollection<Contact,ContactList>
protected ContactList firstPage()
firstPage
in class org.mule.modules.utils.pagination.PaginatedIterable<Contact,ContactList>
protected boolean hasNextPage(ContactList contactList)
hasNextPage
in class org.mule.modules.utils.pagination.PaginatedIterable<Contact,ContactList>
protected ContactList nextPage(ContactList contactList)
nextPage
in class org.mule.modules.utils.pagination.PaginatedIterable<Contact,ContactList>
protected Iterator<Contact> pageIterator(ContactList contactList)
pageIterator
in class org.mule.modules.utils.pagination.PaginatedIterable<Contact,ContactList>
public Object[] toArray()
toArray
in interface Collection<Contact>
toArray
in class org.mule.modules.utils.pagination.PaginatedCollection<Contact,ContactList>
public <Type> Type[] toArray(Type[] a)
toArray
in interface Collection<Contact>
toArray
in class org.mule.modules.utils.pagination.PaginatedCollection<Contact,ContactList>
Copyright © 2010–2016. All rights reserved.