|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Image>
com.liferay.portal.model.impl.ImageModelImpl
public class ImageModelImpl
The base model implementation for the Image service. Represents a row in the "Image" database table, with each column mapped to a property of this class.
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.
Never modify or reference this class directly. All methods that expect a image model instance should use the Image interface instead.
ImageImpl,
Image,
ImageModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ImageModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Image image)
|
boolean |
equals(Object obj)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getHeight()
Gets the height of this image. |
long |
getImageId()
Gets the image id of this image. |
Date |
getModifiedDate()
Gets the modified date of this image. |
long |
getPrimaryKey()
Gets the primary key of this image. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getSize()
Gets the size of this image. |
String |
getText()
Gets the text of this image. |
String |
getType()
Gets the type of this image. |
int |
getWidth()
Gets the width of this image. |
int |
hashCode()
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 |
setPrimaryKey(long pk)
Sets the primary key of this image |
void |
setSize(int size)
Sets the size of this image. |
void |
setText(String text)
Sets the text of this image. |
void |
setType(String type)
Sets the type of this image. |
void |
setWidth(int width)
Sets the width of this image. |
Image |
toEscapedModel()
Gets a copy of this image as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Image |
toModel(ImageSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Image> |
toModels(ImageSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ImageModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
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 long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ImageModelImpl()
| Method Detail |
|---|
public static Image toModel(ImageSoap soapModel)
soapModel - the soap model instance to convert
public static List<Image> toModels(ImageSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ImageModel
getPrimaryKey in interface ImageModelpublic void setPrimaryKey(long pk)
ImageModel
setPrimaryKey in interface ImageModelpk - the primary key of this imagepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Image>getPrimaryKeyObj in interface ImageModelpublic long getImageId()
ImageModel
getImageId in interface ImageModelpublic void setImageId(long imageId)
ImageModel
setImageId in interface ImageModelimageId - the image id of this imagepublic Date getModifiedDate()
ImageModel
getModifiedDate in interface ImageModelpublic void setModifiedDate(Date modifiedDate)
ImageModel
setModifiedDate in interface ImageModelmodifiedDate - the modified date of this imagepublic String getText()
ImageModel
getText in interface ImageModelpublic void setText(String text)
ImageModel
setText in interface ImageModeltext - the text of this imagepublic String getType()
ImageModel
getType in interface ImageModelpublic void setType(String type)
ImageModel
setType in interface ImageModeltype - the type of this imagepublic int getHeight()
ImageModel
getHeight in interface ImageModelpublic void setHeight(int height)
ImageModel
setHeight in interface ImageModelheight - the height of this imagepublic int getWidth()
ImageModel
getWidth in interface ImageModelpublic void setWidth(int width)
ImageModel
setWidth in interface ImageModelwidth - the width of this imagepublic int getSize()
ImageModel
getSize in interface ImageModelpublic void setSize(int size)
ImageModel
setSize in interface ImageModelsize - the size of this imagepublic Image toEscapedModel()
ImageModelAutoEscapeBeanHandler.
toEscapedModel in interface ImageModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Image>getExpandoBridge in interface ImageModelgetExpandoBridge in class BaseModelImpl<Image>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Image>setExpandoBridgeAttributes in interface ImageModelsetExpandoBridgeAttributes in class BaseModelImpl<Image>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Image>clone in interface ImageModelclone in class BaseModelImpl<Image>public int compareTo(Image image)
compareTo in interface ImageModelcompareTo in interface Comparable<Image>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ImageModelhashCode in class Objectpublic String toString()
toString in interface ImageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Image>toXmlString in interface ImageModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||