@ProviderType public interface SocialRelationModel extends BaseModel<SocialRelation>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.social.model.impl.SocialRelationModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.social.model.impl.SocialRelationImpl
.
SocialRelation
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Returns the company ID of this social relation.
|
long |
getCreateDate()
Returns the create date of this social relation.
|
long |
getPrimaryKey()
Returns the primary key of this social relation.
|
long |
getRelationId()
Returns the relation ID of this social relation.
|
int |
getType()
Returns the type of this social relation.
|
long |
getUserId1()
Returns the user id1 of this social relation.
|
long |
getUserId2()
Returns the user id2 of this social relation.
|
String |
getUuid()
Returns the uuid of this social relation.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social relation.
|
void |
setCreateDate(long createDate)
Sets the create date of this social relation.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social relation.
|
void |
setRelationId(long relationId)
Sets the relation ID of this social relation.
|
void |
setType(int type)
Sets the type of this social relation.
|
void |
setUserId1(long userId1)
Sets the user id1 of this social relation.
|
void |
setUserId2(long userId2)
Sets the user id2 of this social relation.
|
void |
setUuid(String uuid)
Sets the uuid of this social relation.
|
clone, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this social relation@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this social relationlong getRelationId()
void setRelationId(long relationId)
relationId
- the relation ID of this social relationlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this social relationlong getCreateDate()
void setCreateDate(long createDate)
createDate
- the create date of this social relationlong getUserId1()
void setUserId1(long userId1)
userId1
- the user id1 of this social relationlong getUserId2()
void setUserId2(long userId2)
userId2
- the user id2 of this social relationint getType()
void setType(int type)
type
- the type of this social relation