|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.model.JournalArticleImageWrapper
public class JournalArticleImageWrapper
This class is a wrapper for JournalArticleImage.
JournalArticleImage,
Serialized Form| Constructor Summary | |
|---|---|
JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticleImage journalArticleImage)
|
String |
getArticleId()
Gets the article ID of this journal article image. |
long |
getArticleImageId()
Gets the article image ID of this journal article image. |
String |
getElInstanceId()
Gets the el instance ID of this journal article image. |
String |
getElName()
Gets the el name of this journal article image. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Gets the group ID of this journal article image. |
String |
getLanguageId()
Gets the language ID of this journal article image. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Gets the primary key of this journal article image. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getTempImage()
Gets the temp image of this journal article image. |
double |
getVersion()
Gets the version of this journal article image. |
JournalArticleImage |
getWrappedJournalArticleImage()
|
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. |
boolean |
isTempImage()
Determines if this journal article image is temp image. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setArticleId(String articleId)
Sets the article ID of this journal article image. |
void |
setArticleImageId(long articleImageId)
Sets the article image ID of this journal article image. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setElInstanceId(String elInstanceId)
Sets the el instance ID of this journal article image. |
void |
setElName(String elName)
Sets the el name of this journal article image. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this journal article image. |
void |
setLanguageId(String languageId)
Sets the language ID of this journal article 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 journal article image |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTempImage(boolean tempImage)
Sets whether this journal article image is temp image. |
void |
setVersion(double version)
Sets the version of this journal article image. |
CacheModel<JournalArticleImage> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalArticleImage |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalArticleImageModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleImageModelprimaryKey - the primary key of this journal article imagepublic long getArticleImageId()
getArticleImageId in interface JournalArticleImageModelpublic void setArticleImageId(long articleImageId)
setArticleImageId in interface JournalArticleImageModelarticleImageId - the article image ID of this journal article imagepublic long getGroupId()
getGroupId in interface JournalArticleImageModelpublic void setGroupId(long groupId)
setGroupId in interface JournalArticleImageModelgroupId - the group ID of this journal article imagepublic String getArticleId()
getArticleId in interface JournalArticleImageModelpublic void setArticleId(String articleId)
setArticleId in interface JournalArticleImageModelarticleId - the article ID of this journal article imagepublic double getVersion()
getVersion in interface JournalArticleImageModelpublic void setVersion(double version)
setVersion in interface JournalArticleImageModelversion - the version of this journal article imagepublic String getElInstanceId()
getElInstanceId in interface JournalArticleImageModelpublic void setElInstanceId(String elInstanceId)
setElInstanceId in interface JournalArticleImageModelelInstanceId - the el instance ID of this journal article imagepublic String getElName()
getElName in interface JournalArticleImageModelpublic void setElName(String elName)
setElName in interface JournalArticleImageModelelName - the el name of this journal article imagepublic String getLanguageId()
getLanguageId in interface JournalArticleImageModelpublic void setLanguageId(String languageId)
setLanguageId in interface JournalArticleImageModellanguageId - the language ID of this journal article imagepublic boolean getTempImage()
getTempImage in interface JournalArticleImageModelpublic boolean isTempImage()
isTempImage in interface JournalArticleImageModeltrue if this journal article image is temp image; false otherwisepublic void setTempImage(boolean tempImage)
setTempImage in interface JournalArticleImageModeltempImage - the temp image of this journal article imagepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<JournalArticleImage>isNew in interface JournalArticleImageModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<JournalArticleImage>setNew in interface JournalArticleImageModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<JournalArticleImage>isCachedModel in interface JournalArticleImageModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<JournalArticleImage>setCachedModel in interface JournalArticleImageModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<JournalArticleImage>isEscapedModel in interface JournalArticleImageModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<JournalArticleImage>setEscapedModel in interface JournalArticleImageModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticleImage>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalArticleImageModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticleImage>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleImageModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticleImage>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleImageModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticleImage>setExpandoBridgeAttributes in interface JournalArticleImageModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<JournalArticleImage>clone in interface JournalArticleImageModelclone in class Objectpublic int compareTo(JournalArticleImage journalArticleImage)
compareTo in interface JournalArticleImageModelcompareTo in interface Comparable<JournalArticleImage>public int hashCode()
hashCode in interface JournalArticleImageModelhashCode in class Objectpublic CacheModel<JournalArticleImage> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticleImage>toCacheModel in interface JournalArticleImageModelpublic JournalArticleImage toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticleImage>toEscapedModel in interface JournalArticleImageModelAutoEscapeBeanHandlerpublic String toString()
toString in interface JournalArticleImageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticleImage>toXmlString in interface JournalArticleImageModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic JournalArticleImage getWrappedJournalArticleImage()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalArticleImage>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||