|
Liferay 6.0.5 | |||||||||
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
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)
|
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()
Gets 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. |
long |
getPrimaryKey()
Gets the primary key of this journal article image. |
Serializable |
getPrimaryKeyObj()
Gets 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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isTempImage()
Determines whether this journal article image is temp image. |
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 pk)
Sets the primary key of this journal article image |
void |
setTempImage(boolean tempImage)
Sets whether this {$entity.humanName} is temp image. |
void |
setVersion(double version)
Sets the version of this journal article image. |
JournalArticleImage |
toEscapedModel()
Gets a copy of this journal article image as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
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 JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
Method Detail |
---|
public long getPrimaryKey()
JournalArticleImageModel
getPrimaryKey
in interface JournalArticleImageModel
public void setPrimaryKey(long pk)
JournalArticleImageModel
setPrimaryKey
in interface JournalArticleImageModel
pk
- the primary key of this journal article imagepublic long getArticleImageId()
JournalArticleImageModel
getArticleImageId
in interface JournalArticleImageModel
public void setArticleImageId(long articleImageId)
JournalArticleImageModel
setArticleImageId
in interface JournalArticleImageModel
articleImageId
- the article image id of this journal article imagepublic long getGroupId()
JournalArticleImageModel
getGroupId
in interface JournalArticleImageModel
public void setGroupId(long groupId)
JournalArticleImageModel
setGroupId
in interface JournalArticleImageModel
groupId
- the group id of this journal article imagepublic String getArticleId()
JournalArticleImageModel
getArticleId
in interface JournalArticleImageModel
public void setArticleId(String articleId)
JournalArticleImageModel
setArticleId
in interface JournalArticleImageModel
articleId
- the article id of this journal article imagepublic double getVersion()
JournalArticleImageModel
getVersion
in interface JournalArticleImageModel
public void setVersion(double version)
JournalArticleImageModel
setVersion
in interface JournalArticleImageModel
version
- the version of this journal article imagepublic String getElInstanceId()
JournalArticleImageModel
getElInstanceId
in interface JournalArticleImageModel
public void setElInstanceId(String elInstanceId)
JournalArticleImageModel
setElInstanceId
in interface JournalArticleImageModel
elInstanceId
- the el instance id of this journal article imagepublic String getElName()
JournalArticleImageModel
getElName
in interface JournalArticleImageModel
public void setElName(String elName)
JournalArticleImageModel
setElName
in interface JournalArticleImageModel
elName
- the el name of this journal article imagepublic String getLanguageId()
JournalArticleImageModel
getLanguageId
in interface JournalArticleImageModel
public void setLanguageId(String languageId)
JournalArticleImageModel
setLanguageId
in interface JournalArticleImageModel
languageId
- the language id of this journal article imagepublic boolean getTempImage()
JournalArticleImageModel
getTempImage
in interface JournalArticleImageModel
public boolean isTempImage()
JournalArticleImageModel
isTempImage
in interface JournalArticleImageModel
public void setTempImage(boolean tempImage)
JournalArticleImageModel
setTempImage
in interface JournalArticleImageModel
tempImage
- the temp image of this journal article imagepublic JournalArticleImage toEscapedModel()
JournalArticleImageModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface JournalArticleImageModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<JournalArticleImage>
isEscapedModel
in interface JournalArticleImageModel
true
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 JournalArticleImageModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticleImage>
getPrimaryKeyObj
in interface JournalArticleImageModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticleImage>
getExpandoBridge
in interface JournalArticleImageModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleImage>
setExpandoBridgeAttributes
in interface JournalArticleImageModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface JournalArticleImageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticleImage>
toXmlString
in interface JournalArticleImageModel
public JournalArticleImage getWrappedJournalArticleImage()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |