com.liferay.portlet.social.model
Interface SocialRelationModel
- All Superinterfaces:
- BaseModel<SocialRelation>, java.lang.Cloneable, java.lang.Comparable<SocialRelation>, java.io.Serializable
- All Known Subinterfaces:
- SocialRelation
- All Known Implementing Classes:
- SocialRelationWrapper
public interface SocialRelationModel
- extends BaseModel<SocialRelation>
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- Generated:
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
long getCreateDate()
setCreateDate
void setCreateDate(long 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()
isNew
boolean isNew()
- Specified by:
isNew in interface BaseModel<SocialRelation>
setNew
boolean setNew(boolean n)
- Specified by:
setNew in interface BaseModel<SocialRelation>
isCachedModel
boolean isCachedModel()
- Specified by:
isCachedModel in interface BaseModel<SocialRelation>
setCachedModel
void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface BaseModel<SocialRelation>
isEscapedModel
boolean isEscapedModel()
- Specified by:
isEscapedModel in interface BaseModel<SocialRelation>
setEscapedModel
void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface BaseModel<SocialRelation>
getPrimaryKeyObj
java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface BaseModel<SocialRelation>
getExpandoBridge
ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface BaseModel<SocialRelation>
setExpandoBridgeAttributes
void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<SocialRelation>
clone
java.lang.Object clone()
- Specified by:
clone in interface BaseModel<SocialRelation>
compareTo
int compareTo(SocialRelation socialRelation)
- Specified by:
compareTo in interface java.lang.Comparable<SocialRelation>
hashCode
int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString in interface BaseModel<SocialRelation>