@ProviderType public interface ImageModel extends BaseModel<Image>, CTModel<Image>, MVCCModel, ShardedModel
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
.
Image
Modifier and Type | Method and Description |
---|---|
Image |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this image.
|
long |
getCtCollectionId()
Returns the ct collection ID of this image.
|
int |
getHeight()
Returns the height of this image.
|
long |
getImageId()
Returns the image ID of this image.
|
Date |
getModifiedDate()
Returns the modified date of this image.
|
long |
getMvccVersion()
Returns the mvcc version of this image.
|
long |
getPrimaryKey()
Returns the primary key of this image.
|
int |
getSize()
Returns the size of this image.
|
String |
getType()
Returns the type of this image.
|
int |
getWidth()
Returns the width of this image.
|
void |
setCompanyId(long companyId)
Sets the company ID of this image.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this image.
|
void |
setHeight(int height)
Sets the height of this image.
|
void |
setImageId(long imageId)
Sets the image ID of this image.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this image.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this image.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this image.
|
void |
setSize(int size)
Sets the size of this image.
|
void |
setType(String type)
Sets the type of this image.
|
void |
setWidth(int width)
Sets the width of this image.
|
default String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
long getPrimaryKey()
getPrimaryKey
in interface CTModel<Image>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<Image>
primaryKey
- the primary key of this imagelong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this imagelong getCtCollectionId()
getCtCollectionId
in interface CTModel<Image>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<Image>
ctCollectionId
- the ct collection ID of this imagelong getImageId()
void setImageId(long imageId)
imageId
- the image ID of this imagelong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this imageDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- the modified date of this image@AutoEscape String getType()
void setType(String type)
type
- the type of this imageint getHeight()
void setHeight(int height)
height
- the height of this imageint getWidth()
void setWidth(int width)
width
- the width of this imageint getSize()
void setSize(int size)
size
- the size of this imageImage cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Image>
default String toXmlString()