public class SocialRelationModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
implements com.liferay.social.kernel.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,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
RELATIONID_COLUMN_BITMASK |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static 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 |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) |
boolean |
equals(Object obj) |
Map<String,Function<com.liferay.social.kernel.model.SocialRelation,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getOriginalCompanyId() |
int |
getOriginalType() |
long |
getOriginalUserId1() |
long |
getOriginalUserId2() |
String |
getOriginalUuid() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getRelationId() |
int |
getType() |
long |
getUserId1() |
long |
getUserId2() |
String |
getUuid() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(long createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRelationId(long relationId) |
void |
setType(int type) |
void |
setUserId1(long userId1) |
void |
setUserId2(long userId2) |
void |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> |
toCacheModel() |
com.liferay.social.kernel.model.SocialRelation |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
SocialRelation interface instead.public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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.social.kernel.model.SocialRelationModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.social.kernel.model.SocialRelationModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public Map<String,Function<com.liferay.social.kernel.model.SocialRelation,Object>> getAttributeGetterFunctions()
public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation,Object>> getAttributeSetterBiConsumers()
public String getUuid()
getUuid in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setUuid(String uuid)
setUuid in interface com.liferay.social.kernel.model.SocialRelationModelpublic String getOriginalUuid()
public long getRelationId()
getRelationId in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setRelationId(long relationId)
setRelationId in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getOriginalCompanyId()
public long getCreateDate()
getCreateDate in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setCreateDate(long createDate)
setCreateDate in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getUserId1()
getUserId1 in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setUserId1(long userId1)
setUserId1 in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getOriginalUserId1()
public long getUserId2()
getUserId2 in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setUserId2(long userId2)
setUserId2 in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getOriginalUserId2()
public int getType()
getType in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setType(int type)
setType in interface com.liferay.social.kernel.model.SocialRelationModelpublic int getOriginalType()
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public com.liferay.social.kernel.model.SocialRelation toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public int compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation)
compareTo in interface Comparable<com.liferay.social.kernel.model.SocialRelation>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>public String toString()
toString in class Objectpublic String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>