Package com.liferay.portal.kernel.model
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 Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this image.longReturns the ct collection ID of this image.intReturns the height of this image.longReturns the image ID of this image.Returns the modified date of this image.longReturns the mvcc version of this image.longReturns the primary key of this image.intgetSize()Returns the size of this image.getType()Returns the type of this image.intgetWidth()Returns the width of this image.voidsetCompanyId(long companyId) Sets the company ID of this image.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this image.voidsetHeight(int height) Sets the height of this image.voidsetImageId(long imageId) Sets the image ID of this image.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this image.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this image.voidsetPrimaryKey(long primaryKey) Sets the primary key of this image.voidsetSize(int size) Sets the size of this image.voidSets the type of this image.voidsetWidth(int width) Sets the width of this image.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this image.- Specified by:
getPrimaryKeyin interfaceCTModel<Image>- Returns:
- the primary key of this image
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this image.- Specified by:
setPrimaryKeyin interfaceCTModel<Image>- Parameters:
primaryKey- the primary key of this image
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this image.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this image
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this image.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this image
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this image.- Specified by:
getCtCollectionIdin interfaceCTModel<Image>- Returns:
- the ct collection ID of this image
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this image.- Specified by:
setCtCollectionIdin interfaceCTModel<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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this image
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this image.- Specified by:
setCompanyIdin interfaceShardedModel- 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
Sets the modified date of this image.- Parameters:
modifiedDate- the modified date of this image
-
getType
Returns the type of this image.- Returns:
- the type of this image
-
setType
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:
cloneWithOriginalValuesin interfaceBaseModel<Image>
-
toXmlString
-