@ProviderType
public class SocialRelationCacheModel
extends java.lang.Object
implements com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation>, java.io.Externalizable
SocialRelation,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
long |
companyId |
long |
createDate |
long |
relationId |
int |
type |
long |
userId1 |
long |
userId2 |
java.lang.String |
uuid |
| Constructor and Description |
|---|
SocialRelationCacheModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
readExternal(java.io.ObjectInput objectInput) |
com.liferay.portlet.social.model.SocialRelation |
toEntityModel() |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput objectOutput) |
public java.lang.String uuid
public long relationId
public long companyId
public long createDate
public long userId1
public long userId2
public int type
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic com.liferay.portlet.social.model.SocialRelation toEntityModel()
toEntityModel in interface com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation>public void readExternal(java.io.ObjectInput objectInput)
throws java.io.IOException
readExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void writeExternal(java.io.ObjectOutput objectOutput)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException