|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventApi
API for creating, deleting and retrieving events from the platform.
| Method Summary | |
|---|---|
EventRepresentation |
create(EventRepresentation event)
Creates event in the platform. |
void |
delete(EventRepresentation event)
Deletes event from the platform. |
EventRepresentation |
getEvent(GId gid)
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 |
| Method Detail |
|---|
EventRepresentation getEvent(GId gid)
throws SDKException
gid - id of the event to search for
SDKException - if the event is not found or if the query failed
EventRepresentation create(EventRepresentation event)
throws SDKException
event - event to be created
SDKException - if the event could not be created
void delete(EventRepresentation event)
throws SDKException
event - to be deleted
SDKException - if the event could not be deleted
PagedCollectionResource<EventCollectionRepresentation> getEvents()
throws SDKException
SDKException - if the query failed
PagedCollectionResource<EventCollectionRepresentation> getEventsByFilter(EventFilter filter)
throws SDKException
filter - 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 | |||||||||