Package com.liferay.portal.kernel.model
Class ImageWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Image>
com.liferay.portal.kernel.model.ImageWrapper
- All Implemented Interfaces:
BaseModel<Image>,CTModel<Image>,ClassedModel,Image,ImageModel,ModelWrapper<Image>,MVCCModel,PersistedModel,ShardedModel,Serializable,Cloneable,Comparable<Image>
This class is a wrapper for Image.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Image
IMAGE_ID_ACCESSOR -
Constructor Summary
Constructors -
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.byte[]getType()Returns the type of this image.intgetWidth()Returns the width of this image.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.voidsetTextObj(byte[] textObj) voidSets the type of this image.voidsetWidth(int width) Sets the width of this image.protected ImageWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ImageWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Image>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Image>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Image>- Specified by:
cloneWithOriginalValuesin interfaceImageModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this image.- Specified by:
getCompanyIdin interfaceImageModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this image
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this image.- Specified by:
getCtCollectionIdin interfaceCTModel<Image>- Specified by:
getCtCollectionIdin interfaceImageModel- Returns:
- the ct collection ID of this image
-
getHeight
public int getHeight()Returns the height of this image.- Specified by:
getHeightin interfaceImageModel- Returns:
- the height of this image
-
getImageId
public long getImageId()Returns the image ID of this image.- Specified by:
getImageIdin interfaceImageModel- Returns:
- the image ID of this image
-
getModifiedDate
Returns the modified date of this image.- Specified by:
getModifiedDatein interfaceImageModel- Returns:
- the modified date of this image
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this image.- Specified by:
getMvccVersionin interfaceImageModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this image
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this image.- Specified by:
getPrimaryKeyin interfaceCTModel<Image>- Specified by:
getPrimaryKeyin interfaceImageModel- Returns:
- the primary key of this image
-
getSize
public int getSize()Returns the size of this image.- Specified by:
getSizein interfaceImageModel- Returns:
- the size of this image
-
getTextObj
public byte[] getTextObj()- Specified by:
getTextObjin interfaceImage
-
getType
Returns the type of this image.- Specified by:
getTypein interfaceImageModel- Returns:
- the type of this image
-
getWidth
public int getWidth()Returns the width of this image.- Specified by:
getWidthin interfaceImageModel- Returns:
- the width of this image
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this image.- Specified by:
setCompanyIdin interfaceImageModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this image
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this image.- Specified by:
setCtCollectionIdin interfaceCTModel<Image>- Specified by:
setCtCollectionIdin interfaceImageModel- Parameters:
ctCollectionId- the ct collection ID of this image
-
setHeight
public void setHeight(int height) Sets the height of this image.- Specified by:
setHeightin interfaceImageModel- Parameters:
height- the height of this image
-
setImageId
public void setImageId(long imageId) Sets the image ID of this image.- Specified by:
setImageIdin interfaceImageModel- Parameters:
imageId- the image ID of this image
-
setModifiedDate
Sets the modified date of this image.- Specified by:
setModifiedDatein interfaceImageModel- Parameters:
modifiedDate- the modified date of this image
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this image.- Specified by:
setMvccVersionin interfaceImageModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this image
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this image.- Specified by:
setPrimaryKeyin interfaceCTModel<Image>- Specified by:
setPrimaryKeyin interfaceImageModel- Parameters:
primaryKey- the primary key of this image
-
setSize
public void setSize(int size) Sets the size of this image.- Specified by:
setSizein interfaceImageModel- Parameters:
size- the size of this image
-
setTextObj
public void setTextObj(byte[] textObj) - Specified by:
setTextObjin interfaceImage
-
setType
Sets the type of this image.- Specified by:
setTypein interfaceImageModel- Parameters:
type- the type of this image
-
setWidth
public void setWidth(int width) Sets the width of this image.- Specified by:
setWidthin interfaceImageModel- Parameters:
width- the width of this image
-
toXmlString
- Specified by:
toXmlStringin interfaceImageModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Image>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Image>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Image>
-