public interface IdentityApi
Modifier and Type | Method and Description |
---|---|
ExternalIDRepresentation |
create(ExternalIDRepresentation externalId)
Creates an association between the external id and its global id in the platform.
|
void |
deleteExternalId(ExternalIDRepresentation externalId)
Deletes between the external id and its global id in the platform.
|
ExternalIDRepresentation |
getExternalId(com.cumulocity.model.ID extId)
Gets external id representation from the platform by the given external id.
|
ExternalIDCollection |
getExternalIdsOfGlobalId(com.cumulocity.model.idtype.GId gid)
Gets the external ids associated with the given global id
|
ExternalIDRepresentation create(ExternalIDRepresentation externalId) throws SDKException
externalId
- the external to be createdSDKException
- if the external id could not be createdExternalIDRepresentation getExternalId(com.cumulocity.model.ID extId) throws SDKException
extId
- id of the event to search forSDKException
- if the external id is not found or if the query failedExternalIDCollection getExternalIdsOfGlobalId(com.cumulocity.model.idtype.GId gid) throws SDKException
gid
- the global of the external ids to search forSDKException
- if the query failedvoid deleteExternalId(ExternalIDRepresentation externalId) throws SDKException
externalId
- the external id to be deletedSDKException
- if the external could not be deletedCopyright © 2020 (C) Cumulocity GmbH. All rights reserved.