Class SocialRelationModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
com.liferay.portlet.social.model.impl.SocialRelationModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.social.kernel.model.SocialRelationModel
,Serializable
,Cloneable
,Comparable<com.liferay.social.kernel.model.SocialRelation>
- Direct Known Subclasses:
SocialRelationBaseImpl
public class SocialRelationModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
implements com.liferay.social.kernel.model.SocialRelationModel
The base model implementation for the SocialRelation service. Represents a row in the "SocialRelation" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final Object[][]
static final String
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.social.kernel.model.SocialRelation
int
compareTo
(com.liferay.social.kernel.model.SocialRelation socialRelation) boolean
Map<String,
BiConsumer<com.liferay.social.kernel.model.SocialRelation, Object>> long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
long
com.liferay.expando.kernel.model.ExpandoBridge
Class<?>
long
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
long
int
getType()
long
long
getUuid()
int
hashCode()
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementvoid
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
com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation>
com.liferay.social.kernel.model.SocialRelation
toString()
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from interface com.liferay.social.kernel.model.SocialRelationModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
TYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
USERID1_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
USERID2_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
UUID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
RELATIONID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
SocialRelationModelImpl
public SocialRelationModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
getPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
setPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.social.kernel.model.SocialRelation, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getCtCollectionId
public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
getCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
setCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getUuid
- Specified by:
getUuid
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUuid
- Specified by:
setUuid
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUuid
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getRelationId
public long getRelationId()- Specified by:
getRelationId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setRelationId
public void setRelationId(long relationId) - Specified by:
setRelationId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getCompanyId
public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getCreateDate
public long getCreateDate()- Specified by:
getCreateDate
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCreateDate
public void setCreateDate(long createDate) - Specified by:
setCreateDate
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getUserId1
public long getUserId1()- Specified by:
getUserId1
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUserId1
public void setUserId1(long userId1) - Specified by:
setUserId1
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUserId1
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getUserId2
public long getUserId2()- Specified by:
getUserId2
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUserId2
public void setUserId2(long userId2) - Specified by:
setUserId2
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUserId2
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getType
public int getType()- Specified by:
getType
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setType
public void setType(int type) - Specified by:
setType
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toEscapedModel
public com.liferay.social.kernel.model.SocialRelation toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
cloneWithOriginalValues
public com.liferay.social.kernel.model.SocialRelation cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
compareTo
public int compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) - Specified by:
compareTo
in interfaceComparable<com.liferay.social.kernel.model.SocialRelation>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-