public class IdentityServiceImplV1Alpha1 extends ServiceBase<RestIdentity,IdentityService<RestIdentity>> implements IdentityService<RestIdentity>
crudLifecycle, lifecycle, startedAFTER_CREATE_EVENT, AFTER_DELETE_EVENT, AFTER_UPDATE_EVENT, BEFORE_CREATE_EVENT, BEFORE_DELETE_EVENT, BEFORE_UPDATE_EVENT, CREATE_EVENT, DELETE_EVENT, UPDATE_EVENTAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
IdentityServiceImplV1Alpha1() |
| Modifier and Type | Method and Description |
|---|---|
RestIdentity |
create(RestIdentity newInstance)
Creates a new instance.
|
RestIdentity |
delete(RestIdentity existingInstance)
Deletes an existing instance.
|
RestIdentity |
get(String uuid)
Gets an existing instance by its uuid.
|
RestIdentity |
getIdentity(String identityProvider,
String remoteId)
Gets an identity by its identity provider and remote id.
|
String |
getIdentityId(String provider,
String remoteId)
Gets the identity id from a remote id.
|
RestIdentity |
update(RestIdentity existingInstance)
Updates an existing instance.
|
addCRUDLifecycleListener, addLifecycleListener, doCreate, doDelete, doUpdate, findCRUDLifecycleListeners, findLifecycleListeners, postCreate, postDelete, postUpdate, preCreate, preDelete, preUpdate, removeCRUDLifecycleListener, removeLifecycleListener, start, stoppublic RestIdentity create(RestIdentity newInstance) throws SocialClientLibException
Servicecreate in interface Service<RestIdentity>newInstance - new instanceSocialClientLibExceptionpublic RestIdentity get(String uuid) throws SocialClientLibException
Serviceget in interface Service<RestIdentity>uuid - the uuidSocialClientLibExceptionpublic RestIdentity update(RestIdentity existingInstance) throws SocialClientLibException
Serviceupdate in interface Service<RestIdentity>SocialClientLibExceptionpublic RestIdentity delete(RestIdentity existingInstance) throws SocialClientLibException
Servicedelete in interface Service<RestIdentity>SocialClientLibExceptionpublic String getIdentityId(String provider, String remoteId) throws SocialClientLibException
getIdentityId in interface IdentityService<RestIdentity>remoteId - the remote idSocialClientLibExceptionpublic RestIdentity getIdentity(String identityProvider, String remoteId) throws SocialClientLibException
getIdentity in interface IdentityService<RestIdentity>identityProvider - the identity providerremoteId - the remote idSocialClientLibExceptionCopyright © 2011–2015 eXo Platform SAS. All rights reserved.