Uses of Class
com.cumulocity.sdk.client.SDKException
-
-
Uses of SDKException in com.cumulocity.sdk.client
Methods in com.cumulocity.sdk.client that throw SDKException Modifier and Type Method Description void
ResponseParser. checkStatus(javax.ws.rs.core.Response response, int... expectedStatusCodes)
static Platform
PlatformImpl. createPlatform()
This static method creates the Platform from the system parameters.void
RestConnector. delete(String path)
void
RestOperations. delete(String path)
C
PagedCollectionResource. get(int pageSize, QueryParam... queryParams)
The method returns the first page.C
PagedCollectionResource. get(QueryParam... queryParams)
The method returns the first page.I
PagedCollectionResourceImpl. get(int pageSize, QueryParam... queryParams)
I
PagedCollectionResourceImpl. get(QueryParam... queryParams)
protected I
PagedCollectionResourceImpl. get(Map<String,String> params)
<T extends ResourceRepresentation>
TRestConnector. get(String path, CumulocityMediaType mediaType, Class<T> responseType)
<T> T
RestConnector. get(String path, javax.ws.rs.core.MediaType mediaType, Class<T> responseType)
<T extends ResourceRepresentation>
TRestOperations. get(String path, CumulocityMediaType mediaType, Class<T> responseType)
<T> T
RestOperations. get(String path, javax.ws.rs.core.MediaType mediaType, Class<T> responseType)
AlarmApi
Platform. getAlarmApi()
AlarmApi
PlatformImpl. getAlarmApi()
AuditRecordApi
Platform. getAuditRecordApi()
AuditRecordApi
PlatformImpl. getAuditRecordApi()
BinariesApi
Platform. getBinariesApi()
BinariesApi
PlatformImpl. getBinariesApi()
protected I
PagedCollectionResourceImpl. getCollection(String url)
DeviceControlApi
Platform. getDeviceControlApi()
DeviceControlApi
PlatformImpl. getDeviceControlApi()
DeviceCredentialsApi
Platform. getDeviceCredentialsApi()
DeviceCredentialsApi
PlatformImpl. getDeviceCredentialsApi()
EventApi
Platform. getEventApi()
EventApi
PlatformImpl. getEventApi()
IdentityApi
Platform. getIdentityApi()
IdentityApi
PlatformImpl. getIdentityApi()
InventoryApi
Platform. getInventoryApi()
InventoryApi
PlatformImpl. getInventoryApi()
MeasurementApi
Platform. getMeasurementApi()
MeasurementApi
PlatformImpl. getMeasurementApi()
C
PagedCollectionResource. getNextPage(BaseCollectionRepresentation collectionRepresentation)
The method returns the next page from the collection.I
PagedCollectionResourceImpl. getNextPage(BaseCollectionRepresentation collectionRepresentation)
NotificationSubscriptionApi
Platform. getNotificationSubscriptionApi()
NotificationSubscriptionApi
PlatformImpl. getNotificationSubscriptionApi()
C
PagedCollectionResource. getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber)
The method returns the specified page number.C
PagedCollectionResource. getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize)
The method returns the specified page number.I
PagedCollectionResourceImpl. getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber)
I
PagedCollectionResourceImpl. getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize)
C
PagedCollectionResource. getPreviousPage(BaseCollectionRepresentation collectionRepresentation)
This method returns the previous page in the collection.I
PagedCollectionResourceImpl. getPreviousPage(BaseCollectionRepresentation collectionRepresentation)
javax.ws.rs.core.Response.Status
RestConnector. getStatus(String path, CumulocityMediaType mediaType)
javax.ws.rs.core.Response.Status
RestOperations. getStatus(String path, CumulocityMediaType mediaType)
SystemOptionApi
Platform. getSystemOptionApi()
SystemOptionApi
PlatformImpl. getSystemOptionApi()
TenantOptionApi
Platform. getTenantOptionApi()
TenantOptionApi
PlatformImpl. getTenantOptionApi()
TokenApi
Platform. getTokenApi()
TokenApi
PlatformImpl. getTokenApi()
UserApi
Platform. getUserApi()
UserApi
PlatformImpl. getUserApi()
<T extends ResourceRepresentation>
TResponseParser. parse(javax.ws.rs.core.Response response, Class<T> type, int... expectedStatusCodes)
<T> T
ResponseParser. parseObject(javax.ws.rs.core.Response response, int expectedStatusCode, Class<T> type)
<T extends ResourceRepresentation>
TRestConnector. post(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentationWithId>
TRestConnector. post(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
TRestOperations. post(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentationWithId>
TRestOperations. post(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
FutureRestConnector. postAsync(String path, CumulocityMediaType mediaType, T representation)
<T extends ResourceRepresentation>
FutureRestOperations. postAsync(String path, CumulocityMediaType mediaType, T representation)
<T extends ResourceRepresentation>
TRestConnector. postStream(String path, CumulocityMediaType mediaType, InputStream content, Class<T> responseClass)
<T extends ResourceRepresentation>
TRestOperations. postStream(String path, CumulocityMediaType mediaType, InputStream content, Class<T> responseClass)
<T extends ResourceRepresentation>
voidRestConnector. postWithoutResponse(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
voidRestOperations. postWithoutResponse(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentationWithId>
TRestConnector. put(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
TRestConnector. put(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentationWithId>
TRestOperations. put(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
TRestOperations. put(String path, javax.ws.rs.core.MediaType mediaType, T representation)
<T extends ResourceRepresentation>
FutureRestConnector. putAsync(String path, CumulocityMediaType mediaType, T representation)
<T extends ResourceRepresentation>
FutureRestOperations. putAsync(String path, CumulocityMediaType mediaType, T representation)
String
UrlProcessor. removeQueryParam(String url, Collection<String> params)
String
UrlProcessor. replaceOrAddQueryParam(String url, Map<String,String> newParams)
-
Uses of SDKException in com.cumulocity.sdk.client.alarm
Methods in com.cumulocity.sdk.client.alarm that throw SDKException Modifier and Type Method Description AlarmRepresentation
AlarmApi. create(AlarmRepresentation alarm)
Creates an alarm in the platform.AlarmRepresentation
AlarmApiImpl. create(AlarmRepresentation representation)
Future
AlarmApi. createAsync(AlarmRepresentation alarm)
Creates an alarm in the platform.Future
AlarmApiImpl. createAsync(AlarmRepresentation representation)
void
AlarmApi. deleteAlarmsByFilter(AlarmFilter filter)
Delete alarms from the platform based on the specified filtervoid
AlarmApiImpl. deleteAlarmsByFilter(AlarmFilter filter)
AlarmRepresentation
AlarmApi. getAlarm(GId gid)
Gets an alarm by idAlarmRepresentation
AlarmApiImpl. getAlarm(GId alarmId)
AlarmCollection
AlarmApi. getAlarms()
Gets all alarms from the platformAlarmCollection
AlarmApiImpl. getAlarms()
AlarmCollection
AlarmApi. getAlarmsByFilter(AlarmFilter filter)
Gets alarms from the platform based on the specified filterAlarmCollection
AlarmApiImpl. getAlarmsByFilter(AlarmFilter filter)
AlarmRepresentation
AlarmApi. update(AlarmRepresentation alarm)
Updates an alarm in the platform.AlarmRepresentation
AlarmApiImpl. update(AlarmRepresentation alarmToUpdate)
AlarmRepresentation
AlarmApi. updateAlarm(AlarmRepresentation alarm)
Deprecated.AlarmRepresentation
AlarmApiImpl. updateAlarm(AlarmRepresentation alarmToUpdate)
Deprecated. -
Uses of SDKException in com.cumulocity.sdk.client.audit
Methods in com.cumulocity.sdk.client.audit that throw SDKException Modifier and Type Method Description AuditRecordRepresentation
AuditRecordApi. create(AuditRecordRepresentation auditRecord)
Creates an audit record in the platform.AuditRecordRepresentation
AuditRecordApiImpl. create(AuditRecordRepresentation representation)
AuditRecordRepresentation
AuditRecordApi. getAuditRecord(GId gid)
Gets an audit record by idAuditRecordRepresentation
AuditRecordApiImpl. getAuditRecord(GId gid)
AuditRecordCollection
AuditRecordApi. getAuditRecords()
Gets all audit records from the platformAuditRecordCollection
AuditRecordApiImpl. getAuditRecords()
AuditRecordCollection
AuditRecordApi. getAuditRecordsByFilter(AuditRecordFilter filter)
Gets audit records from the platform based on the specified filterAuditRecordCollection
AuditRecordApiImpl. getAuditRecordsByFilter(AuditRecordFilter filter)
-
Uses of SDKException in com.cumulocity.sdk.client.buffering
Methods in com.cumulocity.sdk.client.buffering that throw SDKException Modifier and Type Method Description Object
Future. get()
Waits for the response to complete -
Uses of SDKException in com.cumulocity.sdk.client.cep.notification
Methods in com.cumulocity.sdk.client.cep.notification that throw SDKException Modifier and Type Method Description Subscription<String>
InventoryRealtimeDeleteAwareNotificationsSubscriber. subscribe(String agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String,ManagedObjectDeleteAwareNotification> handler, boolean autoRetry)
Subscription<String>
InventoryRealtimeDeleteAwareNotificationsSubscriber. subscribe(String channelID, SubscriptionListener<String,ManagedObjectDeleteAwareNotification> handler)
Subscription<String>
InventoryRealtimeNotificationsSubscriber. subscribe(String channelID, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String,ManagedObjectNotification> handler, boolean autoRetry)
Deprecated.Subscription<String>
InventoryRealtimeNotificationsSubscriber. subscribe(String channelID, SubscriptionListener<String,ManagedObjectNotification> handler)
Deprecated.This method does NOT allow to receive device realtime DELETE actions -
Uses of SDKException in com.cumulocity.sdk.client.devicecontrol
Methods in com.cumulocity.sdk.client.devicecontrol that throw SDKException Modifier and Type Method Description OperationRepresentation
DeviceControlApi. create(OperationRepresentation operation)
Creates operation in the platform.OperationRepresentation
DeviceControlApiImpl. create(OperationRepresentation operation)
Subscriber<GId,OperationRepresentation>
DeviceControlApi. getNotificationsSubscriber()
Gets the notifications subscriber, which allows to receive newly created operations for agent.Subscriber<GId,OperationRepresentation>
DeviceControlApiImpl. getNotificationsSubscriber()
OperationRepresentation
DeviceControlApi. getOperation(GId gid)
Gets operation by idOperationRepresentation
DeviceControlApiImpl. getOperation(GId gid)
OperationCollection
DeviceControlApi. getOperations()
Gets the all the operation in the platformOperationCollection
DeviceControlApiImpl. getOperations()
OperationCollection
DeviceControlApi. getOperationsByFilter(OperationFilter filter)
Gets the operations from the platform based on specified filter.OperationCollection
DeviceControlApiImpl. getOperationsByFilter(OperationFilter filter)
OperationRepresentation
DeviceControlApi. update(OperationRepresentation operation)
Updates operation in the platform.OperationRepresentation
DeviceControlApiImpl. update(OperationRepresentation operation)
Future
DeviceControlApi. updateAsync(OperationRepresentation operation)
Updates operation in the platform.Future
DeviceControlApiImpl. updateAsync(OperationRepresentation operation)
-
Uses of SDKException in com.cumulocity.sdk.client.devicecontrol.autopoll
Constructors in com.cumulocity.sdk.client.devicecontrol.autopoll that throw SDKException Constructor Description OperationsByAgentAndStatusPollerImpl(DeviceControlApi deviceControlApi, String agentId, OperationStatus status, OperationProcessor operationProcessor)
-
Uses of SDKException in com.cumulocity.sdk.client.devicecontrol.notification
Methods in com.cumulocity.sdk.client.devicecontrol.notification that throw SDKException Modifier and Type Method Description Subscription<GId>
OperationNotificationSubscriber. subscribe(GId agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<GId,OperationRepresentation> handler, boolean autoRetry)
Subscription<GId>
OperationNotificationSubscriber. subscribe(GId agentId, SubscriptionListener<GId,OperationRepresentation> handler)
-
Uses of SDKException in com.cumulocity.sdk.client.event
Methods in com.cumulocity.sdk.client.event that throw SDKException Modifier and Type Method Description EventRepresentation
EventApi. create(EventRepresentation event)
Creates event in the platform.EventRepresentation
EventApiImpl. create(EventRepresentation representation)
Future
EventApi. createAsync(EventRepresentation event)
Creates event in the platform.Future
EventApiImpl. createAsync(EventRepresentation representation)
void
EventApi. delete(EventRepresentation event)
Deletes event from the platform.void
EventApiImpl. delete(EventRepresentation event)
void
EventApi. deleteEventsByFilter(EventFilter filter)
Deletes events from the platform based on the specified filtervoid
EventApiImpl. deleteEventsByFilter(EventFilter filter)
EventRepresentation
EventApi. getEvent(GId gid)
Gets event by idEventRepresentation
EventApiImpl. getEvent(GId eventId)
EventCollection
EventApi. getEvents()
Gets the all the event in the platformEventCollection
EventApiImpl. getEvents()
EventCollection
EventApi. getEventsByFilter(EventFilter filter)
Gets the events from the platform based on specified filterEventCollection
EventApiImpl. getEventsByFilter(EventFilter filter)
EventRepresentation
EventApi. update(EventRepresentation eventRepresentation)
This update the event in the platform.EventRepresentation
EventApiImpl. update(EventRepresentation eventRepresentation)
-
Uses of SDKException in com.cumulocity.sdk.client.identity
Methods in com.cumulocity.sdk.client.identity that throw SDKException Modifier and Type Method Description ExternalIDRepresentation
IdentityApi. create(ExternalIDRepresentation externalId)
Creates an association between the external id and its global id in the platform.ExternalIDRepresentation
IdentityApiImpl. create(ExternalIDRepresentation representation)
void
IdentityApi. deleteExternalId(ExternalIDRepresentation externalId)
Deletes between the external id and its global id in the platform.void
IdentityApiImpl. deleteExternalId(ExternalIDRepresentation extIdRep)
ExternalIDRepresentation
IdentityApi. getExternalId(ID extId)
Gets external id representation from the platform by the given external id.ExternalIDRepresentation
IdentityApiImpl. getExternalId(ID extId)
ExternalIDCollection
IdentityApi. getExternalIdsOfGlobalId(GId gid)
Gets the external ids associated with the given global idExternalIDCollection
IdentityApiImpl. getExternalIdsOfGlobalId(GId gid)
-
Uses of SDKException in com.cumulocity.sdk.client.inventory
Methods in com.cumulocity.sdk.client.inventory that throw SDKException Modifier and Type Method Description ManagedObjectRepresentation
ManagedObject. addChildAddition(ManagedObjectRepresentation representation)
Create ManagedObject and adds as child addition to the parent ManagedObject.ManagedObjectRepresentation
ManagedObjectImpl. addChildAddition(ManagedObjectRepresentation representation)
ManagedObjectReferenceRepresentation
ManagedObject. addChildAdditions(GId childId)
Adds a child addition to the ManagedObject.ManagedObjectReferenceRepresentation
ManagedObject. addChildAdditions(ManagedObjectReferenceRepresentation refrenceReprsentation)
Adds a child addition to the ManagedObject.ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildAdditions(GId childId)
ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildAdditions(ManagedObjectReferenceRepresentation refrenceReprsentation)
ManagedObjectRepresentation
ManagedObject. addChildAsset(ManagedObjectRepresentation representation)
Create ManagedObject and adds as child asset to the parent ManagedObject.ManagedObjectRepresentation
ManagedObjectImpl. addChildAsset(ManagedObjectRepresentation representation)
ManagedObjectReferenceRepresentation
ManagedObject. addChildAssets(GId childId)
Adds a child asset to the ManagedObject.ManagedObjectReferenceRepresentation
ManagedObject. addChildAssets(ManagedObjectReferenceRepresentation refrenceReprsentation)
Adds a child asset to the ManagedObject.ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildAssets(GId childId)
ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildAssets(ManagedObjectReferenceRepresentation refrenceReprsentation)
ManagedObjectReferenceRepresentation
ManagedObject. addChildDevice(GId childId)
Adds a child device to the ManagedObject.ManagedObjectReferenceRepresentation
ManagedObject. addChildDevice(ManagedObjectReferenceRepresentation refrenceReprsentation)
Adds a child device to the ManagedObject.ManagedObjectRepresentation
ManagedObject. addChildDevice(ManagedObjectRepresentation representation)
Create ManagedObject and adds as child device to the parent ManagedObject.ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildDevice(GId childId)
ManagedObjectReferenceRepresentation
ManagedObjectImpl. addChildDevice(ManagedObjectReferenceRepresentation refrenceReprsentation)
ManagedObjectRepresentation
ManagedObjectImpl. addChildDevice(ManagedObjectRepresentation representation)
Integer
InventoryApi. countManagedObjectsByFilter(InventoryFilter filter)
Returns the count of managed objects from the platform based on specified filter.Integer
InventoryApiImpl. countManagedObjectsByFilter(InventoryFilter filter)
ManagedObjectRepresentation
InventoryApi. create(ManagedObjectRepresentation managedObject)
Creates managed object in the platform.ManagedObjectRepresentation
InventoryApiImpl. create(ManagedObjectRepresentation representation)
void
InventoryApi. delete(GId id)
Deletes the Managed Object from the Cumulocity Server.void
InventoryApiImpl. delete(GId id)
void
ManagedObject. delete()
Deprecated.void
ManagedObjectImpl. delete()
Deprecated.void
InventoryApi. deleteCascade(GId id)
Deletes the Managed Object and all child devices and child assets recursively from the Cumulocity Server.void
InventoryApiImpl. deleteCascade(GId id)
void
ManagedObject. deleteChildAddition(GId additionId)
Deletes the child addition and its relation to the managed object.void
ManagedObjectImpl. deleteChildAddition(GId additionId)
void
ManagedObject. deleteChildAsset(GId assetId)
Deletes the child Asset and its relation to the managed object.void
ManagedObjectImpl. deleteChildAsset(GId assetId)
void
ManagedObject. deleteChildDevice(GId deviceId)
Deletes the child device and its relation to the managed object.void
ManagedObjectImpl. deleteChildDevice(GId deviceId)
void
BinariesApi. deleteFile(GId containerId)
Remove a managed object and its stored file by a given ID.void
BinariesApiImpl. deleteFile(GId containerId)
InputStream
BinariesApi. downloadFile(GId id)
Download a stored file (managed object) by a given ID.InputStream
BinariesApiImpl. downloadFile(GId id)
ManagedObjectRepresentation
InventoryApi. get(GId id)
Returns the Managed Object of the Resource.ManagedObjectRepresentation
InventoryApi. get(GId id, QueryParam... params)
Returns the Managed Object of the Resource.ManagedObjectRepresentation
InventoryApiImpl. get(GId id)
ManagedObjectRepresentation
InventoryApiImpl. get(GId id, QueryParam... params)
ManagedObjectRepresentation
ManagedObject. get()
Deprecated.ManagedObjectRepresentation
ManagedObjectImpl. get()
Deprecated.ManagedObjectReferenceRepresentation
ManagedObject. getChildAddition(GId additionId)
Returns the child additions with the given id.ManagedObjectReferenceRepresentation
ManagedObjectImpl. getChildAddition(GId additionId)
ManagedObjectReferenceCollection
ManagedObject. getChildAdditions()
Returns all the child additions for the Managed Object in paged collection formManagedObjectReferenceCollection
ManagedObjectImpl. getChildAdditions()
ManagedObjectReferenceRepresentation
ManagedObject. getChildAsset(GId assetId)
Returns the child Asset with the given id.ManagedObjectReferenceRepresentation
ManagedObjectImpl. getChildAsset(GId assetId)
ManagedObjectReferenceCollection
ManagedObject. getChildAssets()
Returns all the child Assets for the Managed Object in paged collection formManagedObjectReferenceCollection
ManagedObjectImpl. getChildAssets()
ManagedObjectReferenceRepresentation
ManagedObject. getChildDevice(GId deviceId)
Returns the child device with the given id.ManagedObjectReferenceRepresentation
ManagedObjectImpl. getChildDevice(GId deviceId)
ManagedObjectReferenceCollection
ManagedObject. getChildDevices()
Returns all the child Devices for the Managed Object in paged collection form.ManagedObjectReferenceCollection
ManagedObjectImpl. getChildDevices()
ManagedObject
InventoryApi. getManagedObject(GId gid)
Deprecated.ManagedObject
InventoryApiImpl. getManagedObject(GId globalId)
ManagedObject
InventoryApi. getManagedObjectApi(GId gid)
Gets managed object resource by id.ManagedObject
InventoryApiImpl. getManagedObjectApi(GId globalId)
ManagedObjectCollection
InventoryApi. getManagedObjects()
Gets the all the managed object in the platformManagedObjectCollection
InventoryApiImpl. getManagedObjects()
ManagedObjectCollection
InventoryApi. getManagedObjectsByFilter(InventoryFilter filter)
Gets the managed objects from the platform based on specified filter.ManagedObjectCollection
InventoryApiImpl. getManagedObjectsByFilter(InventoryFilter filter)
ManagedObjectCollection
InventoryApi. getManagedObjectsByListOfIds(List<GId> ids)
Deprecated.ManagedObjectCollection
InventoryApiImpl. getManagedObjectsByListOfIds(List<GId> ids)
Deprecated.protected String
InventoryApiImpl. getMOCollectionUrl()
SupportedMeasurementsRepresentation
InventoryApi. getSupportedMeasurements(GId id)
Returns supported measurements of the Managed Object specified by its idSupportedMeasurementsRepresentation
InventoryApiImpl. getSupportedMeasurements(GId sourceId)
SupportedSeriesRepresentation
InventoryApi. getSupportedSeries(GId id)
Returns supported series of the Managed Object specified by its idSupportedSeriesRepresentation
InventoryApiImpl. getSupportedSeries(GId sourceId)
ManagedObjectRepresentation
BinariesApi. replaceFile(GId containerId, String contentType, InputStream fileStream)
Upload and replace the attached file (binary) of a specific managed object by a given ID.ManagedObjectRepresentation
BinariesApiImpl. replaceFile(GId containerId, String contentType, InputStream fileStream)
ManagedObjectRepresentation
InventoryApi. update(ManagedObjectRepresentation managedObjectRepresentation)
This update the ManagedObject for the operationCollection.ManagedObjectRepresentation
InventoryApiImpl. update(ManagedObjectRepresentation managedObjectRepresentation)
ManagedObjectRepresentation
ManagedObject. update(ManagedObjectRepresentation managedObjectRepresentation)
Deprecated.ManagedObjectRepresentation
ManagedObjectImpl. update(ManagedObjectRepresentation managedObjectRepresentation)
Deprecated.ManagedObjectRepresentation
BinariesApi. uploadFile(ManagedObjectRepresentation container, byte[] bytes)
Upload a file (binary) with content-type of "application/octet-stream" (default).ManagedObjectRepresentation
BinariesApi. uploadFile(ManagedObjectRepresentation container, byte[] bytes, javax.ws.rs.core.MediaType mediaType)
Upload a file (binary) with custom content-type.ManagedObjectRepresentation
BinariesApi. uploadFile(ManagedObjectRepresentation container, InputStream inputStream)
Upload a file (binary) with content-type of "application/octet-stream" (default).ManagedObjectRepresentation
BinariesApi. uploadFile(ManagedObjectRepresentation container, InputStream inputStream, javax.ws.rs.core.MediaType mediaType)
Upload a file (binary) with custom content-type.ManagedObjectRepresentation
BinariesApiImpl. uploadFile(ManagedObjectRepresentation container, byte[] bytes)
ManagedObjectRepresentation
BinariesApiImpl. uploadFile(ManagedObjectRepresentation container, byte[] bytes, javax.ws.rs.core.MediaType mediaType)
ManagedObjectRepresentation
BinariesApiImpl. uploadFile(ManagedObjectRepresentation container, InputStream inputStream)
ManagedObjectRepresentation
BinariesApiImpl. uploadFile(ManagedObjectRepresentation container, InputStream inputStream, javax.ws.rs.core.MediaType mediaType)
-
Uses of SDKException in com.cumulocity.sdk.client.measurement
Methods in com.cumulocity.sdk.client.measurement that throw SDKException Modifier and Type Method Description MeasurementRepresentation
MeasurementApi. create(MeasurementRepresentation measurement)
Creates measurement in the platform.MeasurementRepresentation
MeasurementApiImpl. create(MeasurementRepresentation measurementRepresentation)
Future
MeasurementApi. createAsync(MeasurementRepresentation measurement)
Creates measurement in the platform.Future
MeasurementApiImpl. createAsync(MeasurementRepresentation measurementRepresentation)
MeasurementCollectionRepresentation
MeasurementApi. createBulk(MeasurementCollectionRepresentation measurementCollection)
Creates measurements in the platform.void
MeasurementApi. createBulkWithoutResponse(MeasurementCollectionRepresentation measurementCollection)
Creates measurements in the platform.void
MeasurementApi. createWithoutResponse(MeasurementRepresentation measurement)
Creates measurement in the platform.void
MeasurementApiImpl. createWithoutResponse(MeasurementRepresentation measurementRepresentation)
void
MeasurementApi. delete(MeasurementRepresentation measurement)
Deletes measurement from the platform.void
MeasurementApiImpl. delete(MeasurementRepresentation measurement)
void
MeasurementApi. deleteMeasurement(MeasurementRepresentation measurement)
Deprecated.void
MeasurementApiImpl. deleteMeasurement(MeasurementRepresentation measurement)
Deprecated.void
MeasurementApi. deleteMeasurementsByFilter(MeasurementFilter filter)
Delete measurements from the platform based on the specified filtervoid
MeasurementApiImpl. deleteMeasurementsByFilter(MeasurementFilter filter)
MeasurementRepresentation
MeasurementApi. getMeasurement(GId gid)
Gets measurement by idMeasurementRepresentation
MeasurementApiImpl. getMeasurement(GId measurementId)
MeasurementCollection
MeasurementApi. getMeasurements()
Gets the all the measurement in the platformMeasurementCollection
MeasurementApiImpl. getMeasurements()
MeasurementCollection
MeasurementApi. getMeasurementsByFilter(MeasurementFilter filter)
Gets the measurements from the platform based on specified filterMeasurementCollection
MeasurementApiImpl. getMeasurementsByFilter(MeasurementFilter filter)
protected String
MeasurementApiImpl. getSelfUri()
-
Uses of SDKException in com.cumulocity.sdk.client.messaging.notifications
Methods in com.cumulocity.sdk.client.messaging.notifications that throw SDKException Modifier and Type Method Description Token
TokenApi. create(NotificationTokenRequestRepresentation tokenRequest)
Creates new access Token.Token
TokenApiImpl. create(NotificationTokenRequestRepresentation tokenRequest)
void
NotificationSubscriptionApi. delete(NotificationSubscriptionRepresentation subscription)
Delete by object.void
NotificationSubscriptionApiImpl. delete(NotificationSubscriptionRepresentation subscription)
void
NotificationSubscriptionApi. deleteById(String subscriptionId)
Delete by ID.NotificationSubscriptionCollection
NotificationSubscriptionApi. getSubscriptions()
Gets all the subscriptions.NotificationSubscriptionCollection
NotificationSubscriptionApiImpl. getSubscriptions()
NotificationSubscriptionCollection
NotificationSubscriptionApi. getSubscriptionsByFilter(NotificationSubscriptionFilter filter)
Gets all the subscriptions matching a filter.NotificationSubscriptionCollection
NotificationSubscriptionApiImpl. getSubscriptionsByFilter(NotificationSubscriptionFilter filter)
Token
TokenApi. refresh(Token token)
Refreshes an expired Token.Token
TokenApiImpl. refresh(Token expiredToken)
NotificationSubscriptionRepresentation
NotificationSubscriptionApi. subscribe(NotificationSubscriptionRepresentation representation)
Creates a subscription to a source.NotificationSubscriptionRepresentation
NotificationSubscriptionApiImpl. subscribe(NotificationSubscriptionRepresentation representation)
void
TokenApi. unsubscribe(Token token)
Unsubscribe a subscriber using supplied Token.void
TokenApiImpl. unsubscribe(Token token)
TokenClaims
TokenApi. verify(Token token)
Verifies supplied Token.TokenClaims
TokenApiImpl. verify(Token token)
-
Uses of SDKException in com.cumulocity.sdk.client.notification
Subclasses of SDKException in com.cumulocity.sdk.client.notification Modifier and Type Class Description class
ReconnectedSDKException
Methods in com.cumulocity.sdk.client.notification that throw SDKException Modifier and Type Method Description Subscription<T>
Subscriber. subscribe(T object, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<T,R> handler, boolean autoRetry)
Subscription<T>
Subscriber. subscribe(T object, SubscriptionListener<T,R> handler)
-
Uses of SDKException in com.cumulocity.sdk.client.option
Methods in com.cumulocity.sdk.client.option that throw SDKException Modifier and Type Method Description void
TenantOptionApi. delete(OptionPK optionPK)
Deletes option from the platform.void
TenantOptionApiImpl. delete(OptionPK optionPK)
List<OptionRepresentation>
TenantOptionApi. getAllOptionsForCategory(String category)
Gets all options from the platform for the specific category Requires role ROLE_OPTION_MANAGEMENT_READList<OptionRepresentation>
TenantOptionApiImpl. getAllOptionsForCategory(String category)
OptionRepresentation
SystemOptionApi. getOption(OptionPK optionPK)
Gets an option by id Requires role ROLE_OPTION_MANAGEMENT_READOptionRepresentation
SystemOptionApiImpl. getOption(OptionPK optionPK)
OptionRepresentation
TenantOptionApi. getOption(OptionPK optionPK)
Gets an option by id Requires role ROLE_OPTION_MANAGEMENT_READOptionRepresentation
TenantOptionApiImpl. getOption(OptionPK optionPK)
TenantOptionCollection
TenantOptionApi. getOptions()
Gets all options from the platform Requires role ROLE_OPTION_MANAGEMENT_READTenantOptionCollection
TenantOptionApiImpl. getOptions()
OptionRepresentation
TenantOptionApi. save(OptionRepresentation option)
Creates or updates an option in the platform.OptionRepresentation
TenantOptionApiImpl. save(OptionRepresentation representation)
Future
TenantOptionApi. saveAsync(OptionRepresentation option)
Creates or updates an option in the platform.Future
TenantOptionApiImpl. saveAsync(OptionRepresentation representation)
-