@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 p k 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 d d m structure key of this journal article.
|
com.liferay.dynamic.data.mapping.model.DDMTemplate |
getDDMTemplate() |
java.lang.String |
getDDMTemplateKey()
Returns the d d m 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 u r l 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 7.0.0, replaced by
getDDMStructureKey() |
java.lang.String |
getTemplateId()
Deprecated.
As of 7.0.0, 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()
Returns the trash handler for this journal article.
|
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 7.0.0, 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 p k 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 d d m structure key of this journal article.
|
void |
setDDMTemplateKey(java.lang.String DDMTemplateKey)
Sets the d d m 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 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(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 7.0.0, replaced by
setDDMStructureKey(String) |
void |
setTemplateId(java.lang.String ddmTemplateKey)
Deprecated.
As of 7.0.0, 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.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 JournalArticle toEscapedModel()
toEscapedModel in interface JournalArticleModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public JournalArticle toUnescapedModel()
toUnescapedModel in interface JournalArticleModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public JournalArticleResource getArticleResource() throws com.liferay.portal.kernel.exception.PortalException
getArticleResource in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic JournalFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException
getFolder in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean getIndexable()
getIndexable in interface JournalArticleModelpublic boolean getSmallImage()
getSmallImage in interface JournalArticleModelpublic boolean hasApprovedVersion()
hasApprovedVersion in interface JournalArticlepublic boolean isApproved()
true if this journal article is approved.isApproved in interface JournalArticleModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is approved; false otherwisepublic boolean isCachedModel()
isCachedModel in interface JournalArticleModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public boolean isDenied()
true if this journal article is denied.isDenied in interface JournalArticleModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is denied; false otherwisepublic boolean isDraft()
true if this journal article is a draft.isDraft in interface JournalArticleModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is a draft; false otherwisepublic boolean isEscapedModel()
isEscapedModel in interface JournalArticleModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public boolean isExpired()
true if this journal article is expired.isExpired in interface JournalArticleModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is expired; false otherwisepublic boolean isInTrash()
true if this journal article is in the Recycle Bin.isInTrash in interface JournalArticleModelisInTrash in interface com.liferay.portal.kernel.model.TrashedModeltrue 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 JournalArticleModelisInTrashContainer in interface com.liferay.portal.kernel.model.TrashedModeltrue if the parent of this journal article is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface JournalArticleModelisInTrashExplicitly in interface com.liferay.portal.kernel.model.TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface JournalArticleModelisInTrashImplicitly in interface com.liferay.portal.kernel.model.TrashedModelpublic boolean isInactive()
true if this journal article is inactive.isInactive in interface JournalArticleModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is inactive; false otherwisepublic boolean isIncomplete()
true if this journal article is incomplete.isIncomplete in interface JournalArticleModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is incomplete; false otherwisepublic boolean isIndexable()
true if this journal article is indexable.isIndexable in interface JournalArticleModeltrue if this journal article is indexable; false otherwisepublic boolean isNew()
isNew in interface JournalArticleModelisNew in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public boolean isPending()
true if this journal article is pending.isPending in interface JournalArticleModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is pending; false otherwisepublic boolean isResourceMain()
isResourceMain in interface JournalArticleModelisResourceMain in interface com.liferay.portal.kernel.model.ResourcedModelpublic boolean isScheduled()
true if this journal article is scheduled.isScheduled in interface JournalArticleModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal article is scheduled; false otherwisepublic boolean isSmallImage()
true if this journal article is small image.isSmallImage in interface JournalArticleModeltrue if this journal article is small image; false otherwise@Deprecated public boolean isTemplateDriven()
isTemplateDriven in interface JournalArticlepublic com.liferay.dynamic.data.mapping.model.DDMStructure getDDMStructure()
throws com.liferay.portal.kernel.exception.PortalException
getDDMStructure in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate()
throws com.liferay.portal.kernel.exception.PortalException
getDDMTemplate in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface JournalArticleModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic com.liferay.portal.kernel.model.CacheModel<JournalArticle> toCacheModel()
toCacheModel in interface JournalArticleModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public com.liferay.portal.kernel.model.Layout getLayout()
getLayout in interface JournalArticlepublic com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
getTrashHandler in interface JournalArticleModelgetTrashHandler in interface com.liferay.portal.kernel.model.TrashedModelpublic com.liferay.portal.kernel.xml.Document getDocument()
getDocument in interface JournalArticlepublic com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry in interface JournalArticleModelgetTrashEntry in interface com.liferay.portal.kernel.model.TrashedModelcom.liferay.portal.kernel.exception.PortalExceptionpublic double getVersion()
getVersion in interface JournalArticleModelpublic int compareTo(JournalArticle journalArticle)
compareTo in interface JournalArticleModelcompareTo in interface java.lang.Comparable<JournalArticle>public int getStatus()
getStatus in interface JournalArticleModelgetStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic int hashCode()
hashCode in interface JournalArticleModelhashCode in class java.lang.Objectpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface JournalArticleModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.TreeModelpublic java.lang.Object clone()
clone in interface JournalArticleModelclone in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic java.lang.String buildTreePath()
throws com.liferay.portal.kernel.exception.PortalException
buildTreePath in interface JournalArticlebuildTreePath in interface com.liferay.portal.kernel.model.TreeModelcom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getArticleId()
getArticleId in interface JournalArticleModelpublic java.lang.String getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getArticleImageURL in interface JournalArticlepublic java.lang.String getArticleResourceUuid()
throws com.liferay.portal.kernel.exception.PortalException
getArticleResourceUuid in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
getClassName in interface JournalArticleModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic java.lang.String getContent()
getContent in interface JournalArticleModelpublic java.lang.String getContentByLocale(java.lang.String languageId)
getContentByLocale in interface JournalArticlepublic java.lang.String getDDMStructureKey()
getDDMStructureKey in interface JournalArticleModelpublic java.lang.String getDDMTemplateKey()
getDDMTemplateKey in interface JournalArticleModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface JournalArticleModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface JournalArticleModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface JournalArticleModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface JournalArticleModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface JournalArticleModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface JournalArticleModellocale - 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 getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface JournalArticleModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface JournalArticleModelpublic java.lang.String getLayoutUuid()
getLayoutUuid in interface JournalArticleModelpublic java.lang.String getSmallImageType()
throws com.liferay.portal.kernel.exception.PortalException
getSmallImageType in interface JournalArticlecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getSmallImageURL()
getSmallImageURL in interface JournalArticleModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface JournalArticleModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface JournalArticleModelgetStatusByUserUuid 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 JournalArticlepublic java.lang.String getTitle()
getTitle in interface JournalArticleModelpublic java.lang.String getTitle(java.lang.String languageId)
getTitle in interface JournalArticleModellanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface JournalArticleModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface JournalArticleModellocale - the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface JournalArticleModellocale - 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 getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface JournalArticleModelpublic java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface JournalArticleModelpublic java.lang.String getTreePath()
getTreePath in interface JournalArticleModelgetTreePath in interface com.liferay.portal.kernel.model.TreeModelpublic java.lang.String getUrlTitle()
getUrlTitle in interface JournalArticleModelpublic java.lang.String getUserName()
getUserName in interface JournalArticleModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface JournalArticleModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface JournalArticleModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String toString()
toString in interface JournalArticleModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface JournalArticleModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface JournalArticleModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.util.Date getCreateDate()
getCreateDate in interface JournalArticleModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getDisplayDate()
getDisplayDate in interface JournalArticleModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface JournalArticleModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface JournalArticleModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface JournalArticleModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getReviewDate()
getReviewDate in interface JournalArticleModelpublic java.util.Date getStatusDate()
getStatusDate in interface JournalArticleModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface JournalArticleModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface JournalArticleModelpublic long getArticleImageId(java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId)
getArticleImageId in interface JournalArticlepublic long getClassNameId()
getClassNameId in interface JournalArticleModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface JournalArticleModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic long getCompanyId()
getCompanyId in interface JournalArticleModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getFolderId()
getFolderId in interface JournalArticleModelpublic long getGroupId()
getGroupId in interface JournalArticleModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getId()
getId in interface JournalArticleModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalArticleModelpublic long getResourcePrimKey()
getResourcePrimKey in interface JournalArticleModelgetResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModelpublic long getSmallImageId()
getSmallImageId in interface JournalArticleModelpublic long getStatusByUserId()
getStatusByUserId in interface JournalArticleModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface JournalArticleModelgetTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelpublic long getUserId()
getUserId in interface JournalArticleModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface JournalArticleModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface JournalArticleModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setArticleId(java.lang.String articleId)
setArticleId in interface JournalArticleModelarticleId - the article ID of this journal articlepublic void setCachedModel(boolean cachedModel)
setCachedModel in interface JournalArticleModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public void setClassName(java.lang.String className)
setClassName in interface JournalArticleModelpublic void setClassNameId(long classNameId)
setClassNameId in interface JournalArticleModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this journal articlepublic void setClassPK(long classPK)
setClassPK in interface JournalArticleModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class p k of this journal articlepublic void setCompanyId(long companyId)
setCompanyId in interface JournalArticleModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this journal articlepublic void setContent(java.lang.String content)
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface JournalArticleModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this journal articlepublic void setDDMStructureKey(java.lang.String DDMStructureKey)
setDDMStructureKey in interface JournalArticleModelDDMStructureKey - the d d m structure key of this journal articlepublic void setDDMTemplateKey(java.lang.String DDMTemplateKey)
setDDMTemplateKey in interface JournalArticleModelDDMTemplateKey - the d d m template key of this journal articlepublic void setDefaultLanguageId(java.lang.String defaultLanguageId)
setDefaultLanguageId in interface JournalArticlepublic void setDescription(java.lang.String description)
setDescription in interface JournalArticleModeldescription - the description of this journal articlepublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface JournalArticleModeldescription - 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 JournalArticleModeldescription - the localized description of this journal articlelocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface JournalArticleModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface JournalArticleModeldescriptionMap - 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 JournalArticleModeldescriptionMap - the locales and localized descriptions of this journal articledefaultLocale - the default localepublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic void setDocument(com.liferay.portal.kernel.xml.Document document)
setDocument in interface JournalArticlepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface JournalArticleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface JournalArticleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface JournalArticleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic void setFolderId(long folderId)
setFolderId in interface JournalArticleModelfolderId - the folder ID of this journal articlepublic void setGroupId(long groupId)
setGroupId in interface JournalArticleModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this journal articlepublic void setId(long id)
setId in interface JournalArticleModelid - the ID of this journal articlepublic void setIndexable(boolean indexable)
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface JournalArticleModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this journal articlepublic void setLayoutUuid(java.lang.String layoutUuid)
setLayoutUuid in interface JournalArticleModellayoutUuid - the layout uuid of this journal articlepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface JournalArticleModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this journal articlepublic void setNew(boolean n)
setNew in interface JournalArticleModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleModelprimaryKey - the primary key of this journal articlepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface JournalArticleModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface JournalArticleModelsetResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModelresourcePrimKey - the resource prim key of this journal articlepublic void setReviewDate(java.util.Date reviewDate)
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic void setSmallImage(boolean smallImage)
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic void setSmallImageId(long smallImageId)
setSmallImageId in interface JournalArticleModelsmallImageId - the small image ID of this journal articlepublic void setSmallImageType(java.lang.String smallImageType)
setSmallImageType in interface JournalArticlepublic void setSmallImageURL(java.lang.String smallImageURL)
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal articlepublic void setStatus(int status)
setStatus in interface JournalArticleModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this journal articlepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface JournalArticleModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this journal articlepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface JournalArticleModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this journal articlepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface JournalArticleModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this journal articlepublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface JournalArticleModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - 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 JournalArticlepublic void setTitle(java.lang.String title)
setTitle in interface JournalArticleModeltitle - the title of this journal articlepublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface JournalArticleModeltitle - 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 JournalArticleModeltitle - the localized title of this journal articlelocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface JournalArticleModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface JournalArticleModeltitleMap - 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 JournalArticleModeltitleMap - the locales and localized titles of this journal articledefaultLocale - the default localepublic void setTreePath(java.lang.String treePath)
setTreePath in interface JournalArticleModeltreePath - the tree path of this journal articlepublic void setUrlTitle(java.lang.String urlTitle)
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic void setUserId(long userId)
setUserId in interface JournalArticleModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this journal articlepublic void setUserName(java.lang.String userName)
setUserName in interface JournalArticleModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this journal articlepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface JournalArticleModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this journal articlepublic void setUuid(java.lang.String uuid)
setUuid in interface JournalArticleModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this journal articlepublic void setVersion(double version)
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic void updateTreePath(java.lang.String treePath)
updateTreePath in interface com.liferay.portal.kernel.model.TreeModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic 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>