Liferay 6.0.5

com.liferay.portlet.journal.model
Class JournalArticleWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalArticleWrapper
All Implemented Interfaces:
BaseModel<JournalArticle>, JournalArticle, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>

public class JournalArticleWrapper
extends Object
implements JournalArticle

This class is a wrapper for JournalArticle.

See Also:
JournalArticle, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
JournalArticleWrapper(JournalArticle journalArticle)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticle journalArticle)
           
 String getArticleId()
          Gets the article id of this journal article.
 String[] getAvailableLocales()
           
 long getCompanyId()
          Gets the company id of this journal article.
 String getContent()
          Gets the content of this journal article.
 String getContentByLocale(String languageId)
           
 Date getCreateDate()
          Gets the create date of this journal article.
 String getDefaultLocale()
           
 String getDescription()
          Gets the description of this journal article.
 Date getDisplayDate()
          Gets the display date of this journal article.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
          Gets the expiration date of this journal article.
 long getGroupId()
          Gets the group id of this journal article.
 long getId()
          Gets the id of this journal article.
 boolean getIndexable()
          Gets the indexable of this journal article.
 Date getModifiedDate()
          Gets the modified date of this journal article.
 long getPrimaryKey()
          Gets the primary key of this journal article.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getResourcePrimKey()
          Gets the resource prim key of this journal article.
 Date getReviewDate()
          Gets the review date of this journal article.
 boolean getSmallImage()
          Gets the small image of this journal article.
 long getSmallImageId()
          Gets the small image id of this journal article.
 String getSmallImageType()
           
 String getSmallImageURL()
          Gets the small image u r l of this journal article.
 int getStatus()
          Gets the status of this journal article.
 long getStatusByUserId()
          Gets the status by user id of this journal article.
 String getStatusByUserName()
          Gets the status by user name of this journal article.
 String getStatusByUserUuid()
          Gets the status by user uuid of this journal article.
 Date getStatusDate()
          Gets the status date of this journal article.
 String getStructureId()
          Gets the structure id of this journal article.
 String getTemplateId()
          Gets the template id of this journal article.
 String getTitle()
          Gets the title of this journal article.
 String getType()
          Gets the type of this journal article.
 String getUrlTitle()
          Gets the url title of this journal article.
 long getUserId()
          Gets the user id of this journal article.
 String getUserName()
          Gets the user name of this journal article.
 String getUserUuid()
          Gets the user uuid of this journal article.
 String getUuid()
          Gets the uuid of this journal article.
 double getVersion()
          Gets the version of this journal article.
 JournalArticle getWrappedJournalArticle()
           
 int hashCode()
           
 boolean isApproved()
          Determines whether this journal article is approved.
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
          Determines whether this journal article is a draft.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isExpired()
          Determines whether this journal article is expired.
 boolean isIndexable()
          Determines whether this journal article is indexable.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
          Determines whether this journal article is pending.
 boolean isSmallImage()
          Determines whether this journal article is small image.
 boolean isTemplateDriven()
           
 void setArticleId(String articleId)
          Sets the article id of this journal article.
 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 journal article.
 void setContent(String content)
          Sets the content of this journal article.
 void setCreateDate(Date createDate)
          Sets the create date of this journal article.
 void setDescription(String description)
          Sets the description of this journal article.
 void setDisplayDate(Date displayDate)
          Sets the display date of this journal article.
 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 setExpirationDate(Date expirationDate)
          Sets the expiration date of this journal article.
 void setGroupId(long groupId)
          Sets the group id of this journal article.
 void setId(long id)
          Sets the id of this journal article.
 void setIndexable(boolean indexable)
          Sets whether this {$entity.humanName} is indexable.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal article.
 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
 void setResourcePrimKey(long resourcePrimKey)
          Sets the resource prim key of this journal article.
 void setReviewDate(Date reviewDate)
          Sets the review date of this journal article.
 void setSmallImage(boolean smallImage)
          Sets whether this {$entity.humanName} is small image.
 void setSmallImageId(long smallImageId)
          Sets the small image id of this journal article.
 void setSmallImageType(String smallImageType)
           
 void setSmallImageURL(String smallImageURL)
          Sets the small image u r l of this journal article.
 void setStatus(int status)
          Sets the status of this journal article.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user id of this journal article.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this journal article.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this journal article.
 void setStatusDate(Date statusDate)
          Sets the status date of this journal article.
 void setStructureId(String structureId)
          Sets the structure id of this journal article.
 void setTemplateId(String templateId)
          Sets the template id of this journal article.
 void setTitle(String title)
          Sets the title of this journal article.
 void setType(String type)
          Sets the type of this journal article.
 void setUrlTitle(String urlTitle)
          Sets the url title of this journal article.
 void setUserId(long userId)
          Sets the user id of this journal article.
 void setUserName(String userName)
          Sets the user name of this journal article.
 void setUserUuid(String userUuid)
          Sets the user uuid of this journal article.
 void setUuid(String uuid)
          Sets the uuid of this journal article.
 void setVersion(double version)
          Sets the version of this journal article.
 JournalArticle toEscapedModel()
          Gets a copy of this journal article 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

JournalArticleWrapper

public JournalArticleWrapper(JournalArticle journalArticle)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalArticleModel
Gets the primary key of this journal article.

Specified by:
getPrimaryKey in interface JournalArticleModel
Returns:
the primary key of this journal article

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: JournalArticleModel
Sets the primary key of this journal article

Specified by:
setPrimaryKey in interface JournalArticleModel
Parameters:
pk - the primary key of this journal article

getUuid

public String getUuid()
Description copied from interface: JournalArticleModel
Gets the uuid of this journal article.

Specified by:
getUuid in interface JournalArticleModel
Returns:
the uuid of this journal article

setUuid

public void setUuid(String uuid)
Description copied from interface: JournalArticleModel
Sets the uuid of this journal article.

Specified by:
setUuid in interface JournalArticleModel
Parameters:
uuid - the uuid of this journal article

getId

public long getId()
Description copied from interface: JournalArticleModel
Gets the id of this journal article.

Specified by:
getId in interface JournalArticleModel
Returns:
the id of this journal article

setId

public void setId(long id)
Description copied from interface: JournalArticleModel
Sets the id of this journal article.

Specified by:
setId in interface JournalArticleModel
Parameters:
id - the id of this journal article

getResourcePrimKey

public long getResourcePrimKey()
Description copied from interface: JournalArticleModel
Gets the resource prim key of this journal article.

Specified by:
getResourcePrimKey in interface JournalArticleModel
Returns:
the resource prim key of this journal article

setResourcePrimKey

public void setResourcePrimKey(long resourcePrimKey)
Description copied from interface: JournalArticleModel
Sets the resource prim key of this journal article.

Specified by:
setResourcePrimKey in interface JournalArticleModel
Parameters:
resourcePrimKey - the resource prim key of this journal article

getGroupId

public long getGroupId()
Description copied from interface: JournalArticleModel
Gets the group id of this journal article.

Specified by:
getGroupId in interface JournalArticleModel
Returns:
the group id of this journal article

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalArticleModel
Sets the group id of this journal article.

Specified by:
setGroupId in interface JournalArticleModel
Parameters:
groupId - the group id of this journal article

getCompanyId

public long getCompanyId()
Description copied from interface: JournalArticleModel
Gets the company id of this journal article.

Specified by:
getCompanyId in interface JournalArticleModel
Returns:
the company id of this journal article

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: JournalArticleModel
Sets the company id of this journal article.

Specified by:
setCompanyId in interface JournalArticleModel
Parameters:
companyId - the company id of this journal article

getUserId

public long getUserId()
Description copied from interface: JournalArticleModel
Gets the user id of this journal article.

Specified by:
getUserId in interface JournalArticleModel
Returns:
the user id of this journal article

setUserId

public void setUserId(long userId)
Description copied from interface: JournalArticleModel
Sets the user id of this journal article.

Specified by:
setUserId in interface JournalArticleModel
Parameters:
userId - the user id of this journal article

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: JournalArticleModel
Gets the user uuid of this journal article.

Specified by:
getUserUuid in interface JournalArticleModel
Returns:
the user uuid of this journal article
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: JournalArticleModel
Sets the user uuid of this journal article.

Specified by:
setUserUuid in interface JournalArticleModel
Parameters:
userUuid - the user uuid of this journal article

getUserName

public String getUserName()
Description copied from interface: JournalArticleModel
Gets the user name of this journal article.

Specified by:
getUserName in interface JournalArticleModel
Returns:
the user name of this journal article

setUserName

public void setUserName(String userName)
Description copied from interface: JournalArticleModel
Sets the user name of this journal article.

Specified by:
setUserName in interface JournalArticleModel
Parameters:
userName - the user name of this journal article

getCreateDate

public Date getCreateDate()
Description copied from interface: JournalArticleModel
Gets the create date of this journal article.

Specified by:
getCreateDate in interface JournalArticleModel
Returns:
the create date of this journal article

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: JournalArticleModel
Sets the create date of this journal article.

Specified by:
setCreateDate in interface JournalArticleModel
Parameters:
createDate - the create date of this journal article

getModifiedDate

public Date getModifiedDate()
Description copied from interface: JournalArticleModel
Gets the modified date of this journal article.

Specified by:
getModifiedDate in interface JournalArticleModel
Returns:
the modified date of this journal article

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: JournalArticleModel
Sets the modified date of this journal article.

Specified by:
setModifiedDate in interface JournalArticleModel
Parameters:
modifiedDate - the modified date of this journal article

getArticleId

public String getArticleId()
Description copied from interface: JournalArticleModel
Gets the article id of this journal article.

Specified by:
getArticleId in interface JournalArticleModel
Returns:
the article id of this journal article

setArticleId

public void setArticleId(String articleId)
Description copied from interface: JournalArticleModel
Sets the article id of this journal article.

Specified by:
setArticleId in interface JournalArticleModel
Parameters:
articleId - the article id of this journal article

getVersion

public double getVersion()
Description copied from interface: JournalArticleModel
Gets the version of this journal article.

Specified by:
getVersion in interface JournalArticleModel
Returns:
the version of this journal article

setVersion

public void setVersion(double version)
Description copied from interface: JournalArticleModel
Sets the version of this journal article.

Specified by:
setVersion in interface JournalArticleModel
Parameters:
version - the version of this journal article

getTitle

public String getTitle()
Description copied from interface: JournalArticleModel
Gets the title of this journal article.

Specified by:
getTitle in interface JournalArticleModel
Returns:
the title of this journal article

setTitle

public void setTitle(String title)
Description copied from interface: JournalArticleModel
Sets the title of this journal article.

Specified by:
setTitle in interface JournalArticleModel
Parameters:
title - the title of this journal article

getUrlTitle

public String getUrlTitle()
Description copied from interface: JournalArticleModel
Gets the url title of this journal article.

Specified by:
getUrlTitle in interface JournalArticleModel
Returns:
the url title of this journal article

setUrlTitle

public void setUrlTitle(String urlTitle)
Description copied from interface: JournalArticleModel
Sets the url title of this journal article.

Specified by:
setUrlTitle in interface JournalArticleModel
Parameters:
urlTitle - the url title of this journal article

getDescription

public String getDescription()
Description copied from interface: JournalArticleModel
Gets the description of this journal article.

Specified by:
getDescription in interface JournalArticleModel
Returns:
the description of this journal article

setDescription

public void setDescription(String description)
Description copied from interface: JournalArticleModel
Sets the description of this journal article.

Specified by:
setDescription in interface JournalArticleModel
Parameters:
description - the description of this journal article

getContent

public String getContent()
Description copied from interface: JournalArticleModel
Gets the content of this journal article.

Specified by:
getContent in interface JournalArticleModel
Returns:
the content of this journal article

setContent

public void setContent(String content)
Description copied from interface: JournalArticleModel
Sets the content of this journal article.

Specified by:
setContent in interface JournalArticleModel
Parameters:
content - the content of this journal article

getType

public String getType()
Description copied from interface: JournalArticleModel
Gets the type of this journal article.

Specified by:
getType in interface JournalArticleModel
Returns:
the type of this journal article

setType

public void setType(String type)
Description copied from interface: JournalArticleModel
Sets the type of this journal article.

Specified by:
setType in interface JournalArticleModel
Parameters:
type - the type of this journal article

getStructureId

public String getStructureId()
Description copied from interface: JournalArticleModel
Gets the structure id of this journal article.

Specified by:
getStructureId in interface JournalArticleModel
Returns:
the structure id of this journal article

setStructureId

public void setStructureId(String structureId)
Description copied from interface: JournalArticleModel
Sets the structure id of this journal article.

Specified by:
setStructureId in interface JournalArticleModel
Parameters:
structureId - the structure id of this journal article

getTemplateId

public String getTemplateId()
Description copied from interface: JournalArticleModel
Gets the template id of this journal article.

Specified by:
getTemplateId in interface JournalArticleModel
Returns:
the template id of this journal article

setTemplateId

public void setTemplateId(String templateId)
Description copied from interface: JournalArticleModel
Sets the template id of this journal article.

Specified by:
setTemplateId in interface JournalArticleModel
Parameters:
templateId - the template id of this journal article

getDisplayDate

public Date getDisplayDate()
Description copied from interface: JournalArticleModel
Gets the display date of this journal article.

Specified by:
getDisplayDate in interface JournalArticleModel
Returns:
the display date of this journal article

setDisplayDate

public void setDisplayDate(Date displayDate)
Description copied from interface: JournalArticleModel
Sets the display date of this journal article.

Specified by:
setDisplayDate in interface JournalArticleModel
Parameters:
displayDate - the display date of this journal article

getExpirationDate

public Date getExpirationDate()
Description copied from interface: JournalArticleModel
Gets the expiration date of this journal article.

Specified by:
getExpirationDate in interface JournalArticleModel
Returns:
the expiration date of this journal article

setExpirationDate

public void setExpirationDate(Date expirationDate)
Description copied from interface: JournalArticleModel
Sets the expiration date of this journal article.

Specified by:
setExpirationDate in interface JournalArticleModel
Parameters:
expirationDate - the expiration date of this journal article

getReviewDate

public Date getReviewDate()
Description copied from interface: JournalArticleModel
Gets the review date of this journal article.

Specified by:
getReviewDate in interface JournalArticleModel
Returns:
the review date of this journal article

setReviewDate

public void setReviewDate(Date reviewDate)
Description copied from interface: JournalArticleModel
Sets the review date of this journal article.

Specified by:
setReviewDate in interface JournalArticleModel
Parameters:
reviewDate - the review date of this journal article

getIndexable

public boolean getIndexable()
Description copied from interface: JournalArticleModel
Gets the indexable of this journal article.

Specified by:
getIndexable in interface JournalArticleModel
Returns:
the indexable of this journal article

isIndexable

public boolean isIndexable()
Description copied from interface: JournalArticleModel
Determines whether this journal article is indexable.

Specified by:
isIndexable in interface JournalArticleModel
Returns:
whether this journal article is indexable

setIndexable

public void setIndexable(boolean indexable)
Description copied from interface: JournalArticleModel
Sets whether this {$entity.humanName} is indexable.

Specified by:
setIndexable in interface JournalArticleModel
Parameters:
indexable - the indexable of this journal article

getSmallImage

public boolean getSmallImage()
Description copied from interface: JournalArticleModel
Gets the small image of this journal article.

Specified by:
getSmallImage in interface JournalArticleModel
Returns:
the small image of this journal article

isSmallImage

public boolean isSmallImage()
Description copied from interface: JournalArticleModel
Determines whether this journal article is small image.

Specified by:
isSmallImage in interface JournalArticleModel
Returns:
whether this journal article is small image

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: JournalArticleModel
Sets whether this {$entity.humanName} is small image.

Specified by:
setSmallImage in interface JournalArticleModel
Parameters:
smallImage - the small image of this journal article

getSmallImageId

public long getSmallImageId()
Description copied from interface: JournalArticleModel
Gets the small image id of this journal article.

Specified by:
getSmallImageId in interface JournalArticleModel
Returns:
the small image id of this journal article

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: JournalArticleModel
Sets the small image id of this journal article.

Specified by:
setSmallImageId in interface JournalArticleModel
Parameters:
smallImageId - the small image id of this journal article

getSmallImageURL

public String getSmallImageURL()
Description copied from interface: JournalArticleModel
Gets the small image u r l of this journal article.

Specified by:
getSmallImageURL in interface JournalArticleModel
Returns:
the small image u r l of this journal article

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Description copied from interface: JournalArticleModel
Sets the small image u r l of this journal article.

Specified by:
setSmallImageURL in interface JournalArticleModel
Parameters:
smallImageURL - the small image u r l of this journal article

getStatus

public int getStatus()
Description copied from interface: JournalArticleModel
Gets the status of this journal article.

Specified by:
getStatus in interface JournalArticleModel
Returns:
the status of this journal article

setStatus

public void setStatus(int status)
Description copied from interface: JournalArticleModel
Sets the status of this journal article.

