|
||||||||||
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 DeviceControlApi
gid
- id of the operation to search for
SDKException
- if the operation is not found or if the query failedpublic PagedCollectionResource<OperationCollectionRepresentation> getOperations() throws SDKException
DeviceControlApi
getOperations
in interface DeviceControlApi
SDKException
- if the query failedpublic OperationRepresentation create(OperationRepresentation operation) throws SDKException
DeviceControlApi
create
in interface DeviceControlApi
operation
- operation to be created
SDKException
- if the operation could not be createdpublic OperationRepresentation update(OperationRepresentation operation) throws SDKException
DeviceControlApi
update
in interface DeviceControlApi
operation
- to be updated
SDKException
- if the operation could not be updatedpublic PagedCollectionResource<OperationCollectionRepresentation> getOperationsByFilter(OperationFilter filter) throws SDKException
DeviceControlApi
status
, deviceId
, agentId
]
and [deviceId
, agentId
] are not supported.
currently not supported.
getOperationsByFilter
in interface DeviceControlApi
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 |