Class SocialActivityCounterModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>, 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.SocialActivityCounterModel, Serializable, Cloneable, Comparable<com.liferay.social.kernel.model.SocialActivityCounter>
Direct Known Subclasses:
SocialActivityCounterBaseImpl

public class SocialActivityCounterModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter> implements com.liferay.social.kernel.model.SocialActivityCounterModel
The base model implementation for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface SocialActivityCounterModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityCounterImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Constructor Details

    • SocialActivityCounterModelImpl

      public SocialActivityCounterModelImpl()
  • Method Details

    • getPrimaryKey

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

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

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
      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.SocialActivityCounter>
      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.SocialActivityCounter>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
    • setModelAttributes

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

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

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

      public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • 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.SocialActivityCounterModel
    • getCtCollectionId

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

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

      public long getActivityCounterId()
      Specified by:
      getActivityCounterId in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setActivityCounterId

      public void setActivityCounterId(long activityCounterId)
      Specified by:
      setActivityCounterId in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getGroupId

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

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

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

      public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • 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.SocialActivityCounterModel
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.social.kernel.model.SocialActivityCounterModel
      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.SocialActivityCounterModel
    • getClassNameId

      public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.social.kernel.model.SocialActivityCounterModel
      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.SocialActivityCounterModel
      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

      public long getClassPK()
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • 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.SocialActivityCounterModel
    • getOriginalClassPK

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

      public String getName()
      Specified by:
      getName in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setName

      public void setName(String name)
      Specified by:
      setName in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getOriginalName

      @Deprecated public String getOriginalName()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getOwnerType

      public int getOwnerType()
      Specified by:
      getOwnerType in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setOwnerType

      public void setOwnerType(int ownerType)
      Specified by:
      setOwnerType in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getOriginalOwnerType

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

      public int getCurrentValue()
      Specified by:
      getCurrentValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setCurrentValue

      public void setCurrentValue(int currentValue)
      Specified by:
      setCurrentValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getTotalValue

      public int getTotalValue()
      Specified by:
      getTotalValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setTotalValue

      public void setTotalValue(int totalValue)
      Specified by:
      setTotalValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getGraceValue

      public int getGraceValue()
      Specified by:
      getGraceValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setGraceValue

      public void setGraceValue(int graceValue)
      Specified by:
      setGraceValue in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getStartPeriod

      public int getStartPeriod()
      Specified by:
      getStartPeriod in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setStartPeriod

      public void setStartPeriod(int startPeriod)
      Specified by:
      setStartPeriod in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getOriginalStartPeriod

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

      public int getEndPeriod()
      Specified by:
      getEndPeriod in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setEndPeriod

      public void setEndPeriod(int endPeriod)
      Specified by:
      setEndPeriod in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • getOriginalEndPeriod

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

      public boolean getActive()
      Specified by:
      getActive in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • setActive

      public void setActive(boolean active)
      Specified by:
      setActive in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • 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.SocialActivityCounter>
      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.SocialActivityCounter>
    • 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.SocialActivityCounter>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
    • toEscapedModel

      public com.liferay.social.kernel.model.SocialActivityCounter toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
    • cloneWithOriginalValues

      public com.liferay.social.kernel.model.SocialActivityCounter cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.social.kernel.model.SocialActivityCounterModel
    • compareTo

      public int compareTo(com.liferay.social.kernel.model.SocialActivityCounter socialActivityCounter)
      Specified by:
      compareTo in interface Comparable<com.liferay.social.kernel.model.SocialActivityCounter>
    • 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.SocialActivityCounter>
    • 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.SocialActivityCounter>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
    • toCacheModel

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