public class BoxListEnterpriseEvents extends BoxList<BoxEnterpriseEvent> implements IStreamPosition
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_CHUNK_SIZE |
static java.lang.String |
FIELD_NEXT_STREAM_POSITION |
collection, FIELD_ENTRIES, FIELD_LIMIT, FIELD_OFFSET, FIELD_ORDER, FIELD_TOTAL_COUNTmProperties| Constructor and Description |
|---|
BoxListEnterpriseEvents() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(BoxEnterpriseEvent boxEnterpriseEvent) |
boolean |
addAll(java.util.Collection<? extends BoxEnterpriseEvent> c) |
void |
clear() |
java.lang.Long |
getChunkSize()
Gets the number of event records returned in this chunk.
|
java.lang.Long |
getNextStreamPosition()
Gets the next position in the event stream that you should request in order to get the next events.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
void |
setFilterDuplicates(boolean filterDuplicates)
Sets whether or not to filter out duplicate events which can occur due to syncing issues.
|
contains, containsAll, equals, fullSize, get, getSortOrders, hashCode, isEmpty, iterator, limit, offset, parseJsonObject, retainAll, size, toArray, toArraycreateFromJson, createFromJson, getPropertiesAsHashMap, parseNullJsonMember, toJson, toJsonObjectpublic static final java.lang.String FIELD_CHUNK_SIZE
public static final java.lang.String FIELD_NEXT_STREAM_POSITION
protected void parseJSONMember(JsonObject.Member member)
BoxJsonObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
parseJSONMember in class BoxList<BoxEnterpriseEvent>member - the JSON member to be parsed.public boolean add(BoxEnterpriseEvent boxEnterpriseEvent)
add in interface java.util.Collection<BoxEnterpriseEvent>add in class BoxList<BoxEnterpriseEvent>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<BoxEnterpriseEvent>remove in class BoxList<BoxEnterpriseEvent>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<BoxEnterpriseEvent>removeAll in class BoxList<BoxEnterpriseEvent>public boolean addAll(java.util.Collection<? extends BoxEnterpriseEvent> c)
addAll in interface java.util.Collection<BoxEnterpriseEvent>addAll in class BoxList<BoxEnterpriseEvent>public void clear()
clear in interface java.util.Collection<BoxEnterpriseEvent>clear in class BoxList<BoxEnterpriseEvent>public java.lang.Long getChunkSize()
public java.lang.Long getNextStreamPosition()
getNextStreamPosition in interface IStreamPositionpublic void setFilterDuplicates(boolean filterDuplicates)
filterDuplicates - whether or not to filter out duplicate events.