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
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
RELATIONID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
TYPE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
USERID1_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
USERID2_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
UUID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
| Constructor and Description |
|---|
SocialRelationModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
com.liferay.social.kernel.model.SocialRelation |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) |
boolean |
equals(Object object) |
Map<String,Function<com.liferay.social.kernel.model.SocialRelation,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
long |
getCreateDate() |
long |
getCtCollectionId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
int |
getOriginalType()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalUserId1()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalUserId2()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalUuid()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getRelationId() |
int |
getType() |
long |
getUserId1() |
long |
getUserId2() |
String |
getUuid() |
int |
hashCode() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(long createDate) |
void |
setCtCollectionId(long ctCollectionId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
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
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
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long TYPE_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long USERID1_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long USERID2_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long UUID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long RELATIONID_COLUMN_BITMASK
getColumnBitmask(String)public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>getPrimaryKey in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>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()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface com.liferay.social.kernel.model.SocialRelationModelpublic long getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>getCtCollectionId in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>setCtCollectionId in interface com.liferay.social.kernel.model.SocialRelationModelpublic String getUuid()
getUuid in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setUuid(String uuid)
setUuid in interface com.liferay.social.kernel.model.SocialRelationModel@Deprecated public String getOriginalUuid()
getColumnOriginalValue(String)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.SocialRelationModel@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)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.SocialRelationModel@Deprecated public long getOriginalUserId1()
getColumnOriginalValue(String)public long getUserId2()
getUserId2 in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setUserId2(long userId2)
setUserId2 in interface com.liferay.social.kernel.model.SocialRelationModel@Deprecated public long getOriginalUserId2()
getColumnOriginalValue(String)public int getType()
getType in interface com.liferay.social.kernel.model.SocialRelationModelpublic void setType(int type)
setType in interface com.liferay.social.kernel.model.SocialRelationModel@Deprecated public int getOriginalType()
getColumnOriginalValue(String)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 com.liferay.social.kernel.model.SocialRelation cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>cloneWithOriginalValues in interface com.liferay.social.kernel.model.SocialRelationModelpublic int compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation)
compareTo in interface Comparable<com.liferay.social.kernel.model.SocialRelation>public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>@Deprecated 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>public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)