|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cumulocity.sdk.client.event.EventApiImpl
public class EventApiImpl
| Constructor Summary | |
|---|---|
EventApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
Deprecated. |
|
EventApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
|
|
| Method Summary | |
|---|---|
EventRepresentation |
create(EventRepresentation representation)
Creates event in the platform. |
void |
delete(EventRepresentation event)
Deletes event from the platform. |
EventRepresentation |
getEvent(GId eventId)
Gets event by id |
PagedCollectionResource<EventCollectionRepresentation> |
getEvents()
Gets the all the event in the platform |
PagedCollectionResource<EventCollectionRepresentation> |
getEventsByFilter(EventFilter filter)
Gets the events from the platform based on specified filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public EventApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
public EventApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
| Method Detail |
|---|
public EventRepresentation getEvent(GId eventId)
throws SDKException
EventApi
getEvent in interface EventApieventId - id of the event to search for
SDKException - if the event is not found or if the query failed
public PagedCollectionResource<EventCollectionRepresentation> getEvents()
throws SDKException
EventApi
getEvents in interface EventApiSDKException - if the query failed
public EventRepresentation create(EventRepresentation representation)
throws SDKException
EventApi
create in interface EventApirepresentation - event to be created
SDKException - if the event could not be created
public void delete(EventRepresentation event)
throws SDKException
EventApi
delete in interface EventApievent - to be deleted
SDKException - if the event could not be deleted
public PagedCollectionResource<EventCollectionRepresentation> getEventsByFilter(EventFilter filter)
throws SDKException
EventApi
getEventsByFilter in interface EventApifilter - the filter criteria(s)
SDKException - if the query failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||