|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.client.core.service.ServiceBase<RestIdentity,IdentityService<RestIdentity>>
org.exoplatform.social.client.core.service.IdentityServiceImplV1Alpha1
public class IdentityServiceImplV1Alpha1
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Jun 30, 2011
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.social.client.core.service.ServiceBase |
|---|
crudLifecycle, lifecycle, started |
| Fields inherited from interface org.exoplatform.social.client.api.event.CRUDLifecycle |
|---|
AFTER_CREATE_EVENT, AFTER_DELETE_EVENT, AFTER_UPDATE_EVENT, BEFORE_CREATE_EVENT, BEFORE_DELETE_EVENT, BEFORE_UPDATE_EVENT, CREATE_EVENT, DELETE_EVENT, UPDATE_EVENT |
| Fields inherited from interface org.exoplatform.social.client.api.event.Lifecycle |
|---|
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
|---|---|
IdentityServiceImplV1Alpha1()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.exoplatform.social.client.core.service.ServiceBase |
|---|
addCRUDLifecycleListener, addLifecycleListener, doCreate, doDelete, doUpdate, findCRUDLifecycleListeners, findLifecycleListeners, postCreate, postDelete, postUpdate, preCreate, preDelete, preUpdate, removeCRUDLifecycleListener, removeLifecycleListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityServiceImplV1Alpha1()
| Method Detail |
|---|
public RestIdentity create(RestIdentity newInstance)
throws SocialClientLibException
Service
create in interface Service<RestIdentity>newInstance - new instance
SocialClientLibException
public RestIdentity get(String uuid)
throws SocialClientLibException
Service
get in interface Service<RestIdentity>uuid - the uuid
SocialClientLibException
public RestIdentity update(RestIdentity existingInstance)
throws SocialClientLibException
Service
update in interface Service<RestIdentity>SocialClientLibException
public RestIdentity delete(RestIdentity existingInstance)
throws SocialClientLibException
Service
delete in interface Service<RestIdentity>SocialClientLibException
public String getIdentityId(String provider,
String remoteId)
throws SocialClientLibException
getIdentityId in interface IdentityService<RestIdentity>remoteId - the remote id
SocialClientLibException
public RestIdentity getIdentity(String identityProvider,
String remoteId)
throws SocialClientLibException
getIdentity in interface IdentityService<RestIdentity>identityProvider - the identity providerremoteId - the remote id
SocialClientLibException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||