|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MeasurementApi
API for creating, deleting and retrieving measurements from the platform.
| Method Summary | |
|---|---|
MeasurementRepresentation |
create(MeasurementRepresentation measurement)
Creates measurement in the platform. |
void |
deleteMeasurement(MeasurementRepresentation measurement)
Deletes measurement from the platform. |
MeasurementRepresentation |
getMeasurement(GId gid)
Gets measurement by id |
PagedCollectionResource<MeasurementCollectionRepresentation> |
getMeasurements()
Gets the all the measurement in the platform |
PagedCollectionResource<MeasurementCollectionRepresentation> |
getMeasurementsByFilter(MeasurementFilter filter)
Gets the measurements from the platform based on specified filter |
| Method Detail |
|---|
MeasurementRepresentation getMeasurement(GId gid)
throws SDKException
gid - id of the measurement to search for
SDKException - if the measurement is not found or if the query failed
MeasurementRepresentation create(MeasurementRepresentation measurement)
throws SDKException
measurement - measurement to be created
SDKException - if the measurement could not be created
void deleteMeasurement(MeasurementRepresentation measurement)
throws SDKException
measurement - to be deleted
SDKException - if the measurement could not be deleted
PagedCollectionResource<MeasurementCollectionRepresentation> getMeasurements()
throws SDKException
SDKException - if the query failed
PagedCollectionResource<MeasurementCollectionRepresentation> getMeasurementsByFilter(MeasurementFilter 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 | |||||||||