public class IdentityApiImpl extends Object implements IdentityApi
Constructor and Description |
---|
IdentityApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
IdentityRepresentation identityRepresentation,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
ExternalIDRepresentation |
create(ExternalIDRepresentation representation)
Creates an association between the external id and its global id in the platform.
|
void |
deleteExternalId(ExternalIDRepresentation extIdRep)
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
|
public IdentityApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, IdentityRepresentation identityRepresentation, int pageSize)
public ExternalIDRepresentation getExternalId(com.cumulocity.model.ID extId) throws SDKException
IdentityApi
getExternalId
in interface IdentityApi
extId
- id of the event to search forSDKException
- if the external id is not found or if the query failedpublic void deleteExternalId(ExternalIDRepresentation extIdRep) throws SDKException
IdentityApi
deleteExternalId
in interface IdentityApi
extIdRep
- the external id to be deletedSDKException
- if the external could not be deletedpublic ExternalIDCollection getExternalIdsOfGlobalId(com.cumulocity.model.idtype.GId gid) throws SDKException
IdentityApi
getExternalIdsOfGlobalId
in interface IdentityApi
gid
- the global of the external ids to search forSDKException
- if the query failedpublic ExternalIDRepresentation create(ExternalIDRepresentation representation) throws SDKException
IdentityApi
create
in interface IdentityApi
representation
- the external to be createdSDKException
- if the external id could not be createdCopyright © 2020 (C) Cumulocity GmbH. All rights reserved.