Class IdentityWithRelationship
java.lang.Object
org.exoplatform.social.core.identity.model.Identity
org.exoplatform.social.core.identity.model.IdentityWithRelationship
- All Implemented Interfaces:
Cloneable,CacheEntry
DTO of identity of a person or a space with relationShip with current viewer user's identity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Gets the id.Gets the profile.Gets the provider id.Gets the remote id.inthashCode()booleanChecks whether this corresponding identity exists or not by the remote identity provider.booleanisEnable()voidsetDeleted(boolean isDeleted) Sets the isDeleted property to indicate if this identity is deleted or not by the remote identity provider.voidsetEnable(boolean isEnable) voidSets the id.voidsetProfile(Profile profile) Sets the profile.voidsetProfileLoader(ProfileLoader profileLoader) Sets the profile loader.voidsetProviderId(String providerId) Sets the provider id.voidsetRelationship(Relationship relationship) voidsetRemoteId(String remoteId) Sets the remote id.toString()Methods inherited from class org.exoplatform.social.core.identity.model.Identity
clone, isExternal, isSpace, isUserMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.exoplatform.social.core.CacheEntry
getCacheTime, setCacheTime
-
Constructor Details
-
IdentityWithRelationship
-
IdentityWithRelationship
-
-
Method Details
-
getRelationship
-
setRelationship
-
getGlobalId
- Overrides:
getGlobalIdin classIdentity- Returns:
- global id of identity
-
getId
Description copied from class:IdentityGets the id. -
getProfile
Description copied from class:IdentityGets the profile.- Overrides:
getProfilein classIdentity- Returns:
- the profile
-
getRemoteId
Description copied from class:IdentityGets the remote id.- Overrides:
getRemoteIdin classIdentity- Returns:
- the remote id
-
getProviderId
Description copied from class:IdentityGets the provider id.- Overrides:
getProviderIdin classIdentity- Returns:
- the provider id
-
isDeleted
public boolean isDeleted()Description copied from class:IdentityChecks whether this corresponding identity exists or not by the remote identity provider. -
isEnable
public boolean isEnable() -
setDeleted
public void setDeleted(boolean isDeleted) Description copied from class:IdentitySets the isDeleted property to indicate if this identity is deleted or not by the remote identity provider.- Overrides:
setDeletedin classIdentity- Parameters:
isDeleted- new value to set this identity is deleted or not.
-
setEnable
public void setEnable(boolean isEnable) -
setId
Description copied from class:IdentitySets the id. -
setProfile
Description copied from class:IdentitySets the profile.- Overrides:
setProfilein classIdentity- Parameters:
profile- the new profile
-
setProfileLoader
Description copied from class:IdentitySets the profile loader.- Overrides:
setProfileLoaderin classIdentity- Parameters:
profileLoader- the new profile loader
-
setProviderId
Description copied from class:IdentitySets the provider id.- Overrides:
setProviderIdin classIdentity- Parameters:
providerId- the new provider id
-
setRemoteId
Description copied from class:IdentitySets the remote id.- Overrides:
setRemoteIdin classIdentity- Parameters:
remoteId- the new remote id
-
toString
-
equals
-
hashCode
public int hashCode()
-