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 TypeMethodDescriptionlong
Returns the company ID of this image.long
Returns the ct collection ID of this image.int
Returns the height of this image.long
Returns the image ID of this image.Returns the modified date of this image.long
Returns the mvcc version of this image.long
Returns the primary key of this image.int
getSize()
Returns the size of this image.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
Sets the type of this image.void
setWidth
(int width) Sets the width of this image.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this image.- Specified by:
getPrimaryKey
in interfaceCTModel<Image>
- Returns:
- the primary key of this image
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this image.- Specified by:
setPrimaryKey
in interfaceCTModel<Image>
- Parameters:
primaryKey
- the primary key of this image
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this image.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this image
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this image.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this image
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this image.- Specified by:
getCtCollectionId
in 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:
setCtCollectionId
in 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:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this image
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this image.- Specified by:
setCompanyId
in 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:
cloneWithOriginalValues
in interfaceBaseModel<Image>
-
toXmlString
-