Interface ImageModel

All Superinterfaces:
BaseModel<Image>, ClassedModel, Cloneable, Comparable<Image>, CTModel<Image>, MVCCModel, Serializable, ShardedModel
All Known Subinterfaces:
Image
All Known Implementing Classes:
ImageWrapper

@ProviderType public interface ImageModel extends BaseModel<Image>, CTModel<Image>, MVCCModel, ShardedModel
The base model interface for the Image service. Represents a row in the "Image" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.ImageModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ImageImpl.

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

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this image.
      Specified by:
      getPrimaryKey in interface CTModel<Image>
      Returns:
      the primary key of this image
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this image.
      Specified by:
      setPrimaryKey in interface CTModel<Image>
      Parameters:
      primaryKey - the primary key of this image
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this image.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this image
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this image.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this image
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this image.
      Specified by:
      getCtCollectionId in interface CTModel<Image>
      Returns:
      the ct collection ID of this image
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this image.
      Specified by:
      setCtCollectionId in interface CTModel<Image>
      Parameters:
      ctCollectionId - the ct collection ID of this image
    • getImageId

      long getImageId()
      Returns the image ID of this image.
      Returns:
      the image ID of this image
    • setImageId

      void setImageId(long imageId)
      Sets the image ID of this image.
      Parameters:
      imageId - the image ID of this image
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this image.
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this image
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this image.
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this image
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this image.
      Returns:
      the modified date of this image
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this image.
      Parameters:
      modifiedDate - the modified date of this image
    • getType

      @AutoEscape String getType()
      Returns the type of this image.
      Returns:
      the type of this image
    • setType

      void setType(String type)
      Sets the type of this image.
      Parameters:
      type - the type of this image
    • getHeight

      int getHeight()
      Returns the height of this image.
      Returns:
      the height of this image
    • setHeight

      void setHeight(int height)
      Sets the height of this image.
      Parameters:
      height - the height of this image
    • getWidth

      int getWidth()
      Returns the width of this image.
      Returns:
      the width of this image
    • setWidth

      void setWidth(int width)
      Sets the width of this image.
      Parameters:
      width - the width of this image
    • getSize

      int getSize()
      Returns the size of this image.
      Returns:
      the size of this image
    • setSize

      void setSize(int size)
      Sets the size of this image.
      Parameters:
      size - the size of this image
    • cloneWithOriginalValues

      Image cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Image>
    • toXmlString

      default String toXmlString()