|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.imagegallery.model.IGImageWrapper
public class IGImageWrapper
This class is a wrapper for IGImage.
IGImage,
Serialized Form| Constructor Summary | |
|---|---|
IGImageWrapper(IGImage igImage)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(IGImage igImage)
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
long |
getCustom1ImageId()
|
long |
getCustom2ImageId()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
IGFolder |
getFolder()
|
long |
getFolderId()
|
long |
getGroupId()
|
long |
getImageId()
|
int |
getImageSize()
|
String |
getImageType()
|
long |
getLargeImageId()
|
Date |
getModifiedDate()
|
String |
getName()
|
String |
getNameWithExtension()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getSmallImageId()
|
long |
getUserId()
|
String |
getUserUuid()
|
String |
getUuid()
|
IGImage |
getWrappedIGImage()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines 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)
|
void |
setCreateDate(Date createDate)
|
void |
setCustom1ImageId(long custom1ImageId)
|
void |
setCustom2ImageId(long custom2ImageId)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFolderId(long folderId)
|
void |
setGroupId(long groupId)
|
void |
setImageId(long imageId)
|
void |
setImageType(String imageType)
|
void |
setLargeImageId(long largeImageId)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setSmallImageId(long smallImageId)
|
void |
setUserId(long userId)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
IGImage |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IGImageWrapper(IGImage igImage)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface IGImageModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface IGImageModelpublic String getUuid()
getUuid in interface IGImageModelpublic void setUuid(String uuid)
setUuid in interface IGImageModelpublic long getImageId()
getImageId in interface IGImageModelpublic void setImageId(long imageId)
setImageId in interface IGImageModelpublic long getGroupId()
getGroupId in interface IGImageModelpublic void setGroupId(long groupId)
setGroupId in interface IGImageModelpublic long getCompanyId()
getCompanyId in interface IGImageModelpublic void setCompanyId(long companyId)
setCompanyId in interface IGImageModelpublic long getUserId()
getUserId in interface IGImageModelpublic void setUserId(long userId)
setUserId in interface IGImageModel
public String getUserUuid()
throws SystemException
getUserUuid in interface IGImageModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface IGImageModelpublic Date getCreateDate()
getCreateDate in interface IGImageModelpublic void setCreateDate(Date createDate)
setCreateDate in interface IGImageModelpublic Date getModifiedDate()
getModifiedDate in interface IGImageModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface IGImageModelpublic long getFolderId()
getFolderId in interface IGImageModelpublic void setFolderId(long folderId)
setFolderId in interface IGImageModelpublic String getName()
getName in interface IGImageModelpublic void setName(String name)
setName in interface IGImageModelpublic String getDescription()
getDescription in interface IGImageModelpublic void setDescription(String description)
setDescription in interface IGImageModelpublic long getSmallImageId()
getSmallImageId in interface IGImageModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface IGImageModelpublic long getLargeImageId()
getLargeImageId in interface IGImageModelpublic void setLargeImageId(long largeImageId)
setLargeImageId in interface IGImageModelpublic long getCustom1ImageId()
getCustom1ImageId in interface IGImageModelpublic void setCustom1ImageId(long custom1ImageId)
setCustom1ImageId in interface IGImageModelpublic long getCustom2ImageId()
getCustom2ImageId in interface IGImageModelpublic void setCustom2ImageId(long custom2ImageId)
setCustom2ImageId in interface IGImageModelpublic IGImage toEscapedModel()
toEscapedModel in interface IGImageModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<IGImage>isNew in interface IGImageModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<IGImage>setNew in interface IGImageModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<IGImage>isCachedModel in interface IGImageModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<IGImage>setCachedModel in interface IGImageModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<IGImage>isEscapedModel in interface IGImageModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<IGImage>setEscapedModel in interface IGImageModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<IGImage>getPrimaryKeyObj in interface IGImageModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<IGImage>getExpandoBridge in interface IGImageModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<IGImage>setExpandoBridgeAttributes in interface IGImageModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<IGImage>clone in interface IGImageModelclone in class Objectpublic int compareTo(IGImage igImage)
compareTo in interface IGImageModelcompareTo in interface Comparable<IGImage>public int hashCode()
hashCode in interface IGImageModelhashCode in class Objectpublic String toString()
toString in interface IGImageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<IGImage>toXmlString in interface IGImageModelpublic IGFolder getFolder()
getFolder in interface IGImagepublic int getImageSize()
getImageSize in interface IGImagepublic String getImageType()
getImageType in interface IGImagepublic String getNameWithExtension()
getNameWithExtension in interface IGImagepublic void setImageType(String imageType)
setImageType in interface IGImagepublic IGImage getWrappedIGImage()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||