|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface ImageModel
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 ImageModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ImageImpl.
Image,
ImageImpl,
ImageModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Image image)
|
long |
getCompanyId()
Returns the company ID of this image. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
int |
getHeight()
Returns the height of this image. |
long |
getImageId()
Returns the image ID of this image. |
Date |
getModifiedDate()
Returns the modified date of this image. |
long |
getMvccVersion()
Returns the mvcc version of this image. |
long |
getPrimaryKey()
Returns the primary key of this image. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getSize()
Returns the size of this image. |
String |
getType()
Returns the type of this image. |
int |
getWidth()
Returns the width of this image. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this image. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this image. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this image. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSize(int size)
Sets the size of this image. |
void |
setType(String type)
Sets the type of this image. |
void |
setWidth(int width)
Sets the width of this image. |
CacheModel<Image> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Image |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Image |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this imagelong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this imagelong getImageId()
void setImageId(long imageId)
imageId - the image ID of this imagelong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this imageDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this image@AutoEscape String getType()
void setType(String type)
type - the type of this imageint getHeight()
void setHeight(int height)
height - the height of this imageint getWidth()
void setWidth(int width)
width - the width of this imageint getSize()
void setSize(int size)
size - the size of this imageboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Image>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Image>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Image>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Image>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Image>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Image>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Image>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Image>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Image>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Image>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Image>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModel
clone in interface BaseModel<Image>int compareTo(Image image)
compareTo in interface Comparable<Image>int hashCode()
hashCode in class ObjectCacheModel<Image> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Image>Image toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Image>AutoEscapeBeanHandlerImage toUnescapedModel()
toUnescapedModel in interface BaseModel<Image>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Image>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||