Class SocialRelationCacheModel
Object
com.liferay.portlet.social.model.impl.SocialRelationCacheModel
- All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation>
,com.liferay.portal.kernel.model.MVCCModel
,Externalizable
,Serializable
public class SocialRelationCacheModel
extends Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation>, Externalizable, com.liferay.portal.kernel.model.MVCCModel
The cache model class for representing SocialRelation in entity cache.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
long
long
long
long
int
long
long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
int
hashCode()
void
readExternal
(ObjectInput objectInput) void
setMvccVersion
(long mvccVersion) com.liferay.social.kernel.model.SocialRelation
toString()
void
writeExternal
(ObjectOutput objectOutput)
-
Field Details
-
mvccVersion
public long mvccVersion -
ctCollectionId
public long ctCollectionId -
uuid
-
relationId
public long relationId -
companyId
public long companyId -
createDate
public long createDate -
userId1
public long userId1 -
userId2
public long userId2 -
type
public int type
-
-
Constructor Details
-
SocialRelationCacheModel
public SocialRelationCacheModel()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
toString
-
toEntityModel
public com.liferay.social.kernel.model.SocialRelation toEntityModel()- Specified by:
toEntityModel
in interfacecom.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation>
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-