@JSON(strict=true) @ProviderType public class JournalArticleModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle> implements JournalArticleModel
This implementation and its corresponding interface JournalArticleModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl
.
JournalArticleImpl
,
JournalArticle
,
JournalArticleModel
,
Serialized FormConstructor and Description |
---|
JournalArticleModelImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
getColumnBitmask() |
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.
|
java.lang.String |
getDDMStructureKey()
Returns the d d m structure key of this journal article.
|
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.
|
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.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.
|
java.lang.String |
getOriginalArticleId() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
java.lang.String |
getOriginalDDMStructureKey() |
java.lang.String |
getOriginalDDMTemplateKey() |
java.util.Date |
getOriginalDisplayDate() |
long |
getOriginalFolderId() |
long |
getOriginalGroupId() |
boolean |
getOriginalIndexable() |
java.lang.String |
getOriginalLayoutUuid() |
long |
getOriginalResourcePrimKey() |
long |
getOriginalSmallImageId() |
int |
getOriginalStatus() |
java.lang.String |
getOriginalUrlTitle() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
double |
getOriginalVersion() |
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 |
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 |
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.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
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 |
isEntityCacheEnabled() |
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 |
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 |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
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 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.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 |
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 |
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 |
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() |
static JournalArticle |
toModel(JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<JournalArticle> |
toModels(JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long DDMSTRUCTUREKEY_COLUMN_BITMASK
public static final long DDMTEMPLATEKEY_COLUMN_BITMASK
public static final long ARTICLEID_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long DISPLAYDATE_COLUMN_BITMASK
public static final long FOLDERID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long INDEXABLE_COLUMN_BITMASK
public static final long LAYOUTUUID_COLUMN_BITMASK
public static final long RESOURCEPRIMKEY_COLUMN_BITMASK
public static final long SMALLIMAGEID_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
public static final long URLTITLE_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static JournalArticle toModel(JournalArticleSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
JournalArticleModel
getPrimaryKey
in interface JournalArticleModel
public void setPrimaryKey(long primaryKey)
JournalArticleModel
setPrimaryKey
in interface JournalArticleModel
primaryKey
- the primary key of this journal articlepublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface JournalArticleModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface JournalArticleModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
@JSON public java.lang.String getUuid()
JournalArticleModel
getUuid
in interface JournalArticleModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
JournalArticleModel
setUuid
in interface JournalArticleModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this journal articlepublic java.lang.String getOriginalUuid()
@JSON public long getId()
JournalArticleModel
getId
in interface JournalArticleModel
public void setId(long id)
JournalArticleModel
setId
in interface JournalArticleModel
id
- the ID of this journal article@JSON public long getResourcePrimKey()
JournalArticleModel
getResourcePrimKey
in interface JournalArticleModel
getResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
public void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey
in interface JournalArticleModel
setResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
resourcePrimKey
- the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain
in interface JournalArticleModel
isResourceMain
in interface com.liferay.portal.kernel.model.ResourcedModel
public long getOriginalResourcePrimKey()
@JSON public long getGroupId()
JournalArticleModel
getGroupId
in interface JournalArticleModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
JournalArticleModel
setGroupId
in interface JournalArticleModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this journal articlepublic long getOriginalGroupId()
@JSON public long getCompanyId()
JournalArticleModel
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 void setCompanyId(long companyId)
JournalArticleModel
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 long getOriginalCompanyId()
@JSON public long getUserId()
JournalArticleModel
getUserId
in interface JournalArticleModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
JournalArticleModel
setUserId
in interface JournalArticleModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this journal articlepublic java.lang.String getUserUuid()
JournalArticleModel
getUserUuid
in interface JournalArticleModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
JournalArticleModel
setUserUuid
in interface JournalArticleModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this journal articlepublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
JournalArticleModel
getUserName
in interface JournalArticleModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
JournalArticleModel
setUserName
in interface JournalArticleModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this journal article@JSON public java.util.Date getCreateDate()
JournalArticleModel
getCreateDate
in interface JournalArticleModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
JournalArticleModel
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 article@JSON public java.util.Date getModifiedDate()
JournalArticleModel
getModifiedDate
in interface JournalArticleModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
JournalArticleModel
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 article@JSON public long getFolderId()
JournalArticleModel
getFolderId
in interface JournalArticleModel
public void setFolderId(long folderId)
JournalArticleModel
setFolderId
in interface JournalArticleModel
folderId
- the folder ID of this journal articlepublic long getOriginalFolderId()
public java.lang.String getClassName()
JournalArticleModel
getClassName
in interface JournalArticleModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(java.lang.String className)
setClassName
in interface JournalArticleModel
@JSON public long getClassNameId()
JournalArticleModel
getClassNameId
in interface JournalArticleModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
JournalArticleModel
setClassNameId
in interface JournalArticleModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this journal articlepublic long getOriginalClassNameId()
@JSON public long getClassPK()
JournalArticleModel
getClassPK
in interface JournalArticleModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public void setClassPK(long classPK)
JournalArticleModel
setClassPK
in interface JournalArticleModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class p k of this journal articlepublic long getOriginalClassPK()
@JSON public java.lang.String getTreePath()
JournalArticleModel
getTreePath
in interface JournalArticleModel
public void setTreePath(java.lang.String treePath)
JournalArticleModel
setTreePath
in interface JournalArticleModel
treePath
- the tree path of this journal article@JSON public java.lang.String getArticleId()
JournalArticleModel
getArticleId
in interface JournalArticleModel
public void setArticleId(java.lang.String articleId)
JournalArticleModel
setArticleId
in interface JournalArticleModel
articleId
- the article ID of this journal articlepublic java.lang.String getOriginalArticleId()
@JSON public double getVersion()
JournalArticleModel
getVersion
in interface JournalArticleModel
public void setVersion(double version)
JournalArticleModel
setVersion
in interface JournalArticleModel
version
- the version of this journal articlepublic double getOriginalVersion()
@JSON public java.lang.String getTitle()
JournalArticleModel
getTitle
in interface JournalArticleModel
public java.lang.String getTitle(java.util.Locale locale)
JournalArticleModel
getTitle
in interface JournalArticleModel
locale
- the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
JournalArticleModel
getTitle
in interface JournalArticleModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getTitle(java.lang.String languageId)
JournalArticleModel
getTitle
in interface JournalArticleModel
languageId
- the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
JournalArticleModel
getTitle
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface JournalArticleModel
@JSON public java.lang.String getTitleCurrentValue()
getTitleCurrentValue
in interface JournalArticleModel
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
JournalArticleModel
getTitleMap
in interface JournalArticleModel
public void setTitle(java.lang.String title)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the title of this journal articlepublic void setTitle(java.lang.String title, java.util.Locale locale)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagepublic void setTitle(java.lang.String title, java.util.Locale locale, java.util.Locale defaultLocale)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId
in interface JournalArticleModel
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
JournalArticleModel
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articlepublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Locale defaultLocale)
JournalArticleModel
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articledefaultLocale
- the default locale@JSON public java.lang.String getUrlTitle()
JournalArticleModel
getUrlTitle
in interface JournalArticleModel
public void setUrlTitle(java.lang.String urlTitle)
JournalArticleModel
setUrlTitle
in interface JournalArticleModel
urlTitle
- the url title of this journal articlepublic java.lang.String getOriginalUrlTitle()
@JSON public java.lang.String getDescription()
JournalArticleModel
getDescription
in interface JournalArticleModel
public java.lang.String getDescription(java.util.Locale locale)
JournalArticleModel
getDescription
in interface JournalArticleModel
locale
- the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
JournalArticleModel
getDescription
in interface JournalArticleModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
JournalArticleModel
getDescription
in interface JournalArticleModel
languageId
- the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
JournalArticleModel
getDescription
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface JournalArticleModel
@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface JournalArticleModel
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
JournalArticleModel
getDescriptionMap
in interface JournalArticleModel
public void setDescription(java.lang.String description)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the description of this journal articlepublic void setDescription(java.lang.String description, java.util.Locale locale)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagepublic void setDescription(java.lang.String description, java.util.Locale locale, java.util.Locale defaultLocale)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId
in interface JournalArticleModel
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
JournalArticleModel
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articlepublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Locale defaultLocale)
JournalArticleModel
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articledefaultLocale
- the default locale@JSON public java.lang.String getContent()
JournalArticleModel
getContent
in interface JournalArticleModel
public void setContent(java.lang.String content)
JournalArticleModel
setContent
in interface JournalArticleModel
content
- the content of this journal article@JSON public java.lang.String getDDMStructureKey()
JournalArticleModel
getDDMStructureKey
in interface JournalArticleModel
public void setDDMStructureKey(java.lang.String DDMStructureKey)
JournalArticleModel
setDDMStructureKey
in interface JournalArticleModel
DDMStructureKey
- the d d m structure key of this journal articlepublic java.lang.String getOriginalDDMStructureKey()
@JSON public java.lang.String getDDMTemplateKey()
JournalArticleModel
getDDMTemplateKey
in interface JournalArticleModel
public void setDDMTemplateKey(java.lang.String DDMTemplateKey)
JournalArticleModel
setDDMTemplateKey
in interface JournalArticleModel
DDMTemplateKey
- the d d m template key of this journal articlepublic java.lang.String getOriginalDDMTemplateKey()
@JSON public java.lang.String getLayoutUuid()
JournalArticleModel
getLayoutUuid
in interface JournalArticleModel
public void setLayoutUuid(java.lang.String layoutUuid)
JournalArticleModel
setLayoutUuid
in interface JournalArticleModel
layoutUuid
- the layout uuid of this journal articlepublic java.lang.String getOriginalLayoutUuid()
@JSON public java.util.Date getDisplayDate()
JournalArticleModel
getDisplayDate
in interface JournalArticleModel
public void setDisplayDate(java.util.Date displayDate)
JournalArticleModel
setDisplayDate
in interface JournalArticleModel
displayDate
- the display date of this journal articlepublic java.util.Date getOriginalDisplayDate()
@JSON public java.util.Date getExpirationDate()
JournalArticleModel
getExpirationDate
in interface JournalArticleModel
public void setExpirationDate(java.util.Date expirationDate)
JournalArticleModel
setExpirationDate
in interface JournalArticleModel
expirationDate
- the expiration date of this journal article@JSON public java.util.Date getReviewDate()
JournalArticleModel
getReviewDate
in interface JournalArticleModel
public void setReviewDate(java.util.Date reviewDate)
JournalArticleModel
setReviewDate
in interface JournalArticleModel
reviewDate
- the review date of this journal article@JSON public boolean getIndexable()
JournalArticleModel
getIndexable
in interface JournalArticleModel
@JSON public boolean isIndexable()
JournalArticleModel
true
if this journal article is indexable.isIndexable
in interface JournalArticleModel
true
if this journal article is indexable; false
otherwisepublic void setIndexable(boolean indexable)
JournalArticleModel
setIndexable
in interface JournalArticleModel
indexable
- the indexable of this journal articlepublic boolean getOriginalIndexable()
@JSON public boolean getSmallImage()
JournalArticleModel
getSmallImage
in interface JournalArticleModel
@JSON public boolean isSmallImage()
JournalArticleModel
true
if this journal article is small image.isSmallImage
in interface JournalArticleModel
true
if this journal article is small image; false
otherwisepublic void setSmallImage(boolean smallImage)
JournalArticleModel
setSmallImage
in interface JournalArticleModel
smallImage
- the small image of this journal article@JSON public long getSmallImageId()
JournalArticleModel
getSmallImageId
in interface JournalArticleModel
public void setSmallImageId(long smallImageId)
JournalArticleModel
setSmallImageId
in interface JournalArticleModel
smallImageId
- the small image ID of this journal articlepublic long getOriginalSmallImageId()
@JSON public java.lang.String getSmallImageURL()
JournalArticleModel
getSmallImageURL
in interface JournalArticleModel
public void setSmallImageURL(java.lang.String smallImageURL)
JournalArticleModel
setSmallImageURL
in interface JournalArticleModel
smallImageURL
- the small image u r l of this journal article@JSON public java.util.Date getLastPublishDate()
JournalArticleModel
getLastPublishDate
in interface JournalArticleModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(java.util.Date lastPublishDate)
JournalArticleModel
setLastPublishDate
in interface JournalArticleModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this journal article@JSON public int getStatus()
JournalArticleModel
getStatus
in interface JournalArticleModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatus(int status)
JournalArticleModel
setStatus
in interface JournalArticleModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this journal articlepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
JournalArticleModel
getStatusByUserId
in interface JournalArticleModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId
in interface JournalArticleModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this journal articlepublic java.lang.String getStatusByUserUuid()
JournalArticleModel
getStatusByUserUuid
in interface JournalArticleModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserUuid(java.lang.String statusByUserUuid)
JournalArticleModel
setStatusByUserUuid
in interface JournalArticleModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this journal article@JSON public java.lang.String getStatusByUserName()
JournalArticleModel
getStatusByUserName
in interface JournalArticleModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserName(java.lang.String statusByUserName)
JournalArticleModel
setStatusByUserName
in interface JournalArticleModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this journal article@JSON public java.util.Date getStatusDate()
JournalArticleModel
getStatusDate
in interface JournalArticleModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusDate(java.util.Date statusDate)
JournalArticleModel
setStatusDate
in interface JournalArticleModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this journal articlepublic void setDefaultLanguageId(java.lang.String defaultLanguageId)
public com.liferay.portal.kernel.xml.Document getDocument()
public void setDocument(com.liferay.portal.kernel.xml.Document document)
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException
JournalArticleModel
getTrashEntry
in interface JournalArticleModel
getTrashEntry
in interface com.liferay.portal.kernel.model.TrashedModel
com.liferay.portal.kernel.exception.PortalException
public long getTrashEntryClassPK()
JournalArticleModel
getTrashEntryClassPK
in interface JournalArticleModel
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
JournalArticleModel
getTrashHandler
in interface JournalArticleModel
getTrashHandler
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isInTrash()
JournalArticleModel
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()
JournalArticleModel
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 isApproved()
JournalArticleModel
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()
JournalArticleModel
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()
JournalArticleModel
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()
JournalArticleModel
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()
JournalArticleModel
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()
JournalArticleModel
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 isPending()
JournalArticleModel
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 isScheduled()
JournalArticleModel
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 long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface JournalArticleModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface JournalArticleModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public JournalArticle toEscapedModel()
toEscapedModel
in interface JournalArticleModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public java.lang.Object clone()
clone
in interface JournalArticleModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public int compareTo(JournalArticle journalArticle)
compareTo
in interface JournalArticleModel
compareTo
in interface java.lang.Comparable<JournalArticle>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface JournalArticleModel
hashCode
in class java.lang.Object
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>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public com.liferay.portal.kernel.model.CacheModel<JournalArticle> toCacheModel()
toCacheModel
in interface JournalArticleModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<JournalArticle>
public java.lang.String toString()
toString
in interface JournalArticleModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface JournalArticleModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<JournalArticle>