@ProviderType public interface SocialRelationModel extends BaseModel<SocialRelation>, CTModel<SocialRelation>, MVCCModel, 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 |
getCtCollectionId()
Returns the ct collection ID of this social relation.
|
long |
getMvccVersion()
Returns the mvcc version 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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social relation.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialRelation>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialRelation>
primaryKey
- the primary key of this social relationlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this social relationlong getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialRelation>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialRelation>
ctCollectionId
- the ct collection ID 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