@JSON(strict=true)
@ProviderType
public class ImageModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>
implements com.liferay.portal.kernel.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 String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
IMAGEID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
SIZE_COLUMN_BITMASK |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
| Constructor and Description |
|---|
ImageModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Image image) |
boolean |
equals(Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
int |
getHeight() |
long |
getImageId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
int |
getOriginalSize() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
int |
getSize() |
String |
getType() |
int |
getWidth() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setHeight(int height) |
void |
setImageId(long imageId) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setSize(int size) |
void |
setType(String type) |
void |
setWidth(int width) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image> |
toCacheModel() |
com.liferay.portal.kernel.model.Image |
toEscapedModel() |
static com.liferay.portal.kernel.model.Image |
toModel(com.liferay.portal.kernel.model.ImageSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Image> |
toModels(com.liferay.portal.kernel.model.ImageSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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.kernel.model.Image toModel(com.liferay.portal.kernel.model.ImageSoap soapModel)
soapModel - the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Image> toModels(com.liferay.portal.kernel.model.ImageSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.ImageModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.ImageModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.ImageModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.ImageModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.ImageModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.ImageModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel@JSON public long getImageId()
getImageId in interface com.liferay.portal.kernel.model.ImageModelpublic void setImageId(long imageId)
setImageId in interface com.liferay.portal.kernel.model.ImageModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ImageModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ImageModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModel@JSON public Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.ImageModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.ImageModel@JSON public String getType()
getType in interface com.liferay.portal.kernel.model.ImageModelpublic void setType(String type)
setType in interface com.liferay.portal.kernel.model.ImageModel@JSON public int getHeight()
getHeight in interface com.liferay.portal.kernel.model.ImageModelpublic void setHeight(int height)
setHeight in interface com.liferay.portal.kernel.model.ImageModel@JSON public int getWidth()
getWidth in interface com.liferay.portal.kernel.model.ImageModelpublic void setWidth(int width)
setWidth in interface com.liferay.portal.kernel.model.ImageModel@JSON public int getSize()
getSize in interface com.liferay.portal.kernel.model.ImageModelpublic void setSize(int size)
setSize in interface com.liferay.portal.kernel.model.ImageModelpublic int getOriginalSize()
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.kernel.model.ImageModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.ImageModelsetExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public com.liferay.portal.kernel.model.Image toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>toEscapedModel in interface com.liferay.portal.kernel.model.ImageModeltoEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>clone in interface com.liferay.portal.kernel.model.ImageModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public int compareTo(com.liferay.portal.kernel.model.Image image)
compareTo in interface com.liferay.portal.kernel.model.ImageModelcompareTo in interface Comparable<com.liferay.portal.kernel.model.Image>public int hashCode()
public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>toCacheModel in interface com.liferay.portal.kernel.model.ImageModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Image>public String toString()
public String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Image>toXmlString in interface com.liferay.portal.kernel.model.ImageModel