com.liferay.portlet.social.model
Interface SocialRelationModel

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
All Known Subinterfaces:
SocialRelation

public interface SocialRelationModel
extends BaseModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the SocialRelation table in the database.

Author:
Brian Wing Shun Chan
See Also:
SocialRelation, com.liferay.portlet.social.model.impl.SocialRelationImpl, com.liferay.portlet.social.model.impl.SocialRelationModelImpl

Method Summary
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 long getPrimaryKey()
           
 long getRelationId()
           
 int getType()
           
 long getUserId1()
           
 long getUserId2()
           
 java.lang.String getUuid()
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setPrimaryKey(long pk)
           
 void setRelationId(long relationId)
           
 void setType(int type)
           
 void setUserId1(long userId1)
           
 void setUserId2(long userId2)
           
 void setUuid(java.lang.String uuid)
           
 SocialRelation toEscapedModel()
           
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getUuid

java.lang.String getUuid()

setUuid

void setUuid(java.lang.String uuid)

getRelationId

long getRelationId()

setRelationId

void setRelationId(long relationId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getCreateDate

java.util.Date getCreateDate()

setCreateDate

void setCreateDate(java.util.Date createDate)

getUserId1

long getUserId1()

setUserId1

void setUserId1(long userId1)

getUserId2

long getUserId2()

setUserId2

void setUserId2(long userId2)

getType

int getType()

setType

void setType(int type)

toEscapedModel

SocialRelation toEscapedModel()