public class IdentityRestResourcesV1 extends Object implements IdentityRestResources
| Constructor and Description |
|---|
IdentityRestResourcesV1(org.exoplatform.social.core.manager.IdentityManager identityManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createIdentities(javax.ws.rs.core.UriInfo uriInfo,
String remoteId,
String providerId,
String expand)
Process to create an identity
|
javax.ws.rs.core.Response |
deleteIdentityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand)
Process to delete an identity
|
javax.ws.rs.core.Response |
getCommonConnectionsWithIdentity(javax.ws.rs.core.UriInfo uriInfo,
String id,
int offset,
int limit,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
getIdentities(javax.ws.rs.core.UriInfo uriInfo,
String type,
int offset,
int limit,
boolean returnSize,
String expand)
Process to return a list of identities in json format
|
javax.ws.rs.core.Response |
getIdentityAvatarById(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
String id) |
javax.ws.rs.core.Response |
getIdentityBannerById(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
String id) |
javax.ws.rs.core.Response |
getIdentityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand)
Process to return an identity in json format
|
javax.ws.rs.core.Response |
getRelationshipsOfIdentity(javax.ws.rs.core.UriInfo uriInfo,
String id,
String with,
boolean returnSize,
int offset,
int limit,
String expand)
Process to return all relationships of an identity in json format
|
javax.ws.rs.core.Response |
updateIdentityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
ProfileEntity model)
Process to update an identity by id
|
public IdentityRestResourcesV1(org.exoplatform.social.core.manager.IdentityManager identityManager)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getIdentities(@Context javax.ws.rs.core.UriInfo uriInfo, String type, int offset, int limit, boolean returnSize, String expand) throws Exception
getIdentities in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response createIdentities(@Context javax.ws.rs.core.UriInfo uriInfo, String remoteId, String providerId, String expand) throws Exception
createIdentities in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getIdentityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
getIdentityById in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getIdentityAvatarById(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.Request request, String id) throws IOException
uriInfo - id - IOException@RolesAllowed(value="users") public javax.ws.rs.core.Response getIdentityBannerById(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.Request request, String id) throws IOException
uriInfo - id - IOException@RolesAllowed(value="users") public javax.ws.rs.core.Response updateIdentityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, ProfileEntity model) throws Exception
updateIdentityById in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteIdentityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
deleteIdentityById in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getRelationshipsOfIdentity(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String with, boolean returnSize, int offset, int limit, String expand) throws Exception
getRelationshipsOfIdentity in interface IdentityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getCommonConnectionsWithIdentity(@Context javax.ws.rs.core.UriInfo uriInfo, String id, int offset, int limit, boolean returnSize, String expand) throws Exception
ExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.