public interface RelationshipManager
Modifier and Type | Method and Description |
---|---|
void |
confirm(org.exoplatform.social.core.identity.model.Identity invitedIdentity,
org.exoplatform.social.core.identity.model.Identity invitingIdentity)
Confirms to connect to an identity who sent invitation.
|
void |
confirm(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use
confirm(Identity, Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
create(org.exoplatform.social.core.identity.model.Identity sender,
org.exoplatform.social.core.identity.model.Identity receiver)
Deprecated.
Use
invite(Identity, Identity) instead.
Will be removed by 4.0.x. |
void |
delete(org.exoplatform.social.core.relationship.model.Relationship existingRelationship)
Deletes an existing relationship.
|
void |
deny(org.exoplatform.social.core.identity.model.Identity invitedIdentity,
org.exoplatform.social.core.identity.model.Identity invitingIdentity)
Denies to connect to an identity who sent invitation.
|
void |
deny(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use
deny(Identity, Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.identity.model.Identity> |
findRelationships(org.exoplatform.social.core.identity.model.Identity ownerIdentity,
org.exoplatform.social.core.relationship.model.Relationship.Type relationshipType)
Deprecated.
Use
getIncoming(Identity) or getOutgoing(Identity) instead.
Will be removed by 4.0.x. |
List |
findRoute(org.exoplatform.social.core.identity.model.Identity sender,
org.exoplatform.social.core.identity.model.Identity receiver)
Deprecated.
Should use
get(Identity, Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
get(org.exoplatform.social.core.identity.model.Identity identity1,
org.exoplatform.social.core.identity.model.Identity identity2)
Gets a relationship between 2 identities.
|
org.exoplatform.social.core.relationship.model.Relationship |
get(String relationshipId)
Gets a relationship by its Id.
|
List<org.exoplatform.social.core.relationship.model.Relationship> |
getAll(org.exoplatform.social.core.identity.model.Identity identity)
Deprecated.
Use
getAllWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getAll(org.exoplatform.social.core.identity.model.Identity identity,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getAllWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getAll(org.exoplatform.social.core.identity.model.Identity identity,
org.exoplatform.social.core.relationship.model.Relationship.Type type,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getAllWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getAllRelationships(org.exoplatform.social.core.identity.model.Identity identity)
Deprecated.
Use
getAllWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getAllWithListAccess(org.exoplatform.social.core.identity.model.Identity existingIdentity)
Gets a list access which contains all identities who were connected, were invited or invited a provided identity.
|
List<org.exoplatform.social.core.relationship.model.Relationship> |
getConfirmed(org.exoplatform.social.core.identity.model.Identity identity)
Deprecated.
Use
getConnections(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getConfirmed(org.exoplatform.social.core.identity.model.Identity identity,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getConnections(Identity) instead.
Will be removed by 4.0.x. |
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getConnections(org.exoplatform.social.core.identity.model.Identity existingIdentity)
Gets a list access which contains all identities who are connected to a provided identity.
|
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getConnectionsByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity,
org.exoplatform.social.core.profile.ProfileFilter profileFilter)
Gets a list access which contains all identities who are connected to a provided identity
and filtered by a profile filter.
|
org.exoplatform.social.core.relationship.model.Relationship.Type |
getConnectionStatus(org.exoplatform.social.core.identity.model.Identity fromIdentity,
org.exoplatform.social.core.identity.model.Identity toIdentity)
Deprecated.
Use
getStatus(Identity, Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getContacts(org.exoplatform.social.core.identity.model.Identity identity)
Deprecated.
Use
getConnections(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getContacts(org.exoplatform.social.core.identity.model.Identity currIdentity,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getConnections(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.identity.model.Identity> |
getIdentities(org.exoplatform.social.core.identity.model.Identity id)
Deprecated.
Use
getAllWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getIncoming(org.exoplatform.social.core.identity.model.Identity receiver)
Deprecated.
Use
getIncomingWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getIncoming(org.exoplatform.social.core.identity.model.Identity receiver,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getIncomingWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getIncomingByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity,
org.exoplatform.social.core.profile.ProfileFilter profileFilter)
Gets a list access which contains all identities who invited to connect to a provided identity
and filtered by a profile filter.
|
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getIncomingWithListAccess(org.exoplatform.social.core.identity.model.Identity existingIdentity)
Gets a list access which contains all identities who invited to connect to a provided identity.
|
List<org.exoplatform.social.core.identity.model.Identity> |
getLastConnections(org.exoplatform.social.core.identity.model.Identity identity,
int limit)
Get the list of identities who are most recently connected with given user
the limit number of results must be greater than 0 or an empty list will be returned
|
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getOutgoing(org.exoplatform.social.core.identity.model.Identity existingIdentity)
Gets a list access which contains all identities who were invited to connect by a provided identity.
|
ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getOutgoingByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity,
org.exoplatform.social.core.profile.ProfileFilter profileFilter)
Gets a list access which contains all identities who were invited by a provided identity to connect
and filtered by a profile filter.
|
List<org.exoplatform.social.core.relationship.model.Relationship> |
getPending(org.exoplatform.social.core.identity.model.Identity sender)
Deprecated.
Use
getIncoming(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getPending(org.exoplatform.social.core.identity.model.Identity sender,
List<org.exoplatform.social.core.identity.model.Identity> identities)
Deprecated.
Use
getIncomingWithListAccess(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getPendingRelationships(org.exoplatform.social.core.identity.model.Identity identity)
Deprecated.
Use
getIncoming(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getPendingRelationships(org.exoplatform.social.core.identity.model.Identity identity,
boolean toConfirm)
Deprecated.
When toConfirm=true, use
getIncoming(Identity) instead.
When toConfirm=false, use getOutgoing(Identity) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getPendingRelationships(org.exoplatform.social.core.identity.model.Identity currIdentity,
List<org.exoplatform.social.core.identity.model.Identity> identities,
boolean toConfirm)
Deprecated.
When toConfirm=true, use
getIncoming(Identity) instead.
When toConfirm=false use getOutgoing(Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
getRelationship(org.exoplatform.social.core.identity.model.Identity sender,
org.exoplatform.social.core.identity.model.Identity receiver)
Deprecated.
Use
get(Identity, Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
getRelationshipById(String id)
Deprecated.
Use
get(String) instead.
Will be removed by 4.0.x. |
List<org.exoplatform.social.core.relationship.model.Relationship> |
getRelationshipsByIdentityId(String id)
Deprecated.
Use
getAllWithListAccess(Identity) with identity instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship.Type |
getRelationshipStatus(org.exoplatform.social.core.relationship.model.Relationship rel,
org.exoplatform.social.core.identity.model.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.
But we still keep this method for build, call
getStatus(Identity, Identity) .
This method will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship.Type |
getStatus(org.exoplatform.social.core.identity.model.Identity identity1,
org.exoplatform.social.core.identity.model.Identity identity2)
Gets the relationship status between 2 identities.
|
Map<org.exoplatform.social.core.identity.model.Identity,Integer> |
getSuggestions(org.exoplatform.social.core.identity.model.Identity identity,
int offset,
int limit)
Deprecated.
|
Map<org.exoplatform.social.core.identity.model.Identity,Integer> |
getSuggestions(org.exoplatform.social.core.identity.model.Identity identity,
int maxConnections,
int maxConnectionsToLoad,
int maxSuggestions)
Gets suggestions having common users with the provided identity.
|
void |
ignore(org.exoplatform.social.core.identity.model.Identity invitedIdentity,
org.exoplatform.social.core.identity.model.Identity invitingIdentity)
Ignores to connect to an identity who sent invitation.
|
void |
ignore(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use
ignore(Identity, Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
invite(org.exoplatform.social.core.identity.model.Identity sender,
org.exoplatform.social.core.identity.model.Identity receiver)
Deprecated.
Use
inviteToConnect(Identity, Identity) instead.
Will be removed by 4.0.x. |
org.exoplatform.social.core.relationship.model.Relationship |
inviteToConnect(org.exoplatform.social.core.identity.model.Identity invitingIdentity,
org.exoplatform.social.core.identity.model.Identity invitedIdentity)
Invites one identity to connect to the other.
|
void |
remove(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use
delete(Relationship) instead.
Will be removed by 4.0.x. |
void |
save(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use actions (inviteToConnect, confirm) instead.
Will be removed by 4.0.x.
|
void |
saveRelationship(org.exoplatform.social.core.relationship.model.Relationship relationship)
Deprecated.
Use
update(Relationship) instead.
Will be removed by 4.0.x. |
void |
update(org.exoplatform.social.core.relationship.model.Relationship existingRelationship)
Updates an existing relationship.
|
org.exoplatform.social.core.relationship.model.Relationship get(String relationshipId)
relationshipId
- Id of the relationship.org.exoplatform.social.core.relationship.model.Relationship get(org.exoplatform.social.core.identity.model.Identity identity1, org.exoplatform.social.core.identity.model.Identity identity2)
identity1
- The identity 1.identity2
- The identity 2.void update(org.exoplatform.social.core.relationship.model.Relationship existingRelationship)
existingRelationship
- The existing relationship to be updated.void delete(org.exoplatform.social.core.relationship.model.Relationship existingRelationship)
existingRelationship
- The existing relationship to be deleted.org.exoplatform.social.core.relationship.model.Relationship inviteToConnect(org.exoplatform.social.core.identity.model.Identity invitingIdentity, org.exoplatform.social.core.identity.model.Identity invitedIdentity)
invitingIdentity
- The sender identity.invitedIdentity
- The identity who is invited.void confirm(org.exoplatform.social.core.identity.model.Identity invitedIdentity, org.exoplatform.social.core.identity.model.Identity invitingIdentity)
invitedIdentity
- The identity who gets invitation.invitingIdentity
- The identity who invites another.void deny(org.exoplatform.social.core.identity.model.Identity invitedIdentity, org.exoplatform.social.core.identity.model.Identity invitingIdentity)
invitedIdentity
- The identity who gets invitation.invitingIdentity
- The identity who invites another.void ignore(org.exoplatform.social.core.identity.model.Identity invitedIdentity, org.exoplatform.social.core.identity.model.Identity invitingIdentity)
invitedIdentity
- The identity who gets invitation.invitingIdentity
- The identity who invites another.ListAccess<org.exoplatform.social.core.identity.model.Identity> getConnections(org.exoplatform.social.core.identity.model.Identity existingIdentity)
existingIdentity
- The existing provided identity.ListAccess<org.exoplatform.social.core.identity.model.Identity> getIncomingWithListAccess(org.exoplatform.social.core.identity.model.Identity existingIdentity)
existingIdentity
- The existing provided identity.ListAccess<org.exoplatform.social.core.identity.model.Identity> getOutgoing(org.exoplatform.social.core.identity.model.Identity existingIdentity)
existingIdentity
- The existing provided identity.ListAccess<org.exoplatform.social.core.identity.model.Identity> getAllWithListAccess(org.exoplatform.social.core.identity.model.Identity existingIdentity)
existingIdentity
- The existing provided identity.org.exoplatform.social.core.relationship.model.Relationship.Type getStatus(org.exoplatform.social.core.identity.model.Identity identity1, org.exoplatform.social.core.identity.model.Identity identity2)
identity1
- The identity 1.identity2
- The identity 2.@Deprecated org.exoplatform.social.core.relationship.model.Relationship invite(org.exoplatform.social.core.identity.model.Identity sender, org.exoplatform.social.core.identity.model.Identity receiver) throws org.exoplatform.social.core.storage.RelationshipStorageException
inviteToConnect(Identity, Identity)
instead.
Will be removed by 4.0.x.sender
- The inviter.receiver
- The invitee.org.exoplatform.social.core.storage.RelationshipStorageException
@Deprecated org.exoplatform.social.core.relationship.model.Relationship getRelationshipById(String id) throws org.exoplatform.social.core.storage.RelationshipStorageException
get(String)
instead.
Will be removed by 4.0.x.id
- The given Id.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated void save(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
relationship
- The relationship to be saved.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated void confirm(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
confirm(Identity, Identity)
instead.
Will be removed by 4.0.x.relationship
- The relationship to be marked as "confirmed".org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated void deny(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
deny(Identity, Identity)
instead.
Will be removed by 4.0.x.relationship
- The relationship to be denied.org.exoplatform.social.core.storage.RelationshipStorageException
@Deprecated void remove(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
delete(Relationship)
instead.
Will be removed by 4.0.x.relationship
- The relationship to be removed.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated void ignore(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
ignore(Identity, Identity)
instead.
Will be removed by 4.0.x.relationship
- The relationship to be marked as "ignored".org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getPendingRelationships(org.exoplatform.social.core.identity.model.Identity identity) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncoming(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getPendingRelationships(org.exoplatform.social.core.identity.model.Identity identity, boolean toConfirm) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncoming(Identity)
instead.
When toConfirm=false, use getOutgoing(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.toConfirm
- If "true", it returns a list of pending relationships received but not confirmed. If "false", it
returns a list of pending relationships sent but not confirmed.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getPendingRelationships(org.exoplatform.social.core.identity.model.Identity currIdentity, List<org.exoplatform.social.core.identity.model.Identity> identities, boolean toConfirm) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncoming(Identity)
instead.
When toConfirm=false use getOutgoing(Identity)
instead.
Will be removed by 4.0.x.currIdentity
- The current identity.identities
- The identities.toConfirm
- If "true", it returns a list of pending relationships received but not confirmed. If "false", it
returns a list of pending relationships sent but not confirmed.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getContacts(org.exoplatform.social.core.identity.model.Identity currIdentity, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getConnections(Identity)
instead.
Will be removed by 4.0.x.currIdentity
- The current identity.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getContacts(org.exoplatform.social.core.identity.model.Identity identity) throws org.exoplatform.social.core.storage.RelationshipStorageException
getConnections(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getAllRelationships(org.exoplatform.social.core.identity.model.Identity identity) throws org.exoplatform.social.core.storage.RelationshipStorageException
getAllWithListAccess(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getRelationshipsByIdentityId(String id) throws org.exoplatform.social.core.storage.RelationshipStorageException
getAllWithListAccess(Identity)
with identity instead.
Will be removed by 4.0.x.id
- Id of the identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.identity.model.Identity> getIdentities(org.exoplatform.social.core.identity.model.Identity id) throws Exception
getAllWithListAccess(Identity)
instead.
Will be removed by 4.0.x.id
- The given identity.Exception
- the exception@Deprecated org.exoplatform.social.core.relationship.model.Relationship create(org.exoplatform.social.core.identity.model.Identity sender, org.exoplatform.social.core.identity.model.Identity receiver)
invite(Identity, Identity)
instead.
Will be removed by 4.0.x.sender
- The sender.receiver
- The receiver.@Deprecated void saveRelationship(org.exoplatform.social.core.relationship.model.Relationship relationship) throws org.exoplatform.social.core.storage.RelationshipStorageException
update(Relationship)
instead.
Will be removed by 4.0.x.relationship
- The relationship to be saved.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List findRoute(org.exoplatform.social.core.identity.model.Identity sender, org.exoplatform.social.core.identity.model.Identity receiver) throws org.exoplatform.social.core.storage.RelationshipStorageException
get(Identity, Identity)
instead.
Will be removed by 4.0.x.sender
- The identity 1.receiver
- The identity 2.org.exoplatform.social.core.storage.RelationshipStorageException
@Deprecated org.exoplatform.social.core.relationship.model.Relationship getRelationship(org.exoplatform.social.core.identity.model.Identity sender, org.exoplatform.social.core.identity.model.Identity receiver) throws org.exoplatform.social.core.storage.RelationshipStorageException
get(Identity, Identity)
instead.
Will be removed by 4.0.x.sender
- The identity 1.receiver
- The identity 2.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.identity.model.Identity> findRelationships(org.exoplatform.social.core.identity.model.Identity ownerIdentity, org.exoplatform.social.core.relationship.model.Relationship.Type relationshipType) throws org.exoplatform.social.core.storage.RelationshipStorageException
ownerIdentity
- The owner identity.relationshipType
- The relationship type.org.exoplatform.social.core.storage.RelationshipStorageException
@Deprecated org.exoplatform.social.core.relationship.model.Relationship.Type getRelationshipStatus(org.exoplatform.social.core.relationship.model.Relationship rel, org.exoplatform.social.core.identity.model.Identity id)
getStatus(Identity, Identity)
.
This method will be removed by 4.0.x.rel
- The relationship.id
- The identity.@Deprecated org.exoplatform.social.core.relationship.model.Relationship.Type getConnectionStatus(org.exoplatform.social.core.identity.model.Identity fromIdentity, org.exoplatform.social.core.identity.model.Identity toIdentity) throws Exception
getStatus(Identity, Identity)
instead.
Will be removed by 4.0.x.fromIdentity
- The identity 1.toIdentity
- The identity 2.Exception
@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getPending(org.exoplatform.social.core.identity.model.Identity sender) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncoming(Identity)
instead.
Will be removed by 4.0.x.sender
- The sender.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getPending(org.exoplatform.social.core.identity.model.Identity sender, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncomingWithListAccess(Identity)
instead.
Will be removed by 4.0.x.sender
- The sender.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getIncoming(org.exoplatform.social.core.identity.model.Identity receiver) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncomingWithListAccess(Identity)
instead.
Will be removed by 4.0.x.receiver
- Identity of the receiver.org.exoplatform.social.core.storage.RelationshipStorageException
@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getIncoming(org.exoplatform.social.core.identity.model.Identity receiver, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getIncomingWithListAccess(Identity)
instead.
Will be removed by 4.0.x.receiver
- Identity of the receiver.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getConfirmed(org.exoplatform.social.core.identity.model.Identity identity) throws org.exoplatform.social.core.storage.RelationshipStorageException
getConnections(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getConfirmed(org.exoplatform.social.core.identity.model.Identity identity, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getConnections(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getAll(org.exoplatform.social.core.identity.model.Identity identity) throws org.exoplatform.social.core.storage.RelationshipStorageException
getAllWithListAccess(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getAll(org.exoplatform.social.core.identity.model.Identity identity, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getAllWithListAccess(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exception@Deprecated List<org.exoplatform.social.core.relationship.model.Relationship> getAll(org.exoplatform.social.core.identity.model.Identity identity, org.exoplatform.social.core.relationship.model.Relationship.Type type, List<org.exoplatform.social.core.identity.model.Identity> identities) throws org.exoplatform.social.core.storage.RelationshipStorageException
getAllWithListAccess(Identity)
instead.
Will be removed by 4.0.x.identity
- The identity.type
- The status.identities
- The identities.org.exoplatform.social.core.storage.RelationshipStorageException
- the exceptionListAccess<org.exoplatform.social.core.identity.model.Identity> getConnectionsByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity, org.exoplatform.social.core.profile.ProfileFilter profileFilter)
existingIdentity
- The provided identity.profileFilter
- The provided profile filter.ListAccess<org.exoplatform.social.core.identity.model.Identity> getIncomingByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity, org.exoplatform.social.core.profile.ProfileFilter profileFilter)
existingIdentity
- The provided identity.profileFilter
- The provided profile filter.ListAccess<org.exoplatform.social.core.identity.model.Identity> getOutgoingByFilter(org.exoplatform.social.core.identity.model.Identity existingIdentity, org.exoplatform.social.core.profile.ProfileFilter profileFilter)
existingIdentity
- The provided identity.profileFilter
- The provided profile filter.Map<org.exoplatform.social.core.identity.model.Identity,Integer> getSuggestions(org.exoplatform.social.core.identity.model.Identity identity, int maxConnections, int maxConnectionsToLoad, int maxSuggestions)
identity
- The provided identity.maxConnections
- Maximum of connections that we can treat per identity. If set
to a value <= 0, the limit will be disabledmaxConnectionsToLoad
- In case, the maxConnections are not enough to find enough suggestion,
we load more connections at the first level. If maxConnectionsToLoad or maxConnections has been
set to a value <= 0, the limit will be disabledmaxSuggestions
- The total amount of expected suggestions. If set to a value <= 0, the limit
will be disabled@Deprecated Map<org.exoplatform.social.core.identity.model.Identity,Integer> getSuggestions(org.exoplatform.social.core.identity.model.Identity identity, int offset, int limit)
getSuggestions(org.exoplatform.social.core.identity.model.Identity, int, int, int)
insteadidentity
- The provided identity.offset
- The starting point from which suggestions are got.limit
- The limitation of suggestions.List<org.exoplatform.social.core.identity.model.Identity> getLastConnections(org.exoplatform.social.core.identity.model.Identity identity, int limit)
identity
- limit
- Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.