@ProviderType public interface JournalArticleModel extends AttachedModel, BaseModel<JournalArticle>, CTModel<JournalArticle>, MVCCModel, ResourcedModel, ShardedModel, StagedGroupedModel, TrashedModel, WorkflowedModel
This interface and its corresponding implementation com.liferay.journal.model.impl.JournalArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.journal.model.impl.JournalArticleImpl.
JournalArticle| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArticleId()
Returns the article ID of this journal article.
|
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.util.Date |
getCreateDate()
Returns the create date of this journal article.
|
long |
getCtCollectionId()
Returns the ct collection ID of this journal article.
|
java.lang.String |
getDDMStructureKey()
Returns the ddm structure key of this journal article.
|
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.util.Date |
getDisplayDate()
Returns the display date of this journal article.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this journal article.
|
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.
|
java.lang.String |
getLayoutUuid()
Returns the layout uuid of this journal article.
|
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 |
getSmallImageURL()
Returns the small image url of this journal article.
|
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.
|
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.
|
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.
|
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. |
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 |
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 |
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 |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this journal article.
|
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 |
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclone, getStagedModelTypelong getPrimaryKey()
getPrimaryKey in interface CTModel<JournalArticle>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<JournalArticle>primaryKey - the primary key of this journal articlelong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this journal articlelong getCtCollectionId()
getCtCollectionId in interface CTModel<JournalArticle>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<JournalArticle>ctCollectionId - the ct collection ID of this journal article@AutoEscape java.lang.String getUuid()
getUuid in interface StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface StagedModeluuid - the uuid of this journal articlelong getId()
void setId(long id)
id - the ID of this journal articlelong getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelvoid setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface ResourcedModelresourcePrimKey - the resource prim key of this journal articleboolean isResourceMain()
isResourceMain in interface ResourcedModellong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this journal articlelong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this journal articlelong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this journal articlejava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this journal article@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this journal articlejava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this journal articlejava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this journal articlelong getFolderId()
void setFolderId(long folderId)
folderId - the folder ID of this journal articlejava.lang.String getClassName()
getClassName in interface TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this journal articlelong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class pk of this journal article@AutoEscape java.lang.String getTreePath()
void setTreePath(java.lang.String treePath)
treePath - the tree path of this journal article@AutoEscape java.lang.String getArticleId()
void setArticleId(java.lang.String articleId)
articleId - the article ID of this journal articledouble getVersion()
void setVersion(double version)
version - the version of this journal article@AutoEscape java.lang.String getUrlTitle()
void setUrlTitle(java.lang.String urlTitle)
urlTitle - the url title of this journal article@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this journal article@AutoEscape java.lang.String getDDMStructureKey()
void setDDMStructureKey(java.lang.String DDMStructureKey)
DDMStructureKey - the ddm structure key of this journal article@AutoEscape java.lang.String getDDMTemplateKey()
void setDDMTemplateKey(java.lang.String DDMTemplateKey)
DDMTemplateKey - the ddm template key of this journal article@AutoEscape java.lang.String getDefaultLanguageId()
void setDefaultLanguageId(java.lang.String defaultLanguageId)
defaultLanguageId - the default language ID of this journal article@AutoEscape java.lang.String getLayoutUuid()
void setLayoutUuid(java.lang.String layoutUuid)
layoutUuid - the layout uuid of this journal articlejava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate - the display date of this journal articlejava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration date of this journal articlejava.util.Date getReviewDate()
void setReviewDate(java.util.Date reviewDate)
reviewDate - the review date of this journal articleboolean getIndexable()
boolean isIndexable()
true if this journal article is indexable.true if this journal article is indexable; false otherwisevoid setIndexable(boolean indexable)
indexable - the indexable of this journal articleboolean getSmallImage()
boolean isSmallImage()
true if this journal article is small image.true if this journal article is small image; false otherwisevoid setSmallImage(boolean smallImage)
smallImage - the small image of this journal articlelong getSmallImageId()
void setSmallImageId(long smallImageId)
smallImageId - the small image ID of this journal article@AutoEscape java.lang.String getSmallImageURL()
void setSmallImageURL(java.lang.String smallImageURL)
smallImageURL - the small image url of this journal articlejava.util.Date getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this journal articleint getStatus()
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this journal articlelong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this journal articlejava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this journal article@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this journal articlejava.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this journal articleTrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface TrashedModelPortalExceptionlong getTrashEntryClassPK()
getTrashEntryClassPK in interface TrashedModel@Deprecated TrashHandler getTrashHandler()
getTrashHandler in interface TrashedModelboolean isInTrash()
true if this journal article is in the Recycle Bin.isInTrash in interface TrashedModeltrue if this journal article is in the Recycle Bin; false otherwiseboolean isInTrashContainer()
true if the parent of this journal article is in the Recycle Bin.isInTrashContainer in interface TrashedModeltrue if the parent of this journal article is in the Recycle Bin; false otherwiseboolean isInTrashExplicitly()
isInTrashExplicitly in interface TrashedModelboolean isInTrashImplicitly()
isInTrashImplicitly in interface TrashedModelboolean isApproved()
true if this journal article is approved.isApproved in interface WorkflowedModeltrue if this journal article is approved; false otherwiseboolean isDenied()
true if this journal article is denied.isDenied in interface WorkflowedModeltrue if this journal article is denied; false otherwiseboolean isDraft()
true if this journal article is a draft.isDraft in interface WorkflowedModeltrue if this journal article is a draft; false otherwiseboolean isExpired()
true if this journal article is expired.isExpired in interface WorkflowedModeltrue if this journal article is expired; false otherwiseboolean isInactive()
true if this journal article is inactive.isInactive in interface WorkflowedModeltrue if this journal article is inactive; false otherwiseboolean isIncomplete()
true if this journal article is incomplete.isIncomplete in interface WorkflowedModeltrue if this journal article is incomplete; false otherwiseboolean isPending()
true if this journal article is pending.isPending in interface WorkflowedModeltrue if this journal article is pending; false otherwiseboolean isScheduled()
true if this journal article is scheduled.isScheduled in interface WorkflowedModeltrue if this journal article is scheduled; false otherwise