| Modifier and Type | Method and Description |
|---|---|
static RelationshipEntity |
EntityBuilder.buildEntityRelationship(org.exoplatform.social.core.relationship.model.Relationship relationship,
String restPath,
String expand,
boolean isSymetric)
Get a RelationshipEntity from a relationship in order to build a json object for the rest service
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
RelationshipsRestResources.createRelationship(javax.ws.rs.core.UriInfo uriInfo,
String expand,
RelationshipEntity model) |
javax.ws.rs.core.Response |
UsersRelationshipsRestResources.createUsersRelationships(javax.ws.rs.core.UriInfo uriInfo,
String expand,
RelationshipEntity model)
Create a relationship between 2 users
|
javax.ws.rs.core.Response |
RelationshipsRestResources.updateRelationshipById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
RelationshipEntity model)
Process to update a relationship by id
|
javax.ws.rs.core.Response |
UsersRelationshipsRestResources.updateUsersRelationshipsById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
RelationshipEntity model)
Update a relationship by id
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipEntity |
RelationshipEntity.setDataReceiver(LinkEntity receiver) |
RelationshipEntity |
RelationshipEntity.setDataSender(LinkEntity sender) |
RelationshipEntity |
RelationshipEntity.setStatus(String status) |
RelationshipEntity |
RelationshipEntity.setSymetric(Boolean symetric) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
RelationshipsRestResourcesV1.createRelationship(javax.ws.rs.core.UriInfo uriInfo,
String expand,
RelationshipEntity model) |
javax.ws.rs.core.Response |
RelationshipsRestResourcesV1.updateRelationshipById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
RelationshipEntity model) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
UsersRelationshipsRestResourcesV1.createUsersRelationships(javax.ws.rs.core.UriInfo uriInfo,
String expand,
RelationshipEntity model) |
javax.ws.rs.core.Response |
UsersRelationshipsRestResourcesV1.updateUsersRelationship(javax.ws.rs.core.UriInfo uriInfo,
RelationshipEntity model,
String expand) |
javax.ws.rs.core.Response |
UsersRelationshipsRestResourcesV1.updateUsersRelationshipsById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
RelationshipEntity model)
Deprecated.
|
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.