Uses of Class
com.cumulocity.sdk.client.SDKException
Package
Description
Provides the classes necessary to create, update and query alarms.
Provides the classes necessary to create, update and query audit records.
Provides the classes necessary to create, delete, update and query events.
Provides the classes necessary to bind, unbind and query external identifiers.
Provides the classes necessary to create, delete, update and query managed objects.
Provides the classes necessary to create, delete and query measurements.
-
Uses of SDKException in com.cumulocity.sdk.client
Modifier and TypeMethodDescriptionvoid
ResponseParser.checkStatus
(jakarta.ws.rs.core.Response response, int... expectedStatusCodes) static Platform
PlatformImpl.createPlatform()
This static method creates the Platform from the system parameters.void
void
PagedCollectionResource.get
(int pageSize, QueryParam... queryParams) The method returns the first page.PagedCollectionResource.get
(QueryParam... queryParams) The method returns the first page.PagedCollectionResourceImpl.get
(int pageSize, QueryParam... queryParams) PagedCollectionResourceImpl.get
(QueryParam... queryParams) protected I
<T extends ResourceRepresentation>
TRestConnector.get
(String path, CumulocityMediaType mediaType, Class<T> responseType) <T> T
<T extends ResourceRepresentation>
TRestOperations.get
(String path, CumulocityMediaType mediaType, Class<T> responseType) <T> T
Platform.getAlarmApi()
PlatformImpl.getAlarmApi()
Platform.getAuditRecordApi()
PlatformImpl.getAuditRecordApi()
Platform.getBinariesApi()
PlatformImpl.getBinariesApi()
protected I
PagedCollectionResourceImpl.getCollection
(String url) Platform.getDeviceControlApi()
PlatformImpl.getDeviceControlApi()
Platform.getDeviceCredentialsApi()
PlatformImpl.getDeviceCredentialsApi()
Platform.getEventApi()
PlatformImpl.getEventApi()
Platform.getIdentityApi()
PlatformImpl.getIdentityApi()
Platform.getInventoryApi()
PlatformImpl.getInventoryApi()
Platform.getMeasurementApi()
PlatformImpl.getMeasurementApi()
PagedCollectionResource.getNextPage
(BaseCollectionRepresentation collectionRepresentation) The method returns the next page from the collection.PagedCollectionResourceImpl.getNextPage
(BaseCollectionRepresentation collectionRepresentation) Platform.getNotificationSubscriptionApi()
PlatformImpl.getNotificationSubscriptionApi()
PagedCollectionResource.getPage
(BaseCollectionRepresentation collectionRepresentation, int pageNumber) The method returns the specified page number.PagedCollectionResource.getPage
(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize) The method returns the specified page number.PagedCollectionResourceImpl.getPage
(BaseCollectionRepresentation collectionRepresentation, int pageNumber) PagedCollectionResourceImpl.getPage
(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize) PagedCollectionResource.getPreviousPage
(BaseCollectionRepresentation collectionRepresentation) This method returns the previous page in the collection.PagedCollectionResourceImpl.getPreviousPage
(BaseCollectionRepresentation collectionRepresentation) jakarta.ws.rs.core.Response.Status
RestConnector.getStatus
(String path, CumulocityMediaType mediaType) jakarta.ws.rs.core.Response.Status
RestOperations.getStatus
(String path, CumulocityMediaType mediaType) Platform.getSystemOptionApi()
PlatformImpl.getSystemOptionApi()
Platform.getTenantOptionApi()
PlatformImpl.getTenantOptionApi()
Platform.getTokenApi()
PlatformImpl.getTokenApi()
Platform.getUserApi()
PlatformImpl.getUserApi()
<T extends ResourceRepresentation>
TResponseParser.parse
(jakarta.ws.rs.core.Response response, Class<T> type, int... expectedStatusCodes) <T> T
ResponseParser.parseObject
(jakarta.ws.rs.core.Response response, int expectedStatusCode, Class<T> type) <T extends ResourceRepresentation>
T<T extends ResourceRepresentationWithId>
T<T extends ResourceRepresentation>
T<T extends ResourceRepresentationWithId>
T<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, jakarta.ws.rs.core.MediaType mediaType, T representation) <T extends ResourceRepresentation>
voidRestOperations.postWithoutResponse
(String path, jakarta.ws.rs.core.MediaType mediaType, T representation) <T extends ResourceRepresentationWithId>
T<T extends ResourceRepresentation>
T<T extends ResourceRepresentationWithId>
T<T extends ResourceRepresentation>
T<T extends ResourceRepresentation>
FutureRestConnector.putAsync
(String path, CumulocityMediaType mediaType, T representation) <T extends ResourceRepresentation>
FutureRestOperations.putAsync
(String path, CumulocityMediaType mediaType, T representation) UrlProcessor.removeQueryParam
(String url, Collection<String> params) UrlProcessor.replaceOrAddQueryParam
(String url, Map<String, String> newParams) -
Uses of SDKException in com.cumulocity.sdk.client.alarm
Modifier and TypeMethodDescriptionAlarmApi.create
(AlarmRepresentation alarm) Creates an alarm in the platform.AlarmApiImpl.create
(AlarmRepresentation representation) AlarmApi.createAsync
(AlarmRepresentation alarm) Creates an alarm in the platform.AlarmApiImpl.createAsync
(AlarmRepresentation representation) void
AlarmApi.deleteAlarmsByFilter
(AlarmFilter filter) Delete alarms from the platform based on the specified filtervoid
AlarmApiImpl.deleteAlarmsByFilter
(AlarmFilter filter) Gets an alarm by idAlarmApi.getAlarms()
Gets all alarms from the platformAlarmApiImpl.getAlarms()
AlarmApi.getAlarmsByFilter
(AlarmFilter filter) Gets alarms from the platform based on the specified filterAlarmApiImpl.getAlarmsByFilter
(AlarmFilter filter) AlarmApi.update
(AlarmRepresentation alarm) Updates an alarm in the platform.AlarmApiImpl.update
(AlarmRepresentation alarmToUpdate) AlarmApi.updateAlarm
(AlarmRepresentation alarm) Deprecated.AlarmApiImpl.updateAlarm
(AlarmRepresentation alarmToUpdate) Deprecated. -
Uses of SDKException in com.cumulocity.sdk.client.audit
Modifier and TypeMethodDescriptionAuditRecordApi.create
(AuditRecordRepresentation auditRecord) Creates an audit record in the platform.AuditRecordApiImpl.create
(AuditRecordRepresentation representation) AuditRecordApi.getAuditRecord
(GId gid) Gets an audit record by idAuditRecordApiImpl.getAuditRecord
(GId gid) AuditRecordApi.getAuditRecords()
Gets all audit records from the platformAuditRecordApiImpl.getAuditRecords()
AuditRecordApi.getAuditRecordsByFilter
(AuditRecordFilter filter) Gets audit records from the platform based on the specified filterAuditRecordApiImpl.getAuditRecordsByFilter
(AuditRecordFilter filter) -
Uses of SDKException in com.cumulocity.sdk.client.buffering
-
Uses of SDKException in com.cumulocity.sdk.client.cep.notification
Modifier and TypeMethodDescriptionInventoryRealtimeDeleteAwareNotificationsSubscriber.subscribe
(String agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String, ManagedObjectDeleteAwareNotification> handler, boolean autoRetry) InventoryRealtimeDeleteAwareNotificationsSubscriber.subscribe
(String channelID, SubscriptionListener<String, ManagedObjectDeleteAwareNotification> handler) InventoryRealtimeNotificationsSubscriber.subscribe
(String channelID, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String, ManagedObjectNotification> handler, boolean autoRetry) Deprecated.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
Modifier and TypeMethodDescriptionDeviceControlApi.create
(OperationRepresentation operation) Creates operation in the platform.DeviceControlApiImpl.create
(OperationRepresentation operation) DeviceControlApi.getNotificationsSubscriber()
Gets the notifications subscriber, which allows to receive newly created operations for agent.DeviceControlApiImpl.getNotificationsSubscriber()
DeviceControlApi.getOperation
(GId gid) Gets operation by idDeviceControlApiImpl.getOperation
(GId gid) DeviceControlApi.getOperations()
Gets the all the operation in the platformDeviceControlApiImpl.getOperations()
DeviceControlApi.getOperationsByFilter
(OperationFilter filter) Gets the operations from the platform based on specified filter.DeviceControlApiImpl.getOperationsByFilter
(OperationFilter filter) DeviceControlApi.update
(OperationRepresentation operation) Updates operation in the platform.DeviceControlApiImpl.update
(OperationRepresentation operation) DeviceControlApi.updateAsync
(OperationRepresentation operation) Updates operation in the platform.DeviceControlApiImpl.updateAsync
(OperationRepresentation operation) -
Uses of SDKException in com.cumulocity.sdk.client.devicecontrol.autopoll
ModifierConstructorDescriptionOperationsByAgentAndStatusPollerImpl
(DeviceControlApi deviceControlApi, String agentId, OperationStatus status, OperationProcessor operationProcessor) -
Uses of SDKException in com.cumulocity.sdk.client.devicecontrol.notification
Modifier and TypeMethodDescriptionOperationNotificationSubscriber.subscribe
(GId agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<GId, OperationRepresentation> handler, boolean autoRetry) OperationNotificationSubscriber.subscribe
(GId agentId, SubscriptionListener<GId, OperationRepresentation> handler) -
Uses of SDKException in com.cumulocity.sdk.client.event
Modifier and TypeMethodDescriptionEventApi.create
(EventRepresentation event) Creates event in the platform.EventApiImpl.create
(EventRepresentation representation) EventApi.createAsync
(EventRepresentation event) Creates event in the platform.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) Gets event by idEventApi.getEvents()
Gets the all the event in the platformEventApiImpl.getEvents()
EventApi.getEventsByFilter
(EventFilter filter) Gets the events from the platform based on specified filterEventApiImpl.getEventsByFilter
(EventFilter filter) EventApi.update
(EventRepresentation eventRepresentation) This update the event in the platform.EventApiImpl.update
(EventRepresentation eventRepresentation) -
Uses of SDKException in com.cumulocity.sdk.client.identity
Modifier and TypeMethodDescriptionIdentityApi.create
(ExternalIDRepresentation externalId) Creates an association between the external id and its global id in the platform.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) IdentityApi.getExternalId
(ID extId) Gets external id representation from the platform by the given external id.IdentityApiImpl.getExternalId
(ID extId) IdentityApi.getExternalIdsOfGlobalId
(GId gid) Gets the external ids associated with the given global idIdentityApiImpl.getExternalIdsOfGlobalId
(GId gid) -
Uses of SDKException in com.cumulocity.sdk.client.inventory
Modifier and TypeMethodDescriptionManagedObject.addChildAddition
(ManagedObjectRepresentation representation) Create ManagedObject and adds as child addition to the parent ManagedObject.ManagedObjectImpl.addChildAddition
(ManagedObjectRepresentation representation) ManagedObject.addChildAdditions
(GId childId) Adds a child addition to the ManagedObject.ManagedObject.addChildAdditions
(ManagedObjectReferenceRepresentation refrenceReprsentation) Adds a child addition to the ManagedObject.ManagedObjectImpl.addChildAdditions
(GId childId) ManagedObjectImpl.addChildAdditions
(ManagedObjectReferenceRepresentation refrenceReprsentation) ManagedObject.addChildAsset
(ManagedObjectRepresentation representation) Create ManagedObject and adds as child asset to the parent ManagedObject.ManagedObjectImpl.addChildAsset
(ManagedObjectRepresentation representation) ManagedObject.addChildAssets
(GId childId) Adds a child asset to the ManagedObject.ManagedObject.addChildAssets
(ManagedObjectReferenceRepresentation refrenceReprsentation) Adds a child asset to the ManagedObject.ManagedObjectImpl.addChildAssets
(GId childId) ManagedObjectImpl.addChildAssets
(ManagedObjectReferenceRepresentation refrenceReprsentation) ManagedObject.addChildDevice
(GId childId) Adds a child device to the ManagedObject.ManagedObject.addChildDevice
(ManagedObjectReferenceRepresentation refrenceReprsentation) Adds a child device to the ManagedObject.ManagedObject.addChildDevice
(ManagedObjectRepresentation representation) Create ManagedObject and adds as child device to the parent ManagedObject.ManagedObjectImpl.addChildDevice
(GId childId) ManagedObjectImpl.addChildDevice
(ManagedObjectReferenceRepresentation refrenceReprsentation) ManagedObjectImpl.addChildDevice
(ManagedObjectRepresentation representation) InventoryApi.countManagedObjectsByFilter
(InventoryFilter filter) Returns the count of managed objects from the platform based on specified filter.InventoryApiImpl.countManagedObjectsByFilter
(InventoryFilter filter) InventoryApi.create
(ManagedObjectRepresentation managedObject) Creates managed object in the platform.InventoryApiImpl.create
(ManagedObjectRepresentation representation) void
Deletes the Managed Object from the Cumulocity Server.void
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) BinariesApi.downloadFile
(GId id) Download a stored file (managed object) by a given ID.BinariesApiImpl.downloadFile
(GId id) Returns the Managed Object of the Resource.InventoryApi.get
(GId id, QueryParam... params) Returns the Managed Object of the Resource.InventoryApiImpl.get
(GId id, QueryParam... params) ManagedObject.get()
Deprecated.ManagedObjectImpl.get()
Deprecated.ManagedObject.getChildAddition
(GId additionId) Returns the child additions with the given id.ManagedObjectImpl.getChildAddition
(GId additionId) ManagedObject.getChildAdditions()
Returns all the child additions for the Managed Object in paged collection formManagedObjectImpl.getChildAdditions()
ManagedObject.getChildAsset
(GId assetId) Returns the child Asset with the given id.ManagedObjectImpl.getChildAsset
(GId assetId) ManagedObject.getChildAssets()
Returns all the child Assets for the Managed Object in paged collection formManagedObjectImpl.getChildAssets()
ManagedObject.getChildDevice
(GId deviceId) Returns the child device with the given id.ManagedObjectImpl.getChildDevice
(GId deviceId) ManagedObject.getChildDevices()
Returns all the child Devices for the Managed Object in paged collection form.ManagedObjectImpl.getChildDevices()
InventoryApi.getManagedObject
(GId gid) Deprecated.InventoryApiImpl.getManagedObject
(GId globalId) InventoryApi.getManagedObjectApi
(GId gid) Gets managed object resource by id.InventoryApiImpl.getManagedObjectApi
(GId globalId) InventoryApi.getManagedObjects()
Gets the all the managed object in the platformInventoryApiImpl.getManagedObjects()
InventoryApi.getManagedObjectsByFilter
(InventoryFilter filter) Gets the managed objects from the platform based on specified filter.InventoryApiImpl.getManagedObjectsByFilter
(InventoryFilter filter) InventoryApi.getManagedObjectsByListOfIds
(List<GId> ids) Deprecated.InventoryApiImpl.getManagedObjectsByListOfIds
(List<GId> ids) Deprecated.protected String
InventoryApiImpl.getMOCollectionUrl()
InventoryApi.getSupportedMeasurements
(GId id) Returns supported measurements of the Managed Object specified by its idInventoryApiImpl.getSupportedMeasurements
(GId sourceId) InventoryApi.getSupportedSeries
(GId id) Returns supported series of the Managed Object specified by its idInventoryApiImpl.getSupportedSeries
(GId sourceId) BinariesApi.replaceFile
(GId containerId, String contentType, InputStream fileStream) Upload and replace the attached file (binary) of a specific managed object by a given ID.BinariesApiImpl.replaceFile
(GId containerId, String contentType, InputStream fileStream) InventoryApi.update
(ManagedObjectRepresentation managedObjectRepresentation) This update the ManagedObject for the operationCollection.InventoryApiImpl.update
(ManagedObjectRepresentation managedObjectRepresentation) ManagedObject.update
(ManagedObjectRepresentation managedObjectRepresentation) Deprecated.ManagedObjectImpl.update
(ManagedObjectRepresentation managedObjectRepresentation) Deprecated.BinariesApi.uploadFile
(ManagedObjectRepresentation container, byte[] bytes) Upload a file (binary) with content-type of "application/octet-stream" (default).BinariesApi.uploadFile
(ManagedObjectRepresentation container, byte[] bytes, jakarta.ws.rs.core.MediaType mediaType) Upload a file (binary) with custom content-type.BinariesApi.uploadFile
(ManagedObjectRepresentation container, InputStream inputStream) Upload a file (binary) with content-type of "application/octet-stream" (default).BinariesApi.uploadFile
(ManagedObjectRepresentation container, InputStream inputStream, jakarta.ws.rs.core.MediaType mediaType) Upload a file (binary) with custom content-type.BinariesApiImpl.uploadFile
(ManagedObjectRepresentation container, byte[] bytes) BinariesApiImpl.uploadFile
(ManagedObjectRepresentation container, byte[] bytes, jakarta.ws.rs.core.MediaType mediaType) BinariesApiImpl.uploadFile
(ManagedObjectRepresentation container, InputStream inputStream) BinariesApiImpl.uploadFile
(ManagedObjectRepresentation container, InputStream inputStream, jakarta.ws.rs.core.MediaType mediaType) -
Uses of SDKException in com.cumulocity.sdk.client.measurement
Modifier and TypeMethodDescriptionMeasurementApi.create
(MeasurementRepresentation measurement) Creates measurement in the platform.MeasurementApiImpl.create
(MeasurementRepresentation measurementRepresentation) MeasurementApi.createAsync
(MeasurementRepresentation measurement) Creates measurement in the platform.MeasurementApiImpl.createAsync
(MeasurementRepresentation measurementRepresentation) 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) MeasurementApi.getMeasurement
(GId gid) Gets measurement by idMeasurementApiImpl.getMeasurement
(GId measurementId) MeasurementApi.getMeasurements()
Gets the all the measurement in the platformMeasurementApiImpl.getMeasurements()
MeasurementApi.getMeasurementsByFilter
(MeasurementFilter filter) Gets the measurements from the platform based on specified filterMeasurementApiImpl.getMeasurementsByFilter
(MeasurementFilter filter) protected String
MeasurementApiImpl.getSelfUri()
-
Uses of SDKException in com.cumulocity.sdk.client.messaging.notifications
Modifier and TypeMethodDescriptionTokenApi.create
(NotificationTokenRequestRepresentation tokenRequest) Creates new access 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.NotificationSubscriptionApi.getSubscriptions()
Gets all the subscriptions.NotificationSubscriptionApiImpl.getSubscriptions()
NotificationSubscriptionApi.getSubscriptionsByFilter
(NotificationSubscriptionFilter filter) Gets all the subscriptions matching a filter.NotificationSubscriptionApiImpl.getSubscriptionsByFilter
(NotificationSubscriptionFilter filter) Refreshes an expired Token.NotificationSubscriptionApi.subscribe
(NotificationSubscriptionRepresentation representation) Creates a subscription to a source.NotificationSubscriptionApiImpl.subscribe
(NotificationSubscriptionRepresentation representation) void
TokenApi.unsubscribe
(Token token) Unsubscribe a subscriber using supplied Token.void
TokenApiImpl.unsubscribe
(Token token) Verifies supplied Token. -
Uses of SDKException in com.cumulocity.sdk.client.notification
Modifier and TypeMethodDescriptionSubscriber.subscribe
(T object, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<T, R> handler, boolean autoRetry) Subscriber.subscribe
(T object, SubscriptionListener<T, R> handler) -
Uses of SDKException in com.cumulocity.sdk.client.option
Modifier and TypeMethodDescriptionvoid
Deletes option from the platform.void
TenantOptionApi.getAllOptionsForCategory
(String category) Gets all options from the platform for the specific category Requires role ROLE_OPTION_MANAGEMENT_READTenantOptionApiImpl.getAllOptionsForCategory
(String category) Gets an option by id Requires role ROLE_OPTION_MANAGEMENT_READGets an option by id Requires role ROLE_OPTION_MANAGEMENT_READTenantOptionApi.getOptions()
Gets all options from the platform Requires role ROLE_OPTION_MANAGEMENT_READTenantOptionApiImpl.getOptions()
TenantOptionApi.save
(OptionRepresentation option) Creates or updates an option in the platform.TenantOptionApiImpl.save
(OptionRepresentation representation) TenantOptionApi.saveAsync
(OptionRepresentation option) Creates or updates an option in the platform.TenantOptionApiImpl.saveAsync
(OptionRepresentation representation)