|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.model.JournalArticleImageWrapper
@ProviderType public class JournalArticleImageWrapper
This class is a wrapper for JournalArticleImage
.
JournalArticleImage
,
Serialized FormConstructor Summary | |
---|---|
JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticleImage journalArticleImage)
|
boolean |
equals(Object obj)
|
String |
getArticleId()
Returns the article ID of this journal article image. |
long |
getArticleImageId()
Returns the article image ID of this journal article image. |
String |
getElInstanceId()
Returns the el instance ID of this journal article image. |
String |
getElName()
Returns the el name of this journal article image. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this journal article image. |
String |
getLanguageId()
Returns the language ID of this journal article image. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this journal article image. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getTempImage()
Returns the temp image of this journal article image. |
double |
getVersion()
Returns the version of this journal article image. |
JournalArticleImage |
getWrappedJournalArticleImage()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
JournalArticleImage |
getWrappedModel()
|
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()
Returns true 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 |
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
JournalArticleImage |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalArticleImage>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalArticleImage>
public long getPrimaryKey()
getPrimaryKey
in interface JournalArticleImageModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalArticleImageModel
primaryKey
- the primary key of this journal article imagepublic long getArticleImageId()
getArticleImageId
in interface JournalArticleImageModel
public void setArticleImageId(long articleImageId)
setArticleImageId
in interface JournalArticleImageModel
articleImageId
- the article image ID of this journal article imagepublic long getGroupId()
getGroupId
in interface JournalArticleImageModel
public void setGroupId(long groupId)
setGroupId
in interface JournalArticleImageModel
groupId
- the group ID of this journal article imagepublic String getArticleId()
getArticleId
in interface JournalArticleImageModel
public void setArticleId(String articleId)
setArticleId
in interface JournalArticleImageModel
articleId
- the article ID of this journal article imagepublic double getVersion()
getVersion
in interface JournalArticleImageModel
public void setVersion(double version)
setVersion
in interface JournalArticleImageModel
version
- the version of this journal article imagepublic String getElInstanceId()
getElInstanceId
in interface JournalArticleImageModel
public void setElInstanceId(String elInstanceId)
setElInstanceId
in interface JournalArticleImageModel
elInstanceId
- the el instance ID of this journal article imagepublic String getElName()
getElName
in interface JournalArticleImageModel
public void setElName(String elName)
setElName
in interface JournalArticleImageModel
elName
- the el name of this journal article imagepublic String getLanguageId()
getLanguageId
in interface JournalArticleImageModel
public void setLanguageId(String languageId)
setLanguageId
in interface JournalArticleImageModel
languageId
- the language ID of this journal article imagepublic boolean getTempImage()
getTempImage
in interface JournalArticleImageModel
public boolean isTempImage()
true
if this journal article image is temp image.
isTempImage
in interface JournalArticleImageModel
true
if this journal article image is temp image; false
otherwisepublic void setTempImage(boolean tempImage)
setTempImage
in interface JournalArticleImageModel
tempImage
- the temp image of this journal article imagepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalArticleImage>
isNew
in interface JournalArticleImageModel
true
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 JournalArticleImageModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<JournalArticleImage>
isCachedModel
in interface JournalArticleImageModel
true
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 JournalArticleImageModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<JournalArticleImage>
isEscapedModel
in interface JournalArticleImageModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticleImage>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalArticleImageModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalArticleImage>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalArticleImageModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticleImage>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalArticleImageModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleImage>
setExpandoBridgeAttributes
in interface JournalArticleImageModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleImage>
setExpandoBridgeAttributes
in interface JournalArticleImageModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleImage>
setExpandoBridgeAttributes
in interface JournalArticleImageModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticleImage>
clone
in interface JournalArticleImageModel
clone
in class Object
public int compareTo(JournalArticleImage journalArticleImage)
compareTo
in interface JournalArticleImageModel
compareTo
in interface Comparable<JournalArticleImage>
public int hashCode()
hashCode
in interface JournalArticleImageModel
hashCode
in class Object
public CacheModel<JournalArticleImage> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalArticleImage>
toCacheModel
in interface JournalArticleImageModel
public JournalArticleImage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalArticleImage>
toEscapedModel
in interface JournalArticleImageModel
AutoEscapeBeanHandler
public JournalArticleImage toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalArticleImage>
toUnescapedModel
in interface JournalArticleImageModel
public String toString()
toString
in interface JournalArticleImageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticleImage>
toXmlString
in interface JournalArticleImageModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public JournalArticleImage getWrappedJournalArticleImage()
getWrappedModel()
public JournalArticleImage getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalArticleImage>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalArticleImage>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |