Uses of Class
org.exoplatform.social.core.identity.model.Identity
-
Packages that use Identity Package Description org.exoplatform.social.core.activity.model Models for Activityorg.exoplatform.social.core.identity org.exoplatform.social.core.identity.model org.exoplatform.social.core.manager org.exoplatform.social.core.profile org.exoplatform.social.core.relationship.model org.exoplatform.social.core.space.spi Provides classes that are necessary to control spaces and their lifecycles.org.exoplatform.social.core.storage.api -
-
Uses of Identity in org.exoplatform.social.core.activity.model
Methods in org.exoplatform.social.core.activity.model that return Identity Modifier and Type Method Description IdentityActivitySearchResult. getPoster()IdentityActivitySearchResult. getStreamOwner()Methods in org.exoplatform.social.core.activity.model with parameters of type Identity Modifier and Type Method Description voidActivitySearchResult. setPoster(Identity poster)voidActivitySearchResult. setStreamOwner(Identity streamOwner) -
Uses of Identity in org.exoplatform.social.core.identity
Methods in org.exoplatform.social.core.identity that return Identity Modifier and Type Method Description abstract IdentityIdentityProvider. createIdentity(T remoteObject)Creates a new identity for a given remote objectIdentityIdentityProvider. getIdentityByRemoteId(String remoteId)The identifier can be the URL of the profile or if it's a CS contact manager contact, it will be the UID of the contactIdentity[]SpaceMemberFilterListAccess. load(int offset, int limit)Methods in org.exoplatform.social.core.identity that return types with arguments of type Identity Modifier and Type Method Description Iterator<Identity>IdentityResult. iterator()List<Identity>IdentityResult. result()Methods in org.exoplatform.social.core.identity with parameters of type Identity Modifier and Type Method Description booleanIdentityResult. add(Identity e)voidIdentityProvider. onSaveIdentity(Identity identity)this method is called after the IdentityManager has saved the identity object.Method parameters in org.exoplatform.social.core.identity with type arguments of type Identity Modifier and Type Method Description booleanIdentityResult. addAll(Collection<? extends Identity> c) -
Uses of Identity in org.exoplatform.social.core.identity.model
Subclasses of Identity in org.exoplatform.social.core.identity.model Modifier and Type Class Description classIdentityWithRelationshipDTO of identity of a person or a space with relationShip with current viewer user's identity.Methods in org.exoplatform.social.core.identity.model that return Identity Modifier and Type Method Description IdentityIdentity. clone()IdentityProfile. getIdentity()Gets the identity.Methods in org.exoplatform.social.core.identity.model with parameters of type Identity Modifier and Type Method Description voidProfile. setIdentity(Identity identity)Sets the identity.Constructors in org.exoplatform.social.core.identity.model with parameters of type Identity Constructor Description IdentityWithRelationship(Identity identity)Profile(Identity identity)Instantiates a new profile. -
Uses of Identity in org.exoplatform.social.core.manager
Methods in org.exoplatform.social.core.manager that return Identity Modifier and Type Method Description IdentityIdentityManager. getIdentity(String id)Gets an identity by Id and also loads his profile.IdentityIdentityManager. getIdentity(String identityId, boolean isProfileLoaded)Deprecated.UseIdentityManager.getIdentity(String)instead.IdentityIdentityManager. getIdentity(String providerId, String remoteId, boolean loadProfile)Deprecated.IdentityIdentityManager. getOrCreateIdentity(String providerId, String remoteId)Gets an identity by a remote Id.IdentityIdentityManager. getOrCreateIdentity(String providerId, String remoteId, boolean isProfileLoaded)Deprecated.UseIdentityManager.getOrCreateIdentity(String, String)instead.default IdentityIdentityManager. getOrCreateSpaceIdentity(String spacePrettyName)Retrieves the identity of a given space identified by its prettyNamedefault IdentityIdentityManager. getOrCreateUserIdentity(String username)Retrieves the identity of a given user identified by his username/loginIdentityIdentityManager. updateIdentity(Identity identity)Updates specific properties of an identity.Methods in org.exoplatform.social.core.manager that return types with arguments of type Identity Modifier and Type Method Description List<Identity>RelationshipManager. findRelationships(Identity ownerIdentity, Relationship.Type relationshipType)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getAllWithListAccess(Identity existingIdentity)Gets a list access which contains all identities who were connected, were invited or invited a provided identity.List<Identity>IdentityManager. getConnections(Identity ownerIdentity)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getConnections(Identity existingIdentity)Gets a list access which contains all identities who are connected to a provided identity.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getConnectionsByFilter(Identity existingIdentity, 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.commons.utils.ListAccess<Identity>IdentityManager. getConnectionsWithListAccess(Identity identity)Gets a list access which contains all identities connected to the provided identity.List<Identity>IdentityManager. getIdentities(String providerId)Deprecated.UseIdentityManager.getIdentities(String, boolean)instead.List<Identity>IdentityManager. getIdentities(String providerId, boolean loadProfile)Deprecated.UseIdentityManager.getIdentities(String, boolean)instead.List<Identity>RelationshipManager. getIdentities(Identity id)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Identity>IdentityManager. getIdentitiesByProfileFilter(String providerId, ProfileFilter profileFilter)org.exoplatform.commons.utils.ListAccess<Identity>IdentityManager. getIdentitiesByProfileFilter(String providerId, ProfileFilter profileFilter, boolean isProfileLoaded)Gets a list access which contains all identities from a given provider.List<Identity>IdentityManager. getIdentitiesByProfileFilter(String providerId, ProfileFilter profileFilter, long offset, long limit)List<Identity>IdentityManager. getIdentitiesByProfileFilter(ProfileFilter profileFilter)List<Identity>IdentityManager. getIdentitiesByProfileFilter(ProfileFilter profileFilter, long offset, long limit)List<Identity>IdentityManager. getIdentitiesFilterByAlphaBet(String providerId, ProfileFilter profileFilter)List<Identity>IdentityManager. getIdentitiesFilterByAlphaBet(String providerId, ProfileFilter profileFilter, long offset, long limit)List<Identity>IdentityManager. getIdentitiesFilterByAlphaBet(ProfileFilter profileFilter)org.exoplatform.commons.utils.ListAccess<Identity>IdentityManager. getIdentitiesForUnifiedSearch(String providerId, ProfileFilter profileFilter)Gets a list access which contains identities matching with the Unified Search condition.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getIncomingByFilter(Identity existingIdentity, ProfileFilter profileFilter)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getIncomingWithListAccess(Identity existingIdentity)Gets a list access which contains all identities who invited to connect to a provided identity.List<Identity>RelationshipManager. getLastConnections(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 returnedList<Identity>IdentityManager. getLastIdentities(int limit)Gets the last identities that have been created.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getOutgoing(Identity existingIdentity)Gets a list access which contains all identities who were invited to connect by a provided identity.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getOutgoingByFilter(Identity existingIdentity, ProfileFilter profileFilter)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>IdentityManager. getSpaceIdentityByProfileFilter(Space space, ProfileFilter profileFilter, SpaceMemberFilterListAccess.Type type, boolean isProfileLoaded)Gets space identities by filter information.Map<Identity,Integer>RelationshipManager. getSuggestions(Identity identity, int offset, int limit)Map<Identity,Integer>RelationshipManager. getSuggestions(Identity identity, int maxConnections, int maxConnectionsToLoad, int maxSuggestions)Gets suggestions having common users with the provided identity.Methods in org.exoplatform.social.core.manager with parameters of type Identity Modifier and Type Method Description default booleanActivityManager. canPostActivityInStream(org.exoplatform.services.security.Identity viewer, Identity streamOwner)Checks whether a user can post an activity in a specific stream of user Or SpacevoidRelationshipManager. confirm(Identity invitedIdentity, Identity invitingIdentity)Confirms to connect to an identity who sent invitation.RelationshipRelationshipManager. create(Identity sender, Identity receiver)Deprecated.UseRelationshipManager.invite(Identity, Identity)instead.voidIdentityManager. deleteIdentity(Identity identity)Deletes an identity.voidActivityManager. deleteLike(ExoSocialActivity activity, Identity identity)Deletes a like of an identity from a specific activity.voidRelationshipManager. deny(Identity invitedIdentity, Identity invitingIdentity)Denies to connect to an identity who sent invitation.List<Identity>RelationshipManager. findRelationships(Identity ownerIdentity, Relationship.Type relationshipType)Deprecated.ListRelationshipManager. findRoute(Identity sender, Identity receiver)Deprecated.Should useRelationshipManager.get(Identity, Identity)instead.RelationshipRelationshipManager. get(Identity identity1, Identity identity2)Gets a relationship between 2 identities.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesByPoster(Identity poster)Gets activities of a given poster.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesByPoster(Identity posterIdentity, String... activityTypes)Gets activities of a given poster that are specified by activity types.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesOfConnectionsWithListAccess(Identity identity)Gets activities posted by all connections with a given identity.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesOfSpaceWithListAccess(Identity spaceIdentity)Gets activities posted on a space by its Id.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesOfUserSpacesWithListAccess(Identity identity)Gets activities posted on all space activity streams in which an identity joins.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesWithListAccess(Identity identity)Gets activities posted on the provided activity stream owner.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivitiesWithListAccess(Identity ownerIdentity, Identity viewerIdentity)Gets activities on the provided activity stream which is viewed by another.RealtimeListAccess<ExoSocialActivity>ActivityManager. getActivityFeedWithListAccess(Identity identity)Gets all activities accessible by a given identity.List<Relationship>RelationshipManager. getAll(Identity identity)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getAll(Identity identity, List<Identity> identities)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getAll(Identity identity, Relationship.Type type, List<Identity> identities)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getAllRelationships(Identity identity)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getAllWithListAccess(Identity existingIdentity)Gets a list access which contains all identities who were connected, were invited or invited a provided identity.InputStreamIdentityManager. getAvatarInputStream(Identity identity)Gets a profile avatar associated with a provided identityInputStreamIdentityManager. getBannerInputStream(Identity identity)Gets a profile banner associated with a provided identityList<Relationship>RelationshipManager. getConfirmed(Identity identity)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Relationship>RelationshipManager. getConfirmed(Identity identity, List<Identity> identities)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Identity>IdentityManager. getConnections(Identity ownerIdentity)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getConnections(Identity existingIdentity)Gets a list access which contains all identities who are connected to a provided identity.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getConnectionsByFilter(Identity existingIdentity, ProfileFilter profileFilter)Gets a list access which contains all identities who are connected to a provided identity and filtered by a profile filter.default intRelationshipManager. getConnectionsInCommonCount(Identity identity1, Identity identity2)Relationship.TypeRelationshipManager. getConnectionStatus(Identity fromIdentity, Identity toIdentity)Deprecated.UseRelationshipManager.getStatus(Identity, Identity)instead.org.exoplatform.commons.utils.ListAccess<Identity>IdentityManager. getConnectionsWithListAccess(Identity identity)Gets a list access which contains all identities connected to the provided identity.List<Relationship>RelationshipManager. getContacts(Identity identity)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Relationship>RelationshipManager. getContacts(Identity currIdentity, List<Identity> identities)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Identity>RelationshipManager. getIdentities(Identity id)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getIncoming(Identity receiver)Deprecated.List<Relationship>RelationshipManager. getIncoming(Identity receiver, List<Identity> identities)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getIncomingByFilter(Identity existingIdentity, ProfileFilter profileFilter)Deprecated.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getIncomingWithListAccess(Identity existingIdentity)Gets a list access which contains all identities who invited to connect to a provided identity.List<Identity>RelationshipManager. getLastConnections(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 returnedorg.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getOutgoing(Identity existingIdentity)Gets a list access which contains all identities who were invited to connect by a provided identity.org.exoplatform.commons.utils.ListAccess<Identity>RelationshipManager. getOutgoingByFilter(Identity existingIdentity, ProfileFilter profileFilter)Deprecated.List<Relationship>RelationshipManager. getPending(Identity sender)Deprecated.UseRelationshipManager.getIncoming(Identity)instead.List<Relationship>RelationshipManager. getPending(Identity sender, List<Identity> identities)Deprecated.List<Relationship>RelationshipManager. getPendingRelationships(Identity identity)Deprecated.UseRelationshipManager.getIncoming(Identity)instead.List<Relationship>RelationshipManager. getPendingRelationships(Identity identity, boolean toConfirm)Deprecated.When toConfirm=true, useRelationshipManager.getIncoming(Identity)instead.List<Relationship>RelationshipManager. getPendingRelationships(Identity currIdentity, List<Identity> identities, boolean toConfirm)Deprecated.When toConfirm=true, useRelationshipManager.getIncoming(Identity)instead.ProfileIdentityManager. getProfile(Identity identity)Gets a profile associated with a provided identity.RelationshipRelationshipManager. getRelationship(Identity sender, Identity receiver)Deprecated.UseRelationshipManager.get(Identity, Identity)instead.List<Relationship>RelationshipManager. getRelationshipsByStatus(Identity identity, Relationship.Type type, int offset, int limit)Gets a list which contains all relationships by status.intRelationshipManager. getRelationshipsCountByStatus(Identity identity, Relationship.Type type)Gets number of relationships by status.Relationship.TypeRelationshipManager. 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.Relationship.TypeRelationshipManager. getStatus(Identity identity1, Identity identity2)Gets the relationship status between 2 identities.Map<Identity,Integer>RelationshipManager. getSuggestions(Identity identity, int offset, int limit)Map<Identity,Integer>RelationshipManager. getSuggestions(Identity identity, int maxConnections, int maxConnectionsToLoad, int maxSuggestions)Gets suggestions having common users with the provided identity.voidIdentityManager. hardDeleteIdentity(Identity identity)Cleans all data related to a specific identity.voidRelationshipManager. ignore(Identity invitedIdentity, Identity invitingIdentity)Ignores to connect to an identity who sent invitation.RelationshipRelationshipManager. invite(Identity sender, Identity receiver)Deprecated.RelationshipRelationshipManager. inviteToConnect(Identity invitingIdentity, Identity invitedIdentity)Invites one identity to connect to the other.voidActivityManager. saveActivityNoReturn(Identity streamOwner, ExoSocialActivity activity)Saves a newly created activity to a stream.voidIdentityManager. saveIdentity(Identity identity)Deprecated.voidActivityManager. saveLike(ExoSocialActivity activity, Identity identity)Saves the like information of an identity to a specific activity.IdentityIdentityManager. updateIdentity(Identity identity)Updates specific properties of an identity.Method parameters in org.exoplatform.social.core.manager with type arguments of type Identity Modifier and Type Method Description List<Relationship>RelationshipManager. getAll(Identity identity, List<Identity> identities)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getAll(Identity identity, Relationship.Type type, List<Identity> identities)Deprecated.UseRelationshipManager.getAllWithListAccess(Identity)instead.List<Relationship>RelationshipManager. getConfirmed(Identity identity, List<Identity> identities)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Relationship>RelationshipManager. getContacts(Identity currIdentity, List<Identity> identities)Deprecated.UseRelationshipManager.getConnections(Identity)instead.List<Relationship>RelationshipManager. getIncoming(Identity receiver, List<Identity> identities)Deprecated.List<Relationship>RelationshipManager. getPending(Identity sender, List<Identity> identities)Deprecated.List<Relationship>RelationshipManager. getPendingRelationships(Identity currIdentity, List<Identity> identities, boolean toConfirm)Deprecated.When toConfirm=true, useRelationshipManager.getIncoming(Identity)instead. -
Uses of Identity in org.exoplatform.social.core.profile
Methods in org.exoplatform.social.core.profile that return Identity Modifier and Type Method Description IdentityProfileFilter. getViewerIdentity()Methods in org.exoplatform.social.core.profile that return types with arguments of type Identity Modifier and Type Method Description List<Identity>ProfileFilter. getExcludedIdentityList()Gets the excludedIdentityListMethods in org.exoplatform.social.core.profile with parameters of type Identity Modifier and Type Method Description voidProfileFilter. setViewerIdentity(Identity currentIdentity)Method parameters in org.exoplatform.social.core.profile with type arguments of type Identity Modifier and Type Method Description voidProfileFilter. setExcludedIdentityList(List<Identity> excludedIdentityList)Sets the excludedIdentityList -
Uses of Identity in org.exoplatform.social.core.relationship.model
Methods in org.exoplatform.social.core.relationship.model that return Identity Modifier and Type Method Description IdentityRelationship. getPartner(Identity identity)Gets the partner of relationship.IdentityRelationship. getReceiver()Gets the receiver.IdentityRelationship. getSender()Gets the sender.Methods in org.exoplatform.social.core.relationship.model with parameters of type Identity Modifier and Type Method Description IdentityRelationship. getPartner(Identity identity)Gets the partner of relationship.booleanRelationship. isReceiver(Identity identity)Checks the identity is the receiver of relationshipbooleanRelationship. isSender(Identity identity)Checks the identity is the sender of relationshipvoidRelationship. setReceiver(Identity receiver)Sets the receiver.voidRelationship. setSender(Identity sender)Sets the sender.Constructors in org.exoplatform.social.core.relationship.model with parameters of type Identity Constructor Description Relationship(Identity sender, Identity receiver)Instantiates a new relationship.Relationship(Identity sender, Identity receiver, Relationship.Type status)Instantiates a new relationship. -
Uses of Identity in org.exoplatform.social.core.space.spi
Method parameters in org.exoplatform.social.core.space.spi with type arguments of type Identity Modifier and Type Method Description SpaceSpaceService. createSpace(Space space, String creator, List<Identity> identitiesToInvite)Creates a new space and invites all users from identitiesToInvite to join this newly created space.default voidSpaceService. inviteIdentities(Space space, List<Identity> identitiesToInvite)Invites users or members of spaces identified by identities list into a a designated spacedefault SpaceSpaceService. updateSpace(Space existingSpace, List<Identity> identitiesToInvite)Updates information of a space and invites all users from identitiesToInvite to join this space. -
Uses of Identity in org.exoplatform.social.core.storage.api
Methods in org.exoplatform.social.core.storage.api that return Identity Modifier and Type Method Description IdentityIdentityStorage. findIdentity(String providerId, String remoteId)Gets the identity by remote id.IdentityIdentityStorage. findIdentityById(String nodeId)Gets the identity by his id.IdentityIdentityStorage. updateIdentity(Identity identity)Updates existing identity's properties.Methods in org.exoplatform.social.core.storage.api that return types with arguments of type Identity Modifier and Type Method Description List<Identity>RelationshipStorage. getConnections(Identity identity)Gets connections with the identity.List<Identity>RelationshipStorage. getConnections(Identity identity, long offset, long limit)Gets connections with the identity.List<Identity>RelationshipStorage. getConnectionsByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who is connected with the provided identity and filtered by profile filter.default List<Identity>IdentityStorage. getIdentities(String providerId, long offset, long limit)Get list of identities by providerIdList<Identity>IdentityStorage. getIdentities(String providerId, String firstCharacterFieldName, char firstCharacter, String sortField, String sortDirection, boolean isEnabled, String userType, Boolean isConnected, String enrollmentStatus, long offset, long limit)Get list of identities by providerId The firstChar parameter will be used to filter on identities fullname/firstname/lastname first character.List<Identity>IdentityStorage. getIdentitiesByFirstCharacterOfName(String providerId, ProfileFilter profileFilter, long offset, long limit, boolean forceLoadOrReloadProfile)Deprecated.use method getIdentities or getIdentitiesForUnifiedSearch insteadList<Identity>IdentityStorage. getIdentitiesByProfileFilter(String providerId, ProfileFilter profileFilter, long offset, long limit, boolean forceLoadOrReloadProfile)Gets the identities by profile filter.List<Identity>IdentityStorage. getIdentitiesForMentions(String providerId, ProfileFilter profileFilter, Relationship.Type type, long offset, long limit, boolean forceLoadOrReloadProfile)Gets the identities by profile filter.List<Identity>IdentityStorage. getIdentitiesForUnifiedSearch(String providerId, ProfileFilter profileFilter, long offset, long limit)Gets the identities for Unified Search.List<Identity>RelationshipStorage. getIncomingByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who invited to connect to the provided identity and filtered by profile filter.List<Identity>RelationshipStorage. getIncomingRelationships(Identity receiver, long offset, long limit)Gets the list of relationship by identity matching with checking identity ids with offset, limit.List<Identity>RelationshipStorage. getLastConnections(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 returnedList<Identity>RelationshipStorage. getOutgoingByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who was invited by the provided identity to connect and filtered by profile filter.List<Identity>RelationshipStorage. getOutgoingRelationships(Identity sender, long offset, long limit)Gets the list of relationship by identity matching with checking identity ids with offset, limit.List<Identity>RelationshipStorage. getRelationships(Identity identity, long offset, long limit)Gets the list of relationship by identity matching with checking identity idsList<Identity>IdentityStorage. getSpaceMemberIdentitiesByProfileFilter(Space space, ProfileFilter profileFilter, SpaceMemberFilterListAccess.Type type, long offset, long limit)get Space's member Identity and filter it by Profile FilterMap<Identity,Integer>RelationshipStorage. getSuggestions(Identity identity, int maxConnections, int maxConnectionsToLoad, int maxSuggestions)Gets suggestions having common users with the provided identity.Methods in org.exoplatform.social.core.storage.api with parameters of type Identity Modifier and Type Method Description voidIdentityStorage. deleteIdentity(Identity identity)Deletes an identityList<ExoSocialActivity>ActivityStorage. getActivities(Identity owner, Identity viewer, long offset, long limit)Gets the activities by identity owner but it's viewed by viewer.List<ExoSocialActivity>ActivityStorage. getActivitiesByPoster(Identity posterIdentity, int offset, int limit)Gets activities by poster.List<ExoSocialActivity>ActivityStorage. getActivitiesByPoster(Identity posterIdentity, int offset, int limit, String... activityTypes)Gets activities by poster and activity's typesList<ExoSocialActivity>ActivityStorage. getActivitiesOfConnections(Identity ownerIdentity, int offset, int limit)Gets activities of connections of an identity with offset, limit.List<ExoSocialActivity>ActivityStorage. getActivitiesOfConnectionsForUpgrade(Identity ownerIdentity, int offset, int limit)Deprecated.not used anymoreList<ExoSocialActivity>ActivityStorage. getActivitiesOfIdentity(Identity ownerIdentity, long offset, long limit)Gets the activities of the identity with offset, limit.List<ExoSocialActivity>ActivityStorage. getActivityFeed(Identity ownerIdentity, int offset, int limit)Gets activity feed from an identity.List<ExoSocialActivity>ActivityStorage. getActivityFeedForUpgrade(Identity ownerIdentity, int offset, int limit)Deprecated.not used anymoreList<String>ActivityStorage. getActivityIdsFeed(Identity ownerIdentity, int offset, int limit)Gets activity ids feed from an identity.List<String>ActivityStorage. getActivityIdsOfConnections(Identity ownerIdentity, int offset, int limit)Gets activity id list of connections of an identity with offset, limit.InputStreamIdentityStorage. getAvatarInputStreamById(Identity identity)Gets a the avatar stream for a given identityInputStreamIdentityStorage. getBannerInputStreamById(Identity identity)Gets a the avatar stream for a given identityList<Identity>RelationshipStorage. getConnections(Identity identity)Gets connections with the identity.List<Identity>RelationshipStorage. getConnections(Identity identity, long offset, long limit)Gets connections with the identity.List<Identity>RelationshipStorage. getConnectionsByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who is connected with the provided identity and filtered by profile filter.intRelationshipStorage. getConnectionsCount(Identity identity)Gets count of connection with the identity.intRelationshipStorage. getConnectionsCountByFilter(Identity existingIdentity, ProfileFilter profileFilter)Gets the count of identities who is connected with the provided identity and filtered by profile filter.default intRelationshipStorage. getConnectionsInCommonCount(Identity identity1, Identity identity2)List<Identity>RelationshipStorage. getIncomingByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who invited to connect to the provided identity and filtered by profile filter.intRelationshipStorage. getIncomingCountByFilter(Identity existingIdentity, ProfileFilter profileFilter)Gets count of identities who invited to connect to the provided identity and filtered by profile filter.List<Identity>RelationshipStorage. getIncomingRelationships(Identity receiver, long offset, long limit)Gets the list of relationship by identity matching with checking identity ids with offset, limit.intRelationshipStorage. getIncomingRelationshipsCount(Identity receiver)Gets the count of the list of relationship by identity matching with checking identity ids.List<Identity>RelationshipStorage. getLastConnections(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 returnedList<ExoSocialActivity>ActivityStorage. getNewerActivitiesOfConnections(Identity owner, Long sinceTime, int limit)Gets connections' activities of an user base on since time.List<ExoSocialActivity>ActivityStorage. getNewerFeedActivities(Identity owner, Long sinceTime, int limit)Gets feed activities base on since time.List<ExoSocialActivity>ActivityStorage. getNewerOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, long limit)Gets the newer activities of connections based on baseActivity.List<ExoSocialActivity>ActivityStorage. getNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the list of newer activities feed based on an existing activity.List<ExoSocialActivity>ActivityStorage. getNewerOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit)Gets list of newer activities of spaces where the identity can accessList<ExoSocialActivity>ActivityStorage. getNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the list of newer activities based on an existing activity.List<ExoSocialActivity>ActivityStorage. getNewerOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the newer activities of spaces where identity can access (manager or member), based on an existing activity.List<ExoSocialActivity>ActivityStorage. getNewerSpaceActivities(Identity owner, Long sinceTime, int limit)Gets space activities base on since time.List<ExoSocialActivity>ActivityStorage. getNewerUserActivities(Identity owner, Long sinceTime, int limit)Gets activities of an user base on since time.List<ExoSocialActivity>ActivityStorage. getNewerUserSpacesActivities(Identity owner, Long sinceTime, int limit)Gets activities of an user on spaces base on since time.intActivityStorage. getNumberOfActivitesOnActivityFeed(Identity ownerIdentity)Gets the number of activities feed based from ownerIdentity.intActivityStorage. getNumberOfActivitesOnActivityFeedForUpgrade(Identity ownerIdentity)Gets the number of activities feed based from ownerIdentity for upgrade Activity Stream feature.intActivityStorage. getNumberOfActivitiesByPoster(Identity posterIdentity)Gets the number of activities of poster.intActivityStorage. getNumberOfActivitiesByPoster(Identity ownerIdentity, Identity viewerIdentity)Gets the number of activities of poster.intActivityStorage. getNumberOfActivitiesOfConnections(Identity ownerIdentity)Gets the count of the activities of connections who connected with an identity.intActivityStorage. getNumberOfActivitiesOfConnectionsForUpgrade(Identity ownerIdentity)Gets the count of the activities of connections who connected with an identity for upgrade Activity Stream feature.intActivityStorage. getNumberOfNewerOnActivitiesOfConnections(Identity ownerIdentity, Long sinceTime)Gets the number of newer activities based on postedTime of connections.intActivityStorage. getNumberOfNewerOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of newer activities based on base activity of connections.intActivityStorage. getNumberOfNewerOnActivityFeed(Identity ownerIdentity, Long sinceTime)Gets the list of newer activities feed based on an existing postedTime.intActivityStorage. getNumberOfNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the list of newer activities feed based on an existing activity.intActivityStorage. getNumberOfNewerOnSpaceActivities(Identity spaceIdentity, Long sinceTime)Gets the number of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.intActivityStorage. getNumberOfNewerOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity)Gets the number of newer activities of spaces where the identity can access and based on an existing postedTime of baseActivity.intActivityStorage. getNumberOfNewerOnUserActivities(Identity ownerIdentity, Long sinceTime)Gets the number of newer activities based on an existing postedTime.intActivityStorage. getNumberOfNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of newer activities based on an existing activity.intActivityStorage. getNumberOfNewerOnUserSpacesActivities(Identity ownerIdentity, Long sinceTime)Gets the number of newer activities of spaces where the identity can access, based on an existing postedTime.intActivityStorage. getNumberOfNewerOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of newer activities of spaces where the identity can access, based on an existing activity.intActivityStorage. getNumberOfOlderOnActivitiesOfConnections(Identity ownerIdentity, Long sinceTime)Gets the number of older activities based on postedTime of connections.intActivityStorage. getNumberOfOlderOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of older activities of connections based on baseActivity.intActivityStorage. getNumberOfOlderOnActivityFeed(Identity ownerIdentity, Long sinceTime)Gets the list of older activities feed based on an existing postedTime.intActivityStorage. getNumberOfOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the list of older activities feed based on an existing activity.intActivityStorage. getNumberOfOlderOnSpaceActivities(Identity ownerIdentity, Long sinceTime)Gets the number of older activities of spaces base on a time.intActivityStorage. getNumberOfOlderOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity)Gets the number of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.intActivityStorage. getNumberOfOlderOnUserActivities(Identity ownerIdentity, Long sinceTime)Gets the number of older activities based on an existing postedTime.intActivityStorage. getNumberOfOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of older activities based on an existing activity.intActivityStorage. getNumberOfOlderOnUserSpacesActivities(Identity ownerIdentity, Long sinceTime)Gets the number of older activities of spacesintActivityStorage. getNumberOfOlderOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity)Gets the number of newer activities of spaces where the identity can access, based on an existing activity.intActivityStorage. getNumberOfSpaceActivities(Identity spaceIdentity)Gets the number of newer activities of spaces where the identity can access.intActivityStorage. getNumberOfSpaceActivitiesForUpgrade(Identity spaceIdentity)Gets the number of newer activities of spaces where the identity can access for upgrade Stream featureintActivityStorage. getNumberOfUserActivities(Identity owner)Count the number of activities from an ownerIdentityintActivityStorage. getNumberOfUserActivitiesForUpgrade(Identity owner)Count the number of activities from an ownerIdentity for upgrade Activity Stream featureintActivityStorage. getNumberOfUserSpacesActivities(Identity ownerIdentity)Gets the number of activities of spaces where identity can access (manager or member).intActivityStorage. getNumberOfUserSpacesActivitiesForUpgrade(Identity ownerIdentity)Gets the number of activities of spaces where identity can access (manager or member) for upgrade Activity Stream feature.List<ExoSocialActivity>ActivityStorage. getOlderActivitiesOfConnections(Identity owner, Long sinceTime, int limit)Gets connections' activities of an user base on since time.List<ExoSocialActivity>ActivityStorage. getOlderFeedActivities(Identity owner, Long sinceTime, int limit)Gets feed activities base on since time.List<ExoSocialActivity>ActivityStorage. getOlderOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the older of activities of connections based on base an activity.List<ExoSocialActivity>ActivityStorage. getOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the list of older activities feed based on an existing activity.List<ExoSocialActivity>ActivityStorage. getOlderOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit)Gets the list of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.List<ExoSocialActivity>ActivityStorage. getOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the list of older activities based on an existing activity.List<ExoSocialActivity>ActivityStorage. getOlderOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit)Gets the older activities of spaces where identity can access (manager or member), based on an existing activity.List<ExoSocialActivity>ActivityStorage. getOlderSpaceActivities(Identity owner, Long sinceTime, int limit)Gets space activities base on since time.List<ExoSocialActivity>ActivityStorage. getOlderUserActivities(Identity owner, Long sinceTime, int limit)Gets activities of an user base on since time.List<ExoSocialActivity>ActivityStorage. getOlderUserSpacesActivities(Identity owner, Long sinceTime, int limit)Gets activities of an user on spaces base on since time.List<Identity>RelationshipStorage. getOutgoingByFilter(Identity existingIdentity, ProfileFilter profileFilter, long offset, long limit)Gets the list access to get a list of identities who was invited by the provided identity to connect and filtered by profile filter.intRelationshipStorage. getOutgoingCountByFilter(Identity existingIdentity, ProfileFilter profileFilter)Gets count of identities who was invited by the provided identity to connect and filtered by profile filter.List<Identity>RelationshipStorage. getOutgoingRelationships(Identity sender, long offset, long limit)Gets the list of relationship by identity matching with checking identity ids with offset, limit.intRelationshipStorage. getOutgoingRelationshipsCount(Identity sender)Gets the count of the list of relationship by identity matching with checking identity ids.List<Relationship>RelationshipStorage. getReceiverRelationships(Identity receiver, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity id matching with checking identity idsRelationshipRelationshipStorage. getRelationship(Identity identity1, Identity identity2)Gets the relationship of 2 identities.List<Identity>RelationshipStorage. getRelationships(Identity identity, long offset, long limit)Gets the list of relationship by identity matching with checking identity idsList<Relationship>RelationshipStorage. getRelationships(Identity identity, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity matching with checking identity idsList<Relationship>RelationshipStorage. getRelationshipsByStatus(Identity identity, Relationship.Type type, long offset, long limit)Gets a list of all relationships by status.intRelationshipStorage. getRelationshipsCount(Identity identity)Gets the count of identities by identity matching with checking identity ids.intRelationshipStorage. getRelationshipsCountByStatus(Identity identity, Relationship.Type type)Gets number of relationships by status.List<Relationship>RelationshipStorage. getSenderRelationships(Identity sender, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity id matching with checking identity idsList<ExoSocialActivity>ActivityStorage. getSpaceActivities(Identity spaceIdentity, int index, int limit)Gets list of activities of spaces where the identity can access.List<ExoSocialActivity>ActivityStorage. getSpaceActivitiesForUpgrade(Identity spaceIdentity, int index, int limit)Gets list of activities of spaces where the identity can access for upgrade Stream featureList<String>ActivityStorage. getSpaceActivityIds(Identity spaceIdentity, int index, int limit)Gets list of activity ids of spaces where the identity can access.default Set<Long>ActivityStorage. getStreamFeedOwnerIds(Identity identity)Computes the owner Ids of Streams that the user identity can see in his main activity stream (Spaces where the user is member and his confirmed connections)Map<Identity,Integer>RelationshipStorage. getSuggestions(Identity identity, int maxConnections, int maxConnectionsToLoad, int maxSuggestions)Gets suggestions having common users with the provided identity.List<ExoSocialActivity>ActivityStorage. getUserActivities(Identity owner)Gets all the activities by identity.List<ExoSocialActivity>ActivityStorage. getUserActivities(Identity owner, long offset, long limit)Gets the activities by identity.List<ExoSocialActivity>ActivityStorage. getUserActivitiesForUpgrade(Identity owner, long offset, long limit)Gets the activities by identity for upgrade Activity Stream feature Access a user's activity stream by specifying the offset and limit.List<String>ActivityStorage. getUserIdsActivities(Identity owner, long offset, long limit)Gets the activity ids by identity.List<ExoSocialActivity>ActivityStorage. getUserSpacesActivities(Identity ownerIdentity, int offset, int limit)Gets the activities of spaces where identity can access (manager or member).List<ExoSocialActivity>ActivityStorage. getUserSpacesActivitiesForUpgrade(Identity ownerIdentity, int offset, int limit)Gets the activities of spaces where identity can access (manager or member) for upgrade Activity Stream featureList<String>ActivityStorage. getUserSpacesActivityIds(Identity ownerIdentity, int offset, int limit)Gets the activity id list of spaces where identity can access (manager or member).voidIdentityStorage. hardDeleteIdentity(Identity identity)Hard delete an identitybooleanRelationshipStorage. hasRelationship(Identity identity1, Identity identity2, String relationshipPath)Has relationship by relationship pathvoidIdentityStorage. processEnabledIdentity(Identity identity, boolean isEnable)Process enable/disable IdentityExoSocialActivityActivityStorage. saveActivity(Identity owner, ExoSocialActivity activity)Saves an activity into a stream.voidIdentityStorage. saveIdentity(Identity identity)Saves identity.IdentityIdentityStorage. updateIdentity(Identity identity)Updates existing identity's properties.voidIdentityStorage. updateProfileActivityId(Identity identity, String activityId, Profile.AttachedActivityType type)Updates profile activity id by type.Method parameters in org.exoplatform.social.core.storage.api with type arguments of type Identity Modifier and Type Method Description List<Relationship>RelationshipStorage. getReceiverRelationships(Identity receiver, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity id matching with checking identity idsList<Relationship>RelationshipStorage. getRelationships(Identity identity, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity matching with checking identity idsList<Relationship>RelationshipStorage. getSenderRelationships(String senderId, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity id matching with checking identity idsList<Relationship>RelationshipStorage. getSenderRelationships(Identity sender, Relationship.Type type, List<Identity> listCheckIdentity)Gets the list of relationship by identity id matching with checking identity ids
-