@JSON(strict=true)
@ProviderType
public class ImageModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>
implements com.liferay.portal.model.ImageModel
This implementation and its corresponding interface ImageModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ImageImpl.
ImageImpl,
Image,
ImageModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
IMAGEID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
SIZE_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
ImageModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.Image image) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
int |
getHeight() |
long |
getImageId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getMvccVersion() |
int |
getOriginalSize() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
int |
getSize() |
java.lang.String |
getType() |
int |
getWidth() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setHeight(int height) |
void |
setImageId(long imageId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setSize(int size) |
void |
setType(java.lang.String type) |
void |
setWidth(int width) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.Image> |
toCacheModel() |
com.liferay.portal.model.Image |
toEscapedModel() |
static com.liferay.portal.model.Image |
toModel(com.liferay.portal.model.ImageSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.Image> |
toModels(com.liferay.portal.model.ImageSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long SIZE_COLUMN_BITMASK
public static final long IMAGEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.model.Image toModel(com.liferay.portal.model.ImageSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.Image> toModels(com.liferay.portal.model.ImageSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.ImageModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.ImageModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.ImageModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.ImageModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.ImageModelgetMvccVersion in interface com.liferay.portal.model.MVCCModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.ImageModelsetMvccVersion in interface com.liferay.portal.model.MVCCModel@JSON public long getImageId()
getImageId in interface com.liferay.portal.model.ImageModelpublic void setImageId(long imageId)
setImageId in interface com.liferay.portal.model.ImageModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.ImageModelgetCompanyId in interface com.liferay.portal.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.ImageModelsetCompanyId in interface com.liferay.portal.model.ShardedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.ImageModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.ImageModel@JSON public java.lang.String getType()
getType in interface com.liferay.portal.model.ImageModelpublic void setType(java.lang.String type)
setType in interface com.liferay.portal.model.ImageModel@JSON public int getHeight()
getHeight in interface com.liferay.portal.model.ImageModelpublic void setHeight(int height)
setHeight in interface com.liferay.portal.model.ImageModel@JSON public int getWidth()
getWidth in interface com.liferay.portal.model.ImageModelpublic void setWidth(int width)
setWidth in interface com.liferay.portal.model.ImageModel@JSON public int getSize()
getSize in interface com.liferay.portal.model.ImageModelpublic void setSize(int size)
setSize in interface com.liferay.portal.model.ImageModelpublic int getOriginalSize()
public long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.ImageModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>setExpandoBridgeAttributes in interface com.liferay.portal.model.ImageModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public com.liferay.portal.model.Image toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>toEscapedModel in interface com.liferay.portal.model.ImageModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>clone in interface com.liferay.portal.model.ImageModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public int compareTo(com.liferay.portal.model.Image image)
compareTo in interface com.liferay.portal.model.ImageModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Image>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.ImageModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Image> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>toCacheModel in interface com.liferay.portal.model.ImageModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Image>public java.lang.String toString()
toString in interface com.liferay.portal.model.ImageModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Image>toXmlString in interface com.liferay.portal.model.ImageModel