public class JournalArticleWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalArticle> 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 |
---|---|
com.liferay.portal.kernel.repository.model.Folder |
addImagesFolder() |
java.lang.String |
buildTreePath() |
java.lang.Object |
clone() |
java.lang.String |
getArticleId()
Returns the article ID of this journal article.
|
java.lang.String |
getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
JournalArticleResource |
getArticleResource() |
java.lang.String |
getArticleResourceUuid() |
java.util.Map<java.lang.String,java.util.function.Function<JournalArticle,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<JournalArticle,java.lang.Object>> |
getAttributeSetterBiConsumers() |
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() |
java.lang.String |
getContentByLocale(java.lang.String languageId) |
java.util.Date |
getCreateDate()
Returns the create date of this journal article.
|
long |
getCtCollectionId()
Returns the ct collection ID 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()
Returns the default language ID of this journal article.
|
java.lang.String |
getDescription() |
java.lang.String |
getDescription(java.util.Locale locale) |
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault) |
java.lang.String |
getDescription(java.lang.String languageId) |
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault) |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap() |
java.lang.String |
getDescriptionMapAsXML() |
java.util.Date |
getDisplayDate()
Returns the display date of this journal article.
|
com.liferay.portal.kernel.xml.Document |
getDocument() |
java.util.Date |
getExpirationDate()
Returns the expiration date of this journal article.
|
JournalFolder |
getFolder() |
long |
getFolderId()
Returns the folder ID of this journal article.
|
java.util.Map<java.util.Locale,java.lang.String> |
getFriendlyURLMap() |
java.lang.String |
getFriendlyURLsXML() |
long |
getGroupId()
Returns the group ID of this journal article.
|
long |
getId()
Returns the ID of this journal article.
|
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getImagesFileEntries() |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getImagesFileEntries(int start,
int end) |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getImagesFileEntries(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
int |
getImagesFileEntriesCount() |
long |
getImagesFolderId() |
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.lang.String |
getLegacyDescription()
Deprecated.
As of Judson (7.1.x)
|
java.lang.String |
getLegacyTitle()
Deprecated.
As of Judson (7.1.x)
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this journal article.
|
long |
getMvccVersion()
Returns the mvcc version of this journal article.
|
long |
getPrimaryKey()
Returns the primary key of this journal article.
|
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() |
java.lang.String |
getTitle(java.util.Locale locale) |
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault) |
java.lang.String |
getTitle(java.lang.String languageId) |
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault) |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap() |
java.lang.String |
getTitleMapAsXML() |
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.
|
java.lang.String |
getUrlTitle(java.util.Locale locale) |
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.
|
boolean |
hasApprovedVersion() |
boolean |
isApproved()
Returns
true if this journal article is approved. |
boolean |
isDenied()
Returns
true if this journal article is denied. |
boolean |
isDraft()
Returns
true if this journal article is a draft. |
boolean |
isExpired()
Returns
true if this journal article is expired. |
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 |
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 |
setArticleId(java.lang.String articleId)
Sets the article ID of this journal article.
|
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 |
setCreateDate(java.util.Date createDate)
Sets the create date of this journal article.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID 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)
Sets the default language ID of this journal article.
|
void |
setDescription(java.lang.String description)
Deprecated.
As of Judson (7.1.x)
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap) |
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this journal article.
|
void |
setDocument(com.liferay.portal.kernel.xml.Document document) |
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 |
setImagesFolderId(long imagesFolderId) |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this journal article.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal article.
|
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)
Deprecated.
As of Judson (7.1.x)
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap) |
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.
|
void |
updateTreePath(java.lang.String treePath) |
protected JournalArticleWrapper |
wrap(JournalArticle journalArticle) |
compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public JournalArticleWrapper(JournalArticle journalArticle)
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 com.liferay.portal.kernel.repository.model.Folder addImagesFolder() throws com.liferay.portal.kernel.exception.PortalException
addImagesFolder
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
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 JournalArticle
clone
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalArticle>
public java.lang.String getArticleId()
getArticleId
in interface JournalArticleModel
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 JournalArticle
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 JournalArticle
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 long getCtCollectionId()
getCtCollectionId
in interface JournalArticleModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalArticle>
public com.liferay.dynamic.data.mapping.model.DDMStructure getDDMStructure()
getDDMStructure
in interface JournalArticle
public java.lang.String getDDMStructureKey()
getDDMStructureKey
in interface JournalArticleModel
public com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate()
getDDMTemplate
in interface JournalArticle
public java.lang.String getDDMTemplateKey()
getDDMTemplateKey
in interface JournalArticleModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
public java.lang.String getDescription()
getDescription
in interface JournalArticle
public java.lang.String getDescription(java.util.Locale locale)
getDescription
in interface JournalArticle
public java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
getDescription
in interface JournalArticle
public java.lang.String getDescription(java.lang.String languageId)
getDescription
in interface JournalArticle
public java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
getDescription
in interface JournalArticle
public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface JournalArticle
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap
in interface JournalArticle
public java.lang.String getDescriptionMapAsXML()
getDescriptionMapAsXML
in interface JournalArticle
public java.util.Date getDisplayDate()
getDisplayDate
in interface JournalArticleModel
public com.liferay.portal.kernel.xml.Document getDocument()
getDocument
in interface JournalArticle
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 java.util.Map<java.util.Locale,java.lang.String> getFriendlyURLMap() throws com.liferay.portal.kernel.exception.PortalException
getFriendlyURLMap
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getFriendlyURLsXML() throws com.liferay.portal.kernel.exception.PortalException
getFriendlyURLsXML
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public long getGroupId()
getGroupId
in interface JournalArticleModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getId()
getId
in interface JournalArticleModel
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getImagesFileEntries() throws com.liferay.portal.kernel.exception.PortalException
getImagesFileEntries
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getImagesFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getImagesFileEntries
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getImagesFileEntries(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getImagesFileEntries
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public int getImagesFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
getImagesFileEntriesCount
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
public long getImagesFolderId()
getImagesFolderId
in interface JournalArticle
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
@Deprecated public java.lang.String getLegacyDescription()
getLegacyDescription
in interface JournalArticle
@Deprecated public java.lang.String getLegacyTitle()
getLegacyTitle
in interface JournalArticle
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 getMvccVersion()
getMvccVersion
in interface JournalArticleModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface JournalArticleModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalArticle>
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 JournalArticle
public java.lang.String getTitle(java.util.Locale locale)
getTitle
in interface JournalArticle
public java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
getTitle
in interface JournalArticle
public java.lang.String getTitle(java.lang.String languageId)
getTitle
in interface JournalArticle
public java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
getTitle
in interface JournalArticle
public java.lang.String getTitleCurrentValue()
getTitleCurrentValue
in interface JournalArticle
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap
in interface JournalArticle
public java.lang.String getTitleMapAsXML()
getTitleMapAsXML
in interface JournalArticle
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 java.lang.String getUrlTitle(java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getUrlTitle
in interface JournalArticle
com.liferay.portal.kernel.exception.PortalException
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 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 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 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 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 setArticleId(java.lang.String articleId)
setArticleId
in interface JournalArticleModel
articleId
- the article ID of this journal articlepublic 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 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 setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface JournalArticleModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalArticle>
ctCollectionId
- the ct collection ID 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 JournalArticleModel
defaultLanguageId
- the default language ID of this journal article@Deprecated public void setDescription(java.lang.String description)
setDescription
in interface JournalArticle
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap
in interface JournalArticle
public 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 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 setImagesFolderId(long imagesFolderId)
setImagesFolderId
in interface JournalArticle
public 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 setMvccVersion(long mvccVersion)
setMvccVersion
in interface JournalArticleModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this journal articlepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalArticleModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalArticle>
primaryKey
- the primary key of this journal articlepublic 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
@Deprecated public void setTitle(java.lang.String title)
setTitle
in interface JournalArticle
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap
in interface JournalArticle
public 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 void updateTreePath(java.lang.String treePath)
updateTreePath
in interface com.liferay.portal.kernel.model.TreeModel
public java.util.Map<java.lang.String,java.util.function.Function<JournalArticle,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<JournalArticle,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected JournalArticleWrapper wrap(JournalArticle journalArticle)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalArticle>