|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cumulocity.sdk.client.identity.IdentityApiImpl
public class IdentityApiImpl
Constructor Summary | |
---|---|
IdentityApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl)
Deprecated. |
|
IdentityApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl,
int pageSize)
|
Method Summary | |
---|---|
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(ID extId)
Gets external id representation from the platform by the given external id. |
PagedCollectionResource<ExternalIDCollectionRepresentation> |
getExternalIdsOfGlobalId(GId gid)
Gets the external ids associated with the given global id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public IdentityApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, String platformUrl)
public IdentityApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, String platformUrl, int pageSize)
Method Detail |
---|
public ExternalIDRepresentation getExternalId(ID extId) throws SDKException
IdentityApi
getExternalId
in interface IdentityApi
extId
- id of the event to search for
SDKException
- 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 deleted
SDKException
- if the external could not be deletedpublic PagedCollectionResource<ExternalIDCollectionRepresentation> getExternalIdsOfGlobalId(GId gid) throws SDKException
IdentityApi
getExternalIdsOfGlobalId
in interface IdentityApi
gid
- the global of the external ids to search for
SDKException
- if the query failedpublic ExternalIDRepresentation create(ExternalIDRepresentation representation) throws SDKException
IdentityApi
create
in interface IdentityApi
representation
- the external to be created
SDKException
- if the external id could not be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |