Compare journal article draft liferay

The base model interface for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class. This interface and its corresponding implementation JournalArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl .

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type Method and Description
java.lang.Object clone ()
int compareTo (JournalArticle journalArticle)
java.lang.String getArticleId ()
Returns the article ID of this journal article. Returns the fully qualified class name of this journal article. Returns the class name ID of this journal article. Returns the class pk of this journal article. Returns the company ID of this journal article. Returns the content of this journal article. Returns the create date of this journal article. Returns the ddm structure key of this journal article. Returns the ddm template key of this journal article. Returns the description of this journal article. Returns the localized description of this journal article in the language.

Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Returns the localized description of this journal article in the language.

Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Returns a map of the locales and localized descriptions of this journal article. Returns the display date of this journal article. Returns the expiration date of this journal article. Returns the folder ID of this journal article. Returns the group ID of this journal article. Returns the ID of this journal article. Returns the indexable of this journal article. Returns the last publish date of this journal article. Returns the layout uuid of this journal article. Returns the modified date of this journal article. Returns the primary key of this journal article. Returns the resource prim key of this journal article. Returns the review date of this journal article. Returns the small image of this journal article. Returns the small image ID of this journal article. Returns the small image url of this journal article. Returns the status of this journal article. Returns the status by user ID of this journal article. Returns the status by user name of this journal article. Returns the status by user uuid of this journal article. Returns the status date of this journal article. Returns the title of this journal article. Returns the localized title of this journal article in the language.

Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Returns the localized title of this journal article in the language.

Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Returns a map of the locales and localized titles of this journal article. Returns the trash entry created when this journal article was moved to the Recycle Bin. Returns the class primary key of the trash entry for this journal article. Deprecated. As of 7.0.0, with no direct replacement Returns the tree path of this journal article. Returns the url title of this journal article. Returns the user ID of this journal article. Returns the user name of this journal article. Returns the user uuid of this journal article. Returns the uuid of this journal article. Returns the version of this journal article. Returns true if this journal article is approved. Returns true if this journal article is denied. Returns true if this journal article is a draft. Returns true if this journal article is expired. Returns true if this journal article is inactive. Returns true if this journal article is incomplete. Returns true if this journal article is indexable. Returns true if this journal article is in the Recycle Bin. Returns true if the parent of this journal article is in the Recycle Bin. Returns true if this journal article is pending. Returns true if this journal article is scheduled. Returns true if this journal article is small image. Sets the article ID of this journal article. Sets the class name ID of this journal article. Sets the class pk of this journal article. Sets the company ID of this journal article. Sets the content of this journal article. Sets the create date of this journal article. Sets the ddm structure key of this journal article. Sets the ddm template key of this journal article. Sets the description of this journal article. Sets the localized description of this journal article in the language. Sets the localized description of this journal article in the language, and sets the default locale.

Sets the localized descriptions of this journal article from the map of locales and localized descriptions.

Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.

Sets the display date of this journal article. Sets the expiration date of this journal article. Sets the folder ID of this journal article. Sets the group ID of this journal article. Sets the ID of this journal article. Sets whether this journal article is indexable. Sets the last publish date of this journal article. Sets the layout uuid of this journal article. Sets the modified date of this journal article. Sets the primary key of this journal article. Sets the resource prim key of this journal article. Sets the review date of this journal article. Sets whether this journal article is small image. Sets the small image ID of this journal article. Sets the small image url of this journal article. Sets the status of this journal article. Sets the status by user ID of this journal article. Sets the status by user name of this journal article. Sets the status by user uuid of this journal article. Sets the status date of this journal article. Sets the title of this journal article. Sets the localized title of this journal article in the language. Sets the localized title of this journal article in the language, and sets the default locale. Sets the localized titles of this journal article from the map of locales and localized titles.

Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.

Sets the tree path of this journal article. Sets the url title of this journal article. Sets the user ID of this journal article. Sets the user name of this journal article. Sets the user uuid of this journal article. Sets the uuid of this journal article. Sets the version of this journal article.

Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this journal article.

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this journal article.

getUuid

@AutoEscape java.lang.String getUuid()
Returns the uuid of this journal article.

setUuid

void setUuid(java.lang.String uuid)
Sets the uuid of this journal article.

getId

long getId()
Returns the ID of this journal article.

setId

void setId(long id)
Sets the ID of this journal article.

getResourcePrimKey

long getResourcePrimKey()
Returns the resource prim key of this journal article.

setResourcePrimKey

void setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article.

isResourceMain

boolean isResourceMain()

getGroupId

long getGroupId()
Returns the group ID of this journal article.

setGroupId

void setGroupId(long groupId)
Sets the group ID of this journal article.

getCompanyId

long getCompanyId()
Returns the company ID of this journal article.

setCompanyId

void setCompanyId(long companyId)
Sets the company ID of this journal article.

getUserId

long getUserId()
Returns the user ID of this journal article.

setUserId

void setUserId(long userId)
Sets the user ID of this journal article.

getUserUuid

java.lang.String getUserUuid()
Returns the user uuid of this journal article.

setUserUuid

void setUserUuid(java.lang.String userUuid)
Sets the user uuid of this journal article.

getUserName

@AutoEscape java.lang.String getUserName()
Returns the user name of this journal article.

setUserName

void setUserName(java.lang.String userName)
Sets the user name of this journal article.

getCreateDate

java.util.Date getCreateDate()
Returns the create date of this journal article.

setCreateDate

void setCreateDate(java.util.Date createDate)
Sets the create date of this journal article.

getModifiedDate

java.util.Date getModifiedDate()
Returns the modified date of this journal article.

setModifiedDate

void setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this journal article.

getFolderId

long getFolderId()
Returns the folder ID of this journal article.

setFolderId

void setFolderId(long folderId)
Sets the folder ID of this journal article.

getClassName

java.lang.String getClassName()
Returns the fully qualified class name of this journal article.

setClassName

void setClassName(java.lang.String className)

getClassNameId

long getClassNameId()
Returns the class name ID of this journal article.

setClassNameId

void setClassNameId(long classNameId)
Sets the class name ID of this journal article.

getClassPK

long getClassPK()
Returns the class pk of this journal article.

setClassPK

void setClassPK(long classPK)
Sets the class pk of this journal article.

getTreePath

@AutoEscape java.lang.String getTreePath()
Returns the tree path of this journal article.

setTreePath

void setTreePath(java.lang.String treePath)
Sets the tree path of this journal article.

getArticleId

@AutoEscape java.lang.String getArticleId()
Returns the article ID of this journal article.

setArticleId

void setArticleId(java.lang.String articleId)
Sets the article ID of this journal article.

getVersion

double getVersion()
Returns the version of this journal article.

setVersion

void setVersion(double version)
Sets the version of this journal article.

getTitle

java.lang.String getTitle()
Returns the title of this journal article.

getTitle

@AutoEscape java.lang.String getTitle(java.util.Locale locale)

Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

getTitle

@AutoEscape java.lang.String getTitle(java.util.Locale locale, boolean useDefault)

Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

getTitle

@AutoEscape java.lang.String getTitle(java.lang.String languageId)

Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

getTitle

@AutoEscape java.lang.String getTitle(java.lang.String languageId, boolean useDefault)

Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

getTitleCurrentLanguageId

@AutoEscape java.lang.String getTitleCurrentLanguageId()

getTitleCurrentValue

@AutoEscape java.lang.String getTitleCurrentValue()

getTitleMap

java.util.Map getTitleMap()
Returns a map of the locales and localized titles of this journal article.

setTitle

void setTitle(java.lang.String title)
Sets the title of this journal article.

setTitle

void setTitle(java.lang.String title, java.util.Locale locale)
Sets the localized title of this journal article in the language.

setTitle

void setTitle(java.lang.String title, java.util.Locale locale, java.util.Locale defaultLocale)
Sets the localized title of this journal article in the language, and sets the default locale.

setTitleCurrentLanguageId

void setTitleCurrentLanguageId(java.lang.String languageId)

setTitleMap

void setTitleMap(java.util.Map titleMap)
Sets the localized titles of this journal article from the map of locales and localized titles.

setTitleMap

void setTitleMap(java.util.Map titleMap, java.util.Locale defaultLocale)

Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.

getUrlTitle

@AutoEscape java.lang.String getUrlTitle()
Returns the url title of this journal article.

setUrlTitle

void setUrlTitle(java.lang.String urlTitle)
Sets the url title of this journal article.

getDescription

java.lang.String getDescription()
Returns the description of this journal article.

getDescription

@AutoEscape java.lang.String getDescription(java.util.Locale locale)

Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

getDescription

@AutoEscape java.lang.String getDescription(java.util.Locale locale, boolean useDefault)

Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

getDescription

@AutoEscape java.lang.String getDescription(java.lang.String languageId)

Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

getDescription

@AutoEscape java.lang.String getDescription(java.lang.String languageId, boolean useDefault)

Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

getDescriptionCurrentLanguageId

@AutoEscape java.lang.String getDescriptionCurrentLanguageId()

getDescriptionCurrentValue

@AutoEscape java.lang.String getDescriptionCurrentValue()

getDescriptionMap

java.util.Map getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal article.

setDescription

void setDescription(java.lang.String description)
Sets the description of this journal article.

setDescription

void setDescription(java.lang.String description, java.util.Locale locale)
Sets the localized description of this journal article in the language.

setDescription

void setDescription(java.lang.String description, java.util.Locale locale, java.util.Locale defaultLocale)
Sets the localized description of this journal article in the language, and sets the default locale.

setDescriptionCurrentLanguageId

void setDescriptionCurrentLanguageId(java.lang.String languageId)

setDescriptionMap

void setDescriptionMap(java.util.Map descriptionMap)

Sets the localized descriptions of this journal article from the map of locales and localized descriptions.

setDescriptionMap

void setDescriptionMap(java.util.Map descriptionMap, java.util.Locale defaultLocale)

Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.

getContent

@AutoEscape java.lang.String getContent()
Returns the content of this journal article.

setContent

void setContent(java.lang.String content)
Sets the content of this journal article.

getDDMStructureKey

@AutoEscape java.lang.String getDDMStructureKey()
Returns the ddm structure key of this journal article.

setDDMStructureKey

void setDDMStructureKey(java.lang.String DDMStructureKey)
Sets the ddm structure key of this journal article.

getDDMTemplateKey

@AutoEscape java.lang.String getDDMTemplateKey()
Returns the ddm template key of this journal article.

setDDMTemplateKey

void setDDMTemplateKey(java.lang.String DDMTemplateKey)
Sets the ddm template key of this journal article.

getLayoutUuid

@AutoEscape java.lang.String getLayoutUuid()
Returns the layout uuid of this journal article.

setLayoutUuid

void setLayoutUuid(java.lang.String layoutUuid)
Sets the layout uuid of this journal article.

getDisplayDate

java.util.Date getDisplayDate()
Returns the display date of this journal article.

setDisplayDate

void setDisplayDate(java.util.Date displayDate)
Sets the display date of this journal article.

getExpirationDate

java.util.Date getExpirationDate()
Returns the expiration date of this journal article.

setExpirationDate

void setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this journal article.

getReviewDate

java.util.Date getReviewDate()
Returns the review date of this journal article.

setReviewDate

void setReviewDate(java.util.Date reviewDate)
Sets the review date of this journal article.

getIndexable

boolean getIndexable()
Returns the indexable of this journal article.

isIndexable

boolean isIndexable()
Returns true if this journal article is indexable.

setIndexable

void setIndexable(boolean indexable)
Sets whether this journal article is indexable.

getSmallImage

boolean getSmallImage()
Returns the small image of this journal article.

isSmallImage

boolean isSmallImage()
Returns true if this journal article is small image.

setSmallImage

void setSmallImage(boolean smallImage)
Sets whether this journal article is small image.

getSmallImageId

long getSmallImageId()
Returns the small image ID of this journal article.

setSmallImageId

void setSmallImageId(long smallImageId)
Sets the small image ID of this journal article.

getSmallImageURL

@AutoEscape java.lang.String getSmallImageURL()
Returns the small image url of this journal article.

setSmallImageURL

void setSmallImageURL(java.lang.String smallImageURL)
Sets the small image url of this journal article.

getLastPublishDate

java.util.Date getLastPublishDate()
Returns the last publish date of this journal article.

setLastPublishDate

void setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this journal article.

getStatus

int getStatus()
Returns the status of this journal article.

setStatus

void setStatus(int status)
Sets the status of this journal article.

getStatusByUserId

long getStatusByUserId()
Returns the status by user ID of this journal article.

setStatusByUserId

void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this journal article.

getStatusByUserUuid

java.lang.String getStatusByUserUuid()
Returns the status by user uuid of this journal article.

setStatusByUserUuid

void setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this journal article.

getStatusByUserName

@AutoEscape java.lang.String getStatusByUserName()
Returns the status by user name of this journal article.

setStatusByUserName

void setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this journal article.

getStatusDate

java.util.Date getStatusDate()
Returns the status date of this journal article.

setStatusDate

void setStatusDate(java.util.Date statusDate)
Sets the status date of this journal article.

getTrashEntry

com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException

Returns the trash entry created when this journal article was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal article.

getTrashEntryClassPK

long getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal article.

getTrashHandler

@Deprecated com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
Deprecated. As of 7.0.0, with no direct replacement Returns the trash handler for this journal article.

isInTrash

boolean isInTrash()
Returns true if this journal article is in the Recycle Bin.

isInTrashContainer

boolean isInTrashContainer()
Returns true if the parent of this journal article is in the Recycle Bin.

isInTrashExplicitly

boolean isInTrashExplicitly()

isInTrashImplicitly

boolean isInTrashImplicitly()

isApproved

boolean isApproved()
Returns true if this journal article is approved.

isDenied

boolean isDenied()
Returns true if this journal article is denied.

isDraft

boolean isDraft()
Returns true if this journal article is a draft.

isExpired

boolean isExpired()
Returns true if this journal article is expired.

isInactive

boolean isInactive()
Returns true if this journal article is inactive.

isIncomplete

boolean isIncomplete()
Returns true if this journal article is incomplete.

isPending

boolean isPending()
Returns true if this journal article is pending.

isScheduled

boolean isScheduled()
Returns true if this journal article is scheduled.

isNew

boolean isNew()

setNew

void setNew(boolean n)

isCachedModel

boolean isCachedModel()

setCachedModel

void setCachedModel(boolean cachedModel)

isEscapedModel

boolean isEscapedModel()

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()

setPrimaryKeyObj

void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)

getExpandoBridge

com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel baseModel)

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)

getAvailableLanguageIds

java.lang.String[] getAvailableLanguageIds()

getDefaultLanguageId

java.lang.String getDefaultLanguageId()

prepareLocalizedFieldsForImport

void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException

prepareLocalizedFieldsForImport

void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException

clone

java.lang.Object clone()

compareTo

int compareTo(JournalArticle journalArticle)

hashCode

int hashCode()

toCacheModel

com.liferay.portal.kernel.model.CacheModelJournalArticle> toCacheModel()

toEscapedModel

JournalArticle toEscapedModel()

toUnescapedModel

JournalArticle toUnescapedModel()

toString

java.lang.String toString()

toXmlString

java.lang.String toXmlString()