Class SocialActivityCounterCacheModel

Object
com.liferay.portlet.social.model.impl.SocialActivityCounterCacheModel
All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivityCounter>, com.liferay.portal.kernel.model.MVCCModel, Externalizable, Serializable

public class SocialActivityCounterCacheModel extends Object implements com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivityCounter>, Externalizable, com.liferay.portal.kernel.model.MVCCModel
The cache model class for representing SocialActivityCounter in entity cache.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

    • mvccVersion

      public long mvccVersion
    • ctCollectionId

      public long ctCollectionId
    • activityCounterId

      public long activityCounterId
    • groupId

      public long groupId
    • companyId

      public long companyId
    • classNameId

      public long classNameId
    • classPK

      public long classPK
    • name

      public String name
    • ownerType

      public int ownerType
    • currentValue

      public int currentValue
    • totalValue

      public int totalValue
    • graceValue

      public int graceValue
    • startPeriod

      public int startPeriod
    • endPeriod

      public int endPeriod
    • active

      public boolean active
  • Constructor Details

    • SocialActivityCounterCacheModel

      public SocialActivityCounterCacheModel()
  • Method Details

    • equals

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

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

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

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

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

      public com.liferay.social.kernel.model.SocialActivityCounter toEntityModel()
      Specified by:
      toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivityCounter>
    • readExternal

      public void readExternal(ObjectInput objectInput) throws IOException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
    • writeExternal

      public void writeExternal(ObjectOutput objectOutput) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException