Uses of Class
org.exoplatform.social.core.relationship.model.Relationship
Packages that use Relationship
Package
Description
-
Uses of Relationship in org.exoplatform.social.core.identity.model
Methods in org.exoplatform.social.core.identity.model that return RelationshipMethods in org.exoplatform.social.core.identity.model with parameters of type RelationshipModifier and TypeMethodDescriptionvoidIdentityWithRelationship.setRelationship(Relationship relationship) -
Uses of Relationship in org.exoplatform.social.core.manager
Methods in org.exoplatform.social.core.manager that return RelationshipModifier and TypeMethodDescriptionDeprecated.Gets a relationship by its Id.Gets a relationship between 2 identities.RelationshipManager.getRelationship(Identity sender, Identity receiver) Deprecated.UseRelationshipManager.get(Identity, Identity)instead.RelationshipManager.getRelationshipById(String id) Deprecated.UseRelationshipManager.get(String)instead.Deprecated.RelationshipManager.inviteToConnect(Identity invitingIdentity, Identity invitedIdentity) Invites one identity to connect to the other.Methods in org.exoplatform.social.core.manager that return types with arguments of type RelationshipModifier and TypeMethodDescriptionDeprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.RelationshipManager.getAll(Identity identity, Relationship.Type type, List<Identity> identities) Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.RelationshipManager.getAllRelationships(Identity identity) Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.RelationshipManager.getConfirmed(Identity identity) Deprecated.UseRelationshipManager.getConnections(Identity)instead.RelationshipManager.getConfirmed(Identity identity, List<Identity> identities) Deprecated.UseRelationshipManager.getConnections(Identity)instead.RelationshipManager.getContacts(Identity identity) Deprecated.UseRelationshipManager.getConnections(Identity)instead.RelationshipManager.getContacts(Identity currIdentity, List<Identity> identities) Deprecated.UseRelationshipManager.getConnections(Identity)instead.RelationshipManager.getIncoming(Identity receiver) Deprecated.RelationshipManager.getIncoming(Identity receiver, List<Identity> identities) Deprecated.RelationshipManager.getPending(Identity sender) Deprecated.UseRelationshipManager.getIncoming(Identity)instead.RelationshipManager.getPending(Identity sender, List<Identity> identities) Deprecated.RelationshipManager.getPendingRelationships(Identity identity) Deprecated.UseRelationshipManager.getIncoming(Identity)instead.RelationshipManager.getPendingRelationships(Identity identity, boolean toConfirm) Deprecated.When toConfirm=true, useRelationshipManager.getIncoming(Identity)instead.RelationshipManager.getPendingRelationships(Identity currIdentity, List<Identity> identities, boolean toConfirm) Deprecated.When toConfirm=true, useRelationshipManager.getIncoming(Identity)instead.RelationshipManager.getRelationshipsByIdentityId(String id) Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)with identity instead.RelationshipManager.getRelationshipsByStatus(Identity identity, Relationship.Type type, int offset, int limit) Gets a list which contains all relationships by status.Methods in org.exoplatform.social.core.manager with parameters of type RelationshipModifier and TypeMethodDescriptionvoidRelationshipManager.confirm(Relationship relationship) Deprecated.UseRelationshipManager.confirm(Identity, Identity)instead.voidRelationshipManager.delete(Relationship existingRelationship) Deletes an existing relationship.voidRelationshipManager.deny(Relationship relationship) Deprecated.UseRelationshipManager.deny(Identity, Identity)instead.RelationshipManager.getRelationshipStatus(Relationship rel, Identity id) Deprecated.Now we don't use this method to get relationship we get status of relationship object and depend on sender and receiver, we can define pending relationship or incoming relationship.voidRelationshipManager.ignore(Relationship relationship) Deprecated.UseRelationshipManager.ignore(Identity, Identity)instead.voidRelationshipManager.remove(Relationship relationship) Deprecated.UseRelationshipManager.delete(Relationship)instead.voidRelationshipManager.save(Relationship relationship) Deprecated.Use actions (inviteToConnect, confirm) instead.voidRelationshipManager.saveRelationship(Relationship relationship) Deprecated.UseRelationshipManager.update(Relationship)instead.voidRelationshipManager.update(Relationship existingRelationship) Updates an existing relationship. -
Uses of Relationship in org.exoplatform.social.core.storage.api
Methods in org.exoplatform.social.core.storage.api that return RelationshipModifier and TypeMethodDescriptionRelationshipStorage.getRelationship(String uuid) Gets the relationship.RelationshipStorage.getRelationship(Identity identity1, Identity identity2) Gets the relationship of 2 identities.RelationshipStorage.saveRelationship(Relationship relationship) Saves relationship.Methods in org.exoplatform.social.core.storage.api that return types with arguments of type RelationshipModifier and TypeMethodDescriptionRelationshipStorage.getReceiverRelationships(Identity receiver, Relationship.Type type, List<Identity> listCheckIdentity) Gets the list of relationship by identity id matching with checking identity idsRelationshipStorage.getRelationships(Identity identity, Relationship.Type type, List<Identity> listCheckIdentity) Gets the list of relationship by identity matching with checking identity idsRelationshipStorage.getRelationshipsByStatus(Identity identity, Relationship.Type type, long offset, long limit) Gets a list of all relationships by status.RelationshipStorage.getSenderRelationships(String senderId, Relationship.Type type, List<Identity> listCheckIdentity) Gets the list of relationship by identity id matching with checking identity idsRelationshipStorage.getSenderRelationships(Identity sender, Relationship.Type type, List<Identity> listCheckIdentity) Gets the list of relationship by identity id matching with checking identity idsMethods in org.exoplatform.social.core.storage.api with parameters of type RelationshipModifier and TypeMethodDescriptionvoidRelationshipStorage.removeRelationship(Relationship relationship) Removes the relationship.RelationshipStorage.saveRelationship(Relationship relationship) Saves relationship.
RelationshipManager.invite(Identity, Identity)instead.