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 Details

  • Constructor Details

    • SocialActivityModelImpl

      public SocialActivityModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      getPrimaryKey in interface com.liferay.social.kernel.model.SocialActivityModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      setPrimaryKey in interface com.liferay.social.kernel.model.SocialActivityModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.social.kernel.model.SocialActivity,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialActivity,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
    • getMvccVersion

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.social.kernel.model.SocialActivityModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface com.liferay.social.kernel.model.SocialActivityModel
    • getCtCollectionId

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      getCtCollectionId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      setCtCollectionId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getActivityId

      @JSON public long getActivityId()
      Specified by:
      getActivityId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setActivityId

      public void setActivityId(long activityId)
      Specified by:
      setActivityId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getGroupId

      @JSON public long getGroupId()
      Specified by:
      getGroupId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setGroupId

      public void setGroupId(long groupId)
      Specified by:
      setGroupId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalGroupId

      @Deprecated public long getOriginalGroupId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getCompanyId

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalCompanyId

      @Deprecated public long getOriginalCompanyId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getUserId

      @JSON public long getUserId()
      Specified by:
      getUserId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setUserId

      public void setUserId(long userId)
      Specified by:
      setUserId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getUserUuid

      public String getUserUuid()
      Specified by:
      getUserUuid in interface com.liferay.social.kernel.model.SocialActivityModel
    • setUserUuid

      public void setUserUuid(String userUuid)
      Specified by:
      setUserUuid in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalUserId

      @Deprecated public long getOriginalUserId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getCreateDate

      @JSON public long getCreateDate()
      Specified by:
      getCreateDate in interface com.liferay.social.kernel.model.SocialActivityModel
    • setCreateDate

      public void setCreateDate(long createDate)
      Specified by:
      setCreateDate in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalCreateDate

      @Deprecated public long getOriginalCreateDate()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getActivitySetId

      @JSON public long getActivitySetId()
      Specified by:
      getActivitySetId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setActivitySetId

      public void setActivitySetId(long activitySetId)
      Specified by:
      setActivitySetId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalActivitySetId

      @Deprecated public long getOriginalActivitySetId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getMirrorActivityId

      @JSON public long getMirrorActivityId()
      Specified by:
      getMirrorActivityId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setMirrorActivityId

      public void setMirrorActivityId(long mirrorActivityId)
      Specified by:
      setMirrorActivityId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalMirrorActivityId

      @Deprecated public long getOriginalMirrorActivityId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.social.kernel.model.SocialActivityModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface com.liferay.social.kernel.model.SocialActivityModel
    • getClassNameId

      @JSON public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.social.kernel.model.SocialActivityModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Specified by:
      setClassNameId in interface com.liferay.social.kernel.model.SocialActivityModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • getOriginalClassNameId

      @Deprecated public long getOriginalClassNameId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassPK

      @JSON public long getClassPK()
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface com.liferay.social.kernel.model.SocialActivityModel
    • setClassPK

      public void setClassPK(long classPK)
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalClassPK

      @Deprecated public long getOriginalClassPK()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getParentClassNameId

      @JSON public long getParentClassNameId()
      Specified by:
      getParentClassNameId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setParentClassNameId

      public void setParentClassNameId(long parentClassNameId)
      Specified by:
      setParentClassNameId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getParentClassPK

      @JSON public long getParentClassPK()
      Specified by:
      getParentClassPK in interface com.liferay.social.kernel.model.SocialActivityModel
    • setParentClassPK

      public void setParentClassPK(long parentClassPK)
      Specified by:
      setParentClassPK in interface com.liferay.social.kernel.model.SocialActivityModel
    • getType

      @JSON public int getType()
      Specified by:
      getType in interface com.liferay.social.kernel.model.SocialActivityModel
    • setType

      public void setType(int type)
      Specified by:
      setType in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalType

      @Deprecated public int getOriginalType()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getExtraData

      @JSON public String getExtraData()
      Specified by:
      getExtraData in interface com.liferay.social.kernel.model.SocialActivityModel
    • setExtraData

      public void setExtraData(String extraData)
      Specified by:
      setExtraData in interface com.liferay.social.kernel.model.SocialActivityModel
    • getReceiverUserId

      @JSON public long getReceiverUserId()
      Specified by:
      getReceiverUserId in interface com.liferay.social.kernel.model.SocialActivityModel
    • setReceiverUserId

      public void setReceiverUserId(long receiverUserId)
      Specified by:
      setReceiverUserId in interface com.liferay.social.kernel.model.SocialActivityModel
    • getReceiverUserUuid

      public String getReceiverUserUuid()
      Specified by:
      getReceiverUserUuid in interface com.liferay.social.kernel.model.SocialActivityModel
    • setReceiverUserUuid

      public void setReceiverUserUuid(String receiverUserUuid)
      Specified by:
      setReceiverUserUuid in interface com.liferay.social.kernel.model.SocialActivityModel
    • getOriginalReceiverUserId

      @Deprecated public long getOriginalReceiverUserId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getColumnBitmask

      public long getColumnBitmask()
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      setExpandoBridgeAttributes in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      clone in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.social.kernel.model.SocialActivityModel
    • compareTo

      public int compareTo(com.liferay.social.kernel.model.SocialActivity socialActivity)
      Specified by:
      compareTo in interface Comparable<com.liferay.social.kernel.model.SocialActivity>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      resetOriginalValues in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivity>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivity>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)