Class ImageCacheModel

Object
com.liferay.portal.model.impl.ImageCacheModel
All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image>, com.liferay.portal.kernel.model.MVCCModel, Externalizable, Serializable

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

    • mvccVersion

      public long mvccVersion
    • ctCollectionId

      public long ctCollectionId
    • imageId

      public long imageId
    • companyId

      public long companyId
    • modifiedDate

      public long modifiedDate
    • type

      public String type
    • height

      public int height
    • width

      public int width
    • size

      public int size
  • Constructor Details

    • ImageCacheModel

      public ImageCacheModel()
  • 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.portal.kernel.model.Image toEntityModel()
      Specified by:
      toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image>
    • 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