@ProviderType public class JournalArticleWrapper extends java.lang.Object implements JournalArticle, com.liferay.portal.kernel.model.ModelWrapper<JournalArticle>
This class is a wrapper for JournalArticle
.
JournalArticle
,
Serialized FormARTICLE_ID_ACCESSOR, ID_ACCESSOR
Constructor and Description |
---|
JournalArticleWrapper(JournalArticle journalArticle) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildTreePath() |
java.lang.Object |
clone() |
int |
compareTo(JournalArticle journalArticle) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArticleId()
Returns the article ID of this journal article.
|
long |
getArticleImageId(java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId) |
java.lang.String |
getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
JournalArticleResource |
getArticleResource() |
java.lang.String |
getArticleResourceUuid() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this journal article.
|
long |
getClassNameId()
Returns the class name ID of this journal article.
|
long |
getClassPK()
Returns the class pk of this journal article.
|
long |
getCompanyId()
Returns the company ID of this journal article.
|
java.lang.String |
getContent()
Returns the content of this journal article.
|
java.lang.String |
getContentByLocale(java.lang.String languageId) |
java.util.Date |
getCreateDate()
Returns the create date of this journal article.
|
com.liferay.dynamic.data.mapping.model.DDMStructure |
getDDMStructure() |
java.lang.String |
getDDMStructureKey()
Returns the ddm structure key of this journal article.
|
com.liferay.dynamic.data.mapping.model.DDMTemplate |
getDDMTemplate() |
java.lang.String |
getDDMTemplateKey()
Returns the ddm template key of this journal article.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this journal article.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this journal article in the language.
|
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.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this journal article in the language.
|
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.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal article.
|
java.util.Date |
getDisplayDate()
Returns the display date of this journal article.
|
com.liferay.portal.kernel.xml.Document |
getDocument() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpirationDate()
Returns the expiration date of this journal article.
|
JournalFolder |
getFolder() |
long |
getFolderId()
Returns the folder ID of this journal article.
|
long |
getGroupId()
Returns the group ID of this journal article.
|
long |
getId()
Returns the ID of this journal article.
|
boolean |
getIndexable()
Returns the indexable of this journal article.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this journal article.
|
com.liferay.portal.kernel.model.Layout |
getLayout() |
java.lang.String |
getLayoutUuid()
Returns the layout uuid of this journal article.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this journal article.
|
long |
getPrimaryKey()
Returns the primary key of this journal article.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getResourcePrimKey()
Returns the resource prim key of this journal article.
|
java.util.Date |
getReviewDate()
Returns the review date of this journal article.
|
boolean |
getSmallImage()
Returns the small image of this journal article.
|
long |
getSmallImageId()
Returns the small image ID of this journal article.
|
java.lang.String |
getSmallImageType() |
java.lang.String |
getSmallImageURL()
Returns the small image url of this journal article.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this journal article.
|
long |
getStatusByUserId()
Returns the status by user ID of this journal article.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this journal article.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this journal article.
|
java.util.Date |
getStatusDate()
Returns the status date of this journal article.
|
java.lang.String |
getStructureId()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getDDMStructureKey() |
java.lang.String |
getTemplateId()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getDDMTemplateKey() |
java.lang.String |
getTitle()
Returns the title of this journal article.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this journal article in the language.
|
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.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this journal article in the language.
|
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.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this journal article.
|
com.liferay.trash.kernel.model.TrashEntry |
getTrashEntry()
Returns the trash entry created when this journal article was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal article.
|
com.liferay.portal.kernel.trash.TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
java.lang.String |
getTreePath()
Returns the tree path of this journal article.
|
java.lang.String |
getUrlTitle()
Returns the url title of this journal article.
|
long |
getUserId()
Returns the user ID of this journal article.
|
java.lang.String |
getUserName()
Returns the user name of this journal article.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this journal article.
|
java.lang.String |
getUuid()
Returns the uuid of this journal article.
|
double |
getVersion()
Returns the version of this journal article.
|
JournalArticle |
getWrappedModel() |
boolean |
hasApprovedVersion() |
int |
hashCode() |
boolean |
isApproved()
Returns
true if this journal article is approved. |
boolean |
isCachedModel() |
boolean |
isDenied()
Returns
true if this journal article is denied. |
boolean |
isDraft()
Returns
true if this journal article is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isExpired()
Returns
true if this journal article is expired. |
boolean |
isFinderCacheEnabled() |
boolean |
isInactive()
Returns
true if this journal article is inactive. |
boolean |
isIncomplete()
Returns
true if this journal article is incomplete. |
boolean |
isIndexable()
Returns
true if this journal article is indexable. |
boolean |
isInTrash()
Returns
true if this journal article is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this journal article is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isNew() |
boolean |
isPending()
Returns
true if this journal article is pending. |
boolean |
isResourceMain() |
boolean |
isScheduled()
Returns
true if this journal article is scheduled. |
boolean |
isSmallImage()
Returns
true if this journal article is small image. |
boolean |
isTemplateDriven()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setArticleId(java.lang.String articleId)
Sets the article ID of this journal article.
|
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this journal article.
|
void |
setClassPK(long classPK)
Sets the class pk of this journal article.
|
void |
setCompanyId(long companyId)
Sets the company ID of this journal article.
|
void |
setContent(java.lang.String content)
Sets the content of this journal article.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this journal article.
|
void |
setDDMStructureKey(java.lang.String DDMStructureKey)
Sets the ddm structure key of this journal article.
|
void |
setDDMTemplateKey(java.lang.String DDMTemplateKey)
Sets the ddm template key of this journal article.
|
void |
setDefaultLanguageId(java.lang.String defaultLanguageId) |
void |
setDescription(java.lang.String description)
Sets the description of this journal article.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this journal article in the language.
|
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.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this journal article from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> 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.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this journal article.
|
void |
setDocument(com.liferay.portal.kernel.xml.Document document) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this journal article.
|
void |
setFolderId(long folderId)
Sets the folder ID 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 journal article is indexable.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this journal article.
|
void |
setLayoutUuid(java.lang.String layoutUuid)
Sets the layout uuid of this journal article.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this journal article.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal article.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article.
|
void |
setReviewDate(java.util.Date reviewDate)
Sets the review date of this journal article.
|
void |
setSmallImage(boolean smallImage)
Sets whether this journal article is small image.
|
void |
setSmallImageId(long smallImageId)
Sets the small image ID of this journal article.
|
void |
setSmallImageType(java.lang.String smallImageType) |
void |
setSmallImageURL(java.lang.String smallImageURL)
Sets the small image url 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(java.lang.String statusByUserName)
Sets the status by user name of this journal article.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this journal article.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this journal article.
|
void |
setStructureId(java.lang.String ddmStructureKey)
Deprecated.
As of Wilberforce (7.0.x), replaced by
setDDMStructureKey(String) |
void |
setTemplateId(java.lang.String ddmTemplateKey)
Deprecated.
As of Wilberforce (7.0.x), replaced by
setDDMTemplateKey(String) |
void |
setTitle(java.lang.String title)
Sets the title of this journal article.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this journal article in the language.
|
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.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this journal article from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> 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.
|
void |
setTreePath(java.lang.String treePath)
Sets the tree path of this journal article.
|
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this journal article.
|
void |
setUserId(long userId)
Sets the user ID of this journal article.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this journal article.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this journal article.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this journal article.
|
void |
setVersion(double version)
Sets the version of this journal article.
|
com.liferay.portal.kernel.model.CacheModel<JournalArticle> |
toCacheModel() |
JournalArticle |
toEscapedModel() |
java.lang.String |
toString() |
JournalArticle |
toUnescapedModel() |
java.lang.String |
toXmlString() |
void |
updateTreePath(java.lang.String treePath) |
public JournalArticleWrapper(JournalArticle journalArticle)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public java.lang.String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
buildTreePath
in interface JournalArticle
buildTreePath
in interface com.liferay.portal.kernel.model.TreeModel
com.liferay.portal.kernel.exception.PortalException
public java.lang.Object clone()
clone
in interface JournalArticleModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
public int compareTo(JournalArticle journalArticle)
compareTo
in interface JournalArticleModel
compareTo
in interface java.lang.Comparable<JournalArticle>
public java.lang.String getArticleId()
getArticleId
in interface JournalArticleModel
public long getArticleImageId(java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
getArticleImageId
in interface JournalArticle
public java.lang.String getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getArticleImageURL
in interface JournalArticle
public JournalArticleResource getArticleResource() throws com.liferay.portal.kernel.exception.PortalException
getArticleResource
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getArticleResourceUuid() throws com.liferay.portal.kernel.exception.PortalException
getArticleResourceUuid
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface JournalArticleModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getClassName()
getClassName
in interface JournalArticleModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface JournalArticleModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface JournalArticleModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface JournalArticleModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getContent()
getContent
in interface JournalArticleModel
public java.lang.String getContentByLocale(java.lang.String languageId)
getContentByLocale
in interface JournalArticle
public java.util.Date getCreateDate()
getCreateDate
in interface JournalArticleModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public com.liferay.dynamic.data.mapping.model.DDMStructure getDDMStructure() throws com.liferay.portal.kernel.exception.PortalException
getDDMStructure
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getDDMStructureKey()
getDDMStructureKey
in interface JournalArticleModel
public com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate() throws com.liferay.portal.kernel.exception.PortalException
getDDMTemplate
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getDDMTemplateKey()
getDDMTemplateKey
in interface JournalArticleModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDescription()
getDescription
in interface JournalArticleModel
public java.lang.String getDescription(java.util.Locale locale)
getDescription
in interface JournalArticleModel
locale
- the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
getDescription
in interface JournalArticleModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
getDescription
in interface JournalArticleModel
languageId
- the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
getDescription
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface JournalArticleModel
public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface JournalArticleModel
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap
in interface JournalArticleModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface JournalArticleModel
public com.liferay.portal.kernel.xml.Document getDocument()
getDocument
in interface JournalArticle
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface JournalArticleModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface JournalArticleModel
public JournalFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException
getFolder
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public long getFolderId()
getFolderId
in interface JournalArticleModel
public long getGroupId()
getGroupId
in interface JournalArticleModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getId()
getId
in interface JournalArticleModel
public boolean getIndexable()
getIndexable
in interface JournalArticleModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface JournalArticleModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public com.liferay.portal.kernel.model.Layout getLayout()
getLayout
in interface JournalArticle
public java.lang.String getLayoutUuid()
getLayoutUuid
in interface JournalArticleModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface JournalArticleModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getPrimaryKey()
getPrimaryKey
in interface JournalArticleModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface JournalArticleModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.TreeModel
public long getResourcePrimKey()
getResourcePrimKey
in interface JournalArticleModel
getResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
public java.util.Date getReviewDate()
getReviewDate
in interface JournalArticleModel
public boolean getSmallImage()
getSmallImage
in interface JournalArticleModel
public long getSmallImageId()
getSmallImageId
in interface JournalArticleModel
public java.lang.String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException
getSmallImageType
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getSmallImageURL()
getSmallImageURL
in interface JournalArticleModel
public int getStatus()
getStatus
in interface JournalArticleModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface JournalArticleModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface JournalArticleModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface JournalArticleModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface JournalArticleModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
@Deprecated public java.lang.String getStructureId()
getDDMStructureKey()
getStructureId
in interface JournalArticle
@Deprecated public java.lang.String getTemplateId()
getDDMTemplateKey()
getTemplateId
in interface JournalArticle
public java.lang.String getTitle()
getTitle
in interface JournalArticleModel
public java.lang.String getTitle(java.util.Locale locale)
getTitle
in interface JournalArticleModel
locale
- the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
getTitle
in interface JournalArticleModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getTitle(java.lang.String languageId)
getTitle
in interface JournalArticleModel
languageId
- the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
getTitle
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface JournalArticleModel
public java.lang.String getTitleCurrentValue()
getTitleCurrentValue
in interface JournalArticleModel
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap
in interface JournalArticleModel
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry
in interface JournalArticleModel
getTrashEntry
in interface com.liferay.portal.kernel.model.TrashedModel
com.liferay.portal.kernel.exception.PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface JournalArticleModel
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
@Deprecated public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
getTrashHandler
in interface JournalArticleModel
getTrashHandler
in interface com.liferay.portal.kernel.model.TrashedModel
public java.lang.String getTreePath()
getTreePath
in interface JournalArticleModel
getTreePath
in interface com.liferay.portal.kernel.model.TreeModel
public java.lang.String getUrlTitle()
getUrlTitle
in interface JournalArticleModel
public long getUserId()
getUserId
in interface JournalArticleModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface JournalArticleModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface JournalArticleModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface JournalArticleModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public double getVersion()
getVersion
in interface JournalArticleModel
public boolean hasApprovedVersion()
hasApprovedVersion
in interface JournalArticle
public int hashCode()
hashCode
in interface JournalArticleModel
hashCode
in class java.lang.Object
public boolean isApproved()
true
if this journal article is approved.isApproved
in interface JournalArticleModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is approved; false
otherwisepublic boolean isCachedModel()
isCachedModel
in interface JournalArticleModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public boolean isDenied()
true
if this journal article is denied.isDenied
in interface JournalArticleModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is denied; false
otherwisepublic boolean isDraft()
true
if this journal article is a draft.isDraft
in interface JournalArticleModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is a draft; false
otherwisepublic boolean isEscapedModel()
isEscapedModel
in interface JournalArticleModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public boolean isExpired()
true
if this journal article is expired.isExpired
in interface JournalArticleModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is expired; false
otherwisepublic boolean isInactive()
true
if this journal article is inactive.isInactive
in interface JournalArticleModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is inactive; false
otherwisepublic boolean isIncomplete()
true
if this journal article is incomplete.isIncomplete
in interface JournalArticleModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is incomplete; false
otherwisepublic boolean isIndexable()
true
if this journal article is indexable.isIndexable
in interface JournalArticleModel
true
if this journal article is indexable; false
otherwisepublic boolean isInTrash()
true
if this journal article is in the Recycle Bin.isInTrash
in interface JournalArticleModel
isInTrash
in interface com.liferay.portal.kernel.model.TrashedModel
true
if this journal article is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
true
if the parent of this journal article is in the Recycle Bin.isInTrashContainer
in interface JournalArticleModel
isInTrashContainer
in interface com.liferay.portal.kernel.model.TrashedModel
true
if the parent of this journal article is in the Recycle Bin; false
otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly
in interface JournalArticleModel
isInTrashExplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isInTrashImplicitly()
isInTrashImplicitly
in interface JournalArticleModel
isInTrashImplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isNew()
isNew
in interface JournalArticleModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public boolean isPending()
true
if this journal article is pending.isPending
in interface JournalArticleModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is pending; false
otherwisepublic boolean isResourceMain()
isResourceMain
in interface JournalArticleModel
isResourceMain
in interface com.liferay.portal.kernel.model.ResourcedModel
public boolean isScheduled()
true
if this journal article is scheduled.isScheduled
in interface JournalArticleModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this journal article is scheduled; false
otherwisepublic boolean isSmallImage()
true
if this journal article is small image.isSmallImage
in interface JournalArticleModel
true
if this journal article is small image; false
otherwise@Deprecated public boolean isTemplateDriven()
isTemplateDriven
in interface JournalArticle
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setArticleId(java.lang.String articleId)
setArticleId
in interface JournalArticleModel
articleId
- the article ID of this journal articlepublic void setCachedModel(boolean cachedModel)
setCachedModel
in interface JournalArticleModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setClassName(java.lang.String className)
setClassName
in interface JournalArticleModel
public void setClassNameId(long classNameId)
setClassNameId
in interface JournalArticleModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this journal articlepublic void setClassPK(long classPK)
setClassPK
in interface JournalArticleModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this journal articlepublic void setCompanyId(long companyId)
setCompanyId
in interface JournalArticleModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this journal articlepublic void setContent(java.lang.String content)
setContent
in interface JournalArticleModel
content
- the content of this journal articlepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface JournalArticleModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this journal articlepublic void setDDMStructureKey(java.lang.String DDMStructureKey)
setDDMStructureKey
in interface JournalArticleModel
DDMStructureKey
- the ddm structure key of this journal articlepublic void setDDMTemplateKey(java.lang.String DDMTemplateKey)
setDDMTemplateKey
in interface JournalArticleModel
DDMTemplateKey
- the ddm template key of this journal articlepublic void setDefaultLanguageId(java.lang.String defaultLanguageId)
setDefaultLanguageId
in interface JournalArticle
public void setDescription(java.lang.String description)
setDescription
in interface JournalArticleModel
description
- the description of this journal articlepublic void setDescription(java.lang.String description, java.util.Locale locale)
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagepublic void setDescription(java.lang.String description, java.util.Locale locale, java.util.Locale defaultLocale)
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId
in interface JournalArticleModel
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articlepublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Locale defaultLocale)
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articledefaultLocale
- the default localepublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface JournalArticleModel
displayDate
- the display date of this journal articlepublic void setDocument(com.liferay.portal.kernel.xml.Document document)
setDocument
in interface JournalArticle
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface JournalArticleModel
expirationDate
- the expiration date of this journal articlepublic void setFolderId(long folderId)
setFolderId
in interface JournalArticleModel
folderId
- the folder ID of this journal articlepublic void setGroupId(long groupId)
setGroupId
in interface JournalArticleModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this journal articlepublic void setId(long id)
setId
in interface JournalArticleModel
id
- the ID of this journal articlepublic void setIndexable(boolean indexable)
setIndexable
in interface JournalArticleModel
indexable
- the indexable of this journal articlepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface JournalArticleModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this journal articlepublic void setLayoutUuid(java.lang.String layoutUuid)
setLayoutUuid
in interface JournalArticleModel
layoutUuid
- the layout uuid of this journal articlepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface JournalArticleModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this journal articlepublic void setNew(boolean n)
setNew
in interface JournalArticleModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalArticleModel
primaryKey
- the primary key of this journal articlepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface JournalArticleModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey
in interface JournalArticleModel
setResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
resourcePrimKey
- the resource prim key of this journal articlepublic void setReviewDate(java.util.Date reviewDate)
setReviewDate
in interface JournalArticleModel
reviewDate
- the review date of this journal articlepublic void setSmallImage(boolean smallImage)
setSmallImage
in interface JournalArticleModel
smallImage
- the small image of this journal articlepublic void setSmallImageId(long smallImageId)
setSmallImageId
in interface JournalArticleModel
smallImageId
- the small image ID of this journal articlepublic void setSmallImageType(java.lang.String smallImageType)
setSmallImageType
in interface JournalArticle
public void setSmallImageURL(java.lang.String smallImageURL)
setSmallImageURL
in interface JournalArticleModel
smallImageURL
- the small image url of this journal articlepublic void setStatus(int status)
setStatus
in interface JournalArticleModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this journal articlepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface JournalArticleModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this journal articlepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface JournalArticleModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this journal articlepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface JournalArticleModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this journal articlepublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface JournalArticleModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this journal article@Deprecated public void setStructureId(java.lang.String ddmStructureKey)
setDDMStructureKey(String)
setStructureId
in interface JournalArticle
@Deprecated public void setTemplateId(java.lang.String ddmTemplateKey)
setDDMTemplateKey(String)
setTemplateId
in interface JournalArticle
public void setTitle(java.lang.String title)
setTitle
in interface JournalArticleModel
title
- the title of this journal articlepublic void setTitle(java.lang.String title, java.util.Locale locale)
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagepublic void setTitle(java.lang.String title, java.util.Locale locale, java.util.Locale defaultLocale)
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId
in interface JournalArticleModel
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articlepublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Locale defaultLocale)
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articledefaultLocale
- the default localepublic void setTreePath(java.lang.String treePath)
setTreePath
in interface JournalArticleModel
treePath
- the tree path of this journal articlepublic void setUrlTitle(java.lang.String urlTitle)
setUrlTitle
in interface JournalArticleModel
urlTitle
- the url title of this journal articlepublic void setUserId(long userId)
setUserId
in interface JournalArticleModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this journal articlepublic void setUserName(java.lang.String userName)
setUserName
in interface JournalArticleModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this journal articlepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface JournalArticleModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this journal articlepublic void setUuid(java.lang.String uuid)
setUuid
in interface JournalArticleModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this journal articlepublic void setVersion(double version)
setVersion
in interface JournalArticleModel
version
- the version of this journal articlepublic com.liferay.portal.kernel.model.CacheModel<JournalArticle> toCacheModel()
toCacheModel
in interface JournalArticleModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public JournalArticle toEscapedModel()
toEscapedModel
in interface JournalArticleModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public java.lang.String toString()
toString
in interface JournalArticleModel
toString
in class java.lang.Object
public JournalArticle toUnescapedModel()
toUnescapedModel
in interface JournalArticleModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public java.lang.String toXmlString()
toXmlString
in interface JournalArticleModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void updateTreePath(java.lang.String treePath)
updateTreePath
in interface com.liferay.portal.kernel.model.TreeModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public JournalArticle getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<JournalArticle>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>