Specified by:
setStatus in interface JournalArticleModel
Parameters:
status - the status of this journal article

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: JournalArticleModel
Gets the status by user id of this journal article.

Specified by:
getStatusByUserId in interface JournalArticleModel
Returns:
the status by user id of this journal article

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: JournalArticleModel
Sets the status by user id of this journal article.

Specified by:
setStatusByUserId in interface JournalArticleModel
Parameters:
statusByUserId - the status by user id of this journal article

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: JournalArticleModel
Gets the status by user uuid of this journal article.

Specified by:
getStatusByUserUuid in interface JournalArticleModel
Returns:
the status by user uuid of this journal article
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: JournalArticleModel
Sets the status by user uuid of this journal article.

Specified by:
setStatusByUserUuid in interface JournalArticleModel
Parameters:
statusByUserUuid - the status by user uuid of this journal article

getStatusByUserName

public String getStatusByUserName()
Description copied from interface: JournalArticleModel
Gets the status by user name of this journal article.

Specified by:
getStatusByUserName in interface JournalArticleModel
Returns:
the status by user name of this journal article

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: JournalArticleModel
Sets the status by user name of this journal article.

Specified by:
setStatusByUserName in interface JournalArticleModel
Parameters:
statusByUserName - the status by user name of this journal article

getStatusDate

public Date getStatusDate()
Description copied from interface: JournalArticleModel
Gets the status date of this journal article.

Specified by:
getStatusDate in interface JournalArticleModel
Returns:
the status date of this journal article

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: JournalArticleModel
Sets the status date of this journal article.

Specified by:
setStatusDate in interface JournalArticleModel
Parameters:
statusDate - the status date of this journal article

isApproved

public boolean isApproved()
Description copied from interface: JournalArticleModel
Determines whether this journal article is approved.

Specified by:
isApproved in interface JournalArticleModel
Returns:
true if this journal article is approved; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: JournalArticleModel
Determines whether this journal article is a draft.

Specified by:
isDraft in interface JournalArticleModel
Returns:
true if this journal article is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: JournalArticleModel
Determines whether this journal article is expired.

Specified by:
isExpired in interface JournalArticleModel
Returns:
true if this journal article is expired; false otherwise

isPending

public boolean isPending()
Description copied from interface: JournalArticleModel
Determines whether this journal article is pending.

Specified by:
isPending in interface JournalArticleModel
Returns:
true if this journal article is pending; false otherwise

toEscapedModel

public JournalArticle toEscapedModel()
Description copied from interface: JournalArticleModel
Gets a copy of this journal article as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalArticleModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalArticle>
Specified by:
isNew in interface JournalArticleModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalArticle>
Specified by:
setNew in interface JournalArticleModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalArticle>
Specified by:
isCachedModel in interface JournalArticleModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalArticle>
Specified by:
setCachedModel in interface JournalArticleModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalArticle>
Specified by:
isEscapedModel in interface JournalArticleModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalArticle>
Specified by:
setEscapedModel in interface JournalArticleModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalArticle>
Specified by:
getPrimaryKeyObj in interface JournalArticleModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalArticle>
Specified by:
getExpandoBridge in interface JournalArticleModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalArticle>
Specified by:
clone in interface JournalArticleModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(JournalArticle journalArticle)
Specified by:
compareTo in interface JournalArticleModel
Specified by:
compareTo in interface Comparable<JournalArticle>

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalArticleModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface JournalArticleModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalArticle>
Specified by:
toXmlString in interface JournalArticleModel
Returns:
the XML representation of this model instance

getAvailableLocales

public String[] getAvailableLocales()
Specified by:
getAvailableLocales in interface JournalArticle

getContentByLocale

public String getContentByLocale(String languageId)
Specified by:
getContentByLocale in interface JournalArticle

getDefaultLocale

public String getDefaultLocale()
Specified by:
getDefaultLocale in interface JournalArticle

getSmallImageType

public String getSmallImageType()
                         throws PortalException,
                                SystemException
Specified by:
getSmallImageType in interface JournalArticle
Throws:
PortalException
SystemException

isTemplateDriven

public boolean isTemplateDriven()
Specified by:
isTemplateDriven in interface JournalArticle

setSmallImageType

public void setSmallImageType(String smallImageType)
Specified by:
setSmallImageType in interface JournalArticle

getWrappedJournalArticle

public JournalArticle getWrappedJournalArticle()

Liferay 6.0.5