Package com.cumulocity.sdk.client.event
Class EventCollectionImpl
- java.lang.Object
-
- com.cumulocity.sdk.client.PagedCollectionResourceImpl<EventRepresentation,EventCollectionRepresentation,PagedEventCollectionRepresentation>
-
- com.cumulocity.sdk.client.event.EventCollectionImpl
-
- All Implemented Interfaces:
EventCollection
,PagedCollectionResource<EventRepresentation,PagedEventCollectionRepresentation>
public class EventCollectionImpl extends PagedCollectionResourceImpl<EventRepresentation,EventCollectionRepresentation,PagedEventCollectionRepresentation> implements EventCollection
-
-
Field Summary
-
Fields inherited from class com.cumulocity.sdk.client.PagedCollectionResourceImpl
pageSize, restConnector
-
Fields inherited from interface com.cumulocity.sdk.client.PagedCollectionResource
PAGE_NUMBER_KEY, PAGE_SIZE_KEY
-
-
Constructor Summary
Constructors Constructor Description EventCollectionImpl(RestConnector restConnector, String url, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CumulocityMediaType
getMediaType()
protected Class<EventCollectionRepresentation>
getResponseClass()
protected PagedEventCollectionRepresentation
wrap(EventCollectionRepresentation collection)
-
Methods inherited from class com.cumulocity.sdk.client.PagedCollectionResourceImpl
equals, get, get, get, getCollection, getNextPage, getPage, getPage, getPreviousPage, hashCode, prepareGetParams
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cumulocity.sdk.client.PagedCollectionResource
get, get, getNextPage, getPage, getPage, getPreviousPage
-
-
-
-
Constructor Detail
-
EventCollectionImpl
public EventCollectionImpl(RestConnector restConnector, String url, int pageSize)
-
-
Method Detail
-
getMediaType
protected CumulocityMediaType getMediaType()
-
getResponseClass
protected Class<EventCollectionRepresentation> getResponseClass()
-
wrap
protected PagedEventCollectionRepresentation wrap(EventCollectionRepresentation collection)
- Specified by:
wrap
in classPagedCollectionResourceImpl<EventRepresentation,EventCollectionRepresentation,PagedEventCollectionRepresentation>
-
-