|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cumulocity.sdk.client.devicecontrol.DeviceControlApiImpl
public class DeviceControlApiImpl
| Constructor Summary | |
|---|---|
DeviceControlApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
Deprecated. |
|
DeviceControlApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
|
|
| Method Summary | |
|---|---|
OperationRepresentation |
create(OperationRepresentation operation)
Creates operation in the platform. |
OperationRepresentation |
getOperation(GId gid)
Gets operation by id |
PagedCollectionResource<OperationCollectionRepresentation> |
getOperations()
Gets the all the operation in the platform |
PagedCollectionResource<OperationCollectionRepresentation> |
getOperationsByFilter(OperationFilter filter)
Gets the operations from the platform based on specified filter. |
OperationRepresentation |
update(OperationRepresentation operation)
Updates operation in the platform. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public DeviceControlApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
public DeviceControlApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
| Method Detail |
|---|
public OperationRepresentation getOperation(GId gid)
throws SDKException
DeviceControlApi
getOperation in interface DeviceControlApigid - id of the operation to search for
SDKException - if the operation is not found or if the query failed
public PagedCollectionResource<OperationCollectionRepresentation> getOperations()
throws SDKException
DeviceControlApi
getOperations in interface DeviceControlApiSDKException - if the query failed
public OperationRepresentation create(OperationRepresentation operation)
throws SDKException
DeviceControlApi
create in interface DeviceControlApioperation - operation to be created
SDKException - if the operation could not be created
public OperationRepresentation update(OperationRepresentation operation)
throws SDKException
DeviceControlApi
update in interface DeviceControlApioperation - to be updated
SDKException - if the operation could not be updated
public PagedCollectionResource<OperationCollectionRepresentation> getOperationsByFilter(OperationFilter filter)
throws SDKException
DeviceControlApistatus, deviceId, agentId]
and [deviceId, agentId] are not supported.
currently not supported.
getOperationsByFilter in interface DeviceControlApifilter - 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 | |||||||||