Class SocialActivityModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
com.liferay.portlet.social.model.impl.SocialActivityModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,com.liferay.social.kernel.model.SocialActivityModel
,Serializable
,Cloneable
,Comparable<com.liferay.social.kernel.model.SocialActivity>
- Direct Known Subclasses:
SocialActivityBaseImpl
@JSON(strict=true)
public class SocialActivityModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
implements com.liferay.social.kernel.model.SocialActivityModel
The base model implementation for the SocialActivity service. Represents a row in the "SocialActivity" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialActivityModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Deprecated.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 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 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
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
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)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.social.kernel.model.SocialActivity
int
compareTo
(com.liferay.social.kernel.model.SocialActivity socialActivity) boolean
long
long
Map<String,
BiConsumer<com.liferay.social.kernel.model.SocialActivity, Object>> long
long
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
long
long
Class<?>
long
long
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)
long
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)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
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
long
long
long
int
getType()
long
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
setActivityId
(long activityId) void
setActivitySetId
(long activitySetId) void
setClassName
(String className) void
setClassNameId
(long classNameId) void
setClassPK
(long classPK) void
setCompanyId
(long companyId) void
setCreateDate
(long createDate) void
setCtCollectionId
(long ctCollectionId) void
setExpandoBridgeAttributes
(com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setExtraData
(String extraData) void
setGroupId
(long groupId) void
setMirrorActivityId
(long mirrorActivityId) void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) void
setParentClassNameId
(long parentClassNameId) void
setParentClassPK
(long parentClassPK) void
setPrimaryKey
(long primaryKey) void
setPrimaryKeyObj
(Serializable primaryKeyObj) void
setReceiverUserId
(long receiverUserId) void
setReceiverUserUuid
(String receiverUserUuid) void
setType
(int type) void
setUserId
(long userId) void
setUserUuid
(String userUuid) com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivity>
com.liferay.social.kernel.model.SocialActivity
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.SocialActivityModel
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:
-
ACTIVITYSETID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSNAMEID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSPK_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CREATEDATE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
GROUPID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
MIRRORACTIVITYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
RECEIVERUSERID_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:
-
USERID_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
-
SocialActivityModelImpl
public SocialActivityModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
getPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
setPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- 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.SocialActivity>
- 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.SocialActivity>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.social.kernel.model.SocialActivity, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialActivity, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
-
getMvccVersion
@JSON public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
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.SocialActivityModel
-
getCtCollectionId
@JSON public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
getCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
setCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getActivityId
@JSON public long getActivityId()- Specified by:
getActivityId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setActivityId
public void setActivityId(long activityId) - Specified by:
setActivityId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getGroupId
@JSON public long getGroupId()- Specified by:
getGroupId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalGroupId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getCompanyId
@JSON public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
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.SocialActivityModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getUserId
@JSON public long getUserId()- Specified by:
getUserId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setUserId
public void setUserId(long userId) - Specified by:
setUserId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getUserUuid
- Specified by:
getUserUuid
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setUserUuid
- Specified by:
setUserUuid
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalUserId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getCreateDate
@JSON public long getCreateDate()- Specified by:
getCreateDate
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setCreateDate
public void setCreateDate(long createDate) - Specified by:
setCreateDate
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalCreateDate
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getActivitySetId
@JSON public long getActivitySetId()- Specified by:
getActivitySetId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setActivitySetId
public void setActivitySetId(long activitySetId) - Specified by:
setActivitySetId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalActivitySetId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getMirrorActivityId
@JSON public long getMirrorActivityId()- Specified by:
getMirrorActivityId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setMirrorActivityId
public void setMirrorActivityId(long mirrorActivityId) - Specified by:
setMirrorActivityId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalMirrorActivityId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.social.kernel.model.SocialActivityModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getClassNameId
@JSON public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
getOriginalClassNameId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getClassPK
@JSON public long getClassPK()- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setClassPK
public void setClassPK(long classPK) - Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalClassPK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getParentClassNameId
@JSON public long getParentClassNameId()- Specified by:
getParentClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setParentClassNameId
public void setParentClassNameId(long parentClassNameId) - Specified by:
setParentClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getParentClassPK
@JSON public long getParentClassPK()- Specified by:
getParentClassPK
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setParentClassPK
public void setParentClassPK(long parentClassPK) - Specified by:
setParentClassPK
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getType
@JSON public int getType()- Specified by:
getType
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setType
public void setType(int type) - Specified by:
setType
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getExtraData
- Specified by:
getExtraData
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setExtraData
- Specified by:
setExtraData
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getReceiverUserId
@JSON public long getReceiverUserId()- Specified by:
getReceiverUserId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setReceiverUserId
public void setReceiverUserId(long receiverUserId) - Specified by:
setReceiverUserId
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getReceiverUserUuid
- Specified by:
getReceiverUserUuid
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
setReceiverUserUuid
- Specified by:
setReceiverUserUuid
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
getOriginalReceiverUserId
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.SocialActivity>
- 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.SocialActivity>
-
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.SocialActivity>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
toEscapedModel
public com.liferay.social.kernel.model.SocialActivity toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
cloneWithOriginalValues
public com.liferay.social.kernel.model.SocialActivity cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.social.kernel.model.SocialActivityModel
-
compareTo
public int compareTo(com.liferay.social.kernel.model.SocialActivity socialActivity) - Specified by:
compareTo
in interfaceComparable<com.liferay.social.kernel.model.SocialActivity>
-
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.SocialActivity>
-
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.SocialActivity>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivity> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)