@ProviderType
public class SocialRelationModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
implements com.liferay.portlet.social.model.SocialRelationModel
This implementation and its corresponding interface SocialRelationModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialRelationImpl.
SocialRelationImpl,
SocialRelation,
SocialRelationModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
RELATIONID_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
TYPE_COLUMN_BITMASK |
static long |
USERID1_COLUMN_BITMASK |
static long |
USERID2_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
SocialRelationModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portlet.social.model.SocialRelation socialRelation) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOriginalCompanyId() |
int |
getOriginalType() |
long |
getOriginalUserId1() |
long |
getOriginalUserId2() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getRelationId() |
int |
getType() |
long |
getUserId1() |
long |
getUserId2() |
java.lang.String |
getUuid() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(long createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRelationId(long relationId) |
void |
setType(int type) |
void |
setUserId1(long userId1) |
void |
setUserId2(long userId2) |
void |
setUuid(java.lang.String uuid) |
com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation> |
toCacheModel() |
com.liferay.portlet.social.model.SocialRelation |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long USERID1_COLUMN_BITMASK
public static final long USERID2_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long RELATIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.social.model.SocialRelationModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.social.model.SocialRelationModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public java.lang.String getUuid()
getUuid in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portlet.social.model.SocialRelationModelpublic java.lang.String getOriginalUuid()
public long getRelationId()
getRelationId in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setRelationId(long relationId)
setRelationId in interface com.liferay.portlet.social.model.SocialRelationModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.model.ShardedModelgetCompanyId in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.ShardedModelsetCompanyId in interface com.liferay.portlet.social.model.SocialRelationModelpublic long getOriginalCompanyId()
public long getCreateDate()
getCreateDate in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setCreateDate(long createDate)
setCreateDate in interface com.liferay.portlet.social.model.SocialRelationModelpublic long getUserId1()
getUserId1 in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setUserId1(long userId1)
setUserId1 in interface com.liferay.portlet.social.model.SocialRelationModelpublic long getOriginalUserId1()
public long getUserId2()
getUserId2 in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setUserId2(long userId2)
setUserId2 in interface com.liferay.portlet.social.model.SocialRelationModelpublic long getOriginalUserId2()
public int getType()
getType in interface com.liferay.portlet.social.model.SocialRelationModelpublic void setType(int type)
setType in interface com.liferay.portlet.social.model.SocialRelationModelpublic int getOriginalType()
public long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.social.model.SocialRelationModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>setExpandoBridgeAttributes in interface com.liferay.portlet.social.model.SocialRelationModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public com.liferay.portlet.social.model.SocialRelation toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>toEscapedModel in interface com.liferay.portlet.social.model.SocialRelationModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>clone in interface com.liferay.portlet.social.model.SocialRelationModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public int compareTo(com.liferay.portlet.social.model.SocialRelation socialRelation)
compareTo in interface com.liferay.portlet.social.model.SocialRelationModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.social.model.SocialRelation>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.social.model.SocialRelationModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>toCacheModel in interface com.liferay.portlet.social.model.SocialRelationModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>public java.lang.String toString()
toString in interface com.liferay.portlet.social.model.SocialRelationModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>toXmlString in interface com.liferay.portlet.social.model.SocialRelationModel