|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<JournalArticle> com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
@JSON(strict=true) public class JournalArticleModelImpl
The base model implementation for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class.
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 Summary | |
---|---|
JournalArticleModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
String |
getArticleId()
Returns the article ID of this journal article. |
String[] |
getAvailableLanguageIds()
|
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. |
String |
getContent()
Returns the content of this journal article. |
Date |
getCreateDate()
Returns the create date of this journal article. |
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this journal article. |
String |
getDescription(Locale locale)
Returns the localized description of this journal article in the language. |
String |
getDescription(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. |
String |
getDescription(String languageId)
Returns the localized description of this journal article in the language. |
String |
getDescription(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. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal article. |
Date |
getDisplayDate()
Returns the display date of this journal article. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
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. |
String |
getLayoutUuid()
Returns the layout uuid of this journal article. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal article. |
String |
getOriginalArticleId()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
Date |
getOriginalDisplayDate()
|
long |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
boolean |
getOriginalIndexable()
|
String |
getOriginalLayoutUuid()
|
long |
getOriginalResourcePrimKey()
|
long |
getOriginalSmallImageId()
|
int |
getOriginalStatus()
|
String |
getOriginalStructureId()
|
String |
getOriginalTemplateId()
|
String |
getOriginalUrlTitle()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
long |
getPrimaryKey()
Returns the primary key of this journal article. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourcePrimKey()
Returns the resource prim key of this journal article. |
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. |
String |
getSmallImageURL()
Returns the small image u r l of this journal article. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this journal article. |
long |
getStatusByUserId()
Returns the status by user ID of this journal article. |
String |
getStatusByUserName()
Returns the status by user name of this journal article. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this journal article. |
Date |
getStatusDate()
Returns the status date of this journal article. |
String |
getStructureId()
Returns the structure ID of this journal article. |
String |
getTemplateId()
Returns the template ID of this journal article. |
String |
getTitle()
Returns the title of this journal article. |
String |
getTitle(Locale locale)
Returns the localized title of this journal article in the language. |
String |
getTitle(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. |
String |
getTitle(String languageId)
Returns the localized title of this journal article in the language. |
String |
getTitle(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. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles 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()
Returns the trash handler for this journal article. |
String |
getTreePath()
Returns the tree path of this journal article. |
String |
getType()
Returns the type of this journal article. |
String |
getUrlTitle()
Returns the url title of this journal article. |
long |
getUserId()
Returns the user ID of this journal article. |
String |
getUserName()
Returns the user name of this journal article. |
String |
getUserUuid()
Returns the user uuid of this journal article. |
String |
getUuid()
Returns the uuid of this journal article. |
double |
getVersion()
Returns the version of this journal article. |
int |
hashCode()
|
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 |
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(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setArticleId(String articleId)
Sets the article ID of this journal article. |
void |
setClassName(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(String content)
Sets the content of this journal article. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal article. |
void |
setDescription(String description)
Sets the description of this journal article. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this journal article in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this journal article in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this journal article from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
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(Date displayDate)
Sets the display date of this journal article. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(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 |
setLayoutUuid(String layoutUuid)
Sets the layout uuid of this journal article. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal article. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal article. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article. |
void |
setReviewDate(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(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(String statusByUserName)
Sets the status by user name of this journal article. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this journal article. |
void |
setStatusDate(Date statusDate)
Sets the status date of this journal article. |
void |
setStructureId(String structureId)
Sets the structure ID of this journal article. |
void |
setTemplateId(String templateId)
Sets the template ID of this journal article. |
void |
setTitle(String title)
Sets the title of this journal article. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this journal article in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this journal article in the language, and sets the default locale. |
void |
setTitleCurrentLanguageId(String languageId)
|
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this journal article from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
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(String treePath)
Sets the tree path of this journal article. |
void |
setType(String type)
Sets the type of this journal article. |
void |
setUrlTitle(String urlTitle)
Sets the url title of this journal article. |
void |
setUserId(long userId)
Sets the user ID of this journal article. |
void |
setUserName(String userName)
Sets the user name of this journal article. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal article. |
void |
setUuid(String uuid)
Sets the uuid of this journal article. |
void |
setVersion(double version)
Sets the version of this journal article. |
CacheModel<JournalArticle> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalArticle |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static JournalArticle |
toModel(JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<JournalArticle> |
toModels(JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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 long ARTICLEID_COLUMN_BITMASK
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long DISPLAYDATE_COLUMN_BITMASK
public static long FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long INDEXABLE_COLUMN_BITMASK
public static long LAYOUTUUID_COLUMN_BITMASK
public static long RESOURCEPRIMKEY_COLUMN_BITMASK
public static long SMALLIMAGEID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long STRUCTUREID_COLUMN_BITMASK
public static long TEMPLATEID_COLUMN_BITMASK
public static long URLTITLE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public JournalArticleModelImpl()
Method Detail |
---|
public static JournalArticle toModel(JournalArticleSoap soapModel)
soapModel
- the soap model instance to convert
public static List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
soapModels
- the soap model instances to convert
public 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticle>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalArticleModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalArticle>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalArticleModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalArticle>
getModelAttributes
in class BaseModelImpl<JournalArticle>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalArticle>
setModelAttributes
in class BaseModelImpl<JournalArticle>
@JSON public String getUuid()
JournalArticleModel
getUuid
in interface StagedModel
getUuid
in interface JournalArticleModel
public void setUuid(String uuid)
JournalArticleModel
setUuid
in interface StagedModel
setUuid
in interface JournalArticleModel
uuid
- the uuid of this journal articlepublic 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 ResourcedModel
getResourcePrimKey
in interface JournalArticleModel
public void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey
in interface ResourcedModel
setResourcePrimKey
in interface JournalArticleModel
resourcePrimKey
- the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain
in interface ResourcedModel
isResourceMain
in interface JournalArticleModel
public long getOriginalResourcePrimKey()
@JSON public long getGroupId()
JournalArticleModel
getGroupId
in interface GroupedModel
getGroupId
in interface JournalArticleModel
public void setGroupId(long groupId)
JournalArticleModel
setGroupId
in interface GroupedModel
setGroupId
in interface JournalArticleModel
groupId
- the group ID of this journal articlepublic long getOriginalGroupId()
@JSON public long getCompanyId()
JournalArticleModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface JournalArticleModel
public void setCompanyId(long companyId)
JournalArticleModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface JournalArticleModel
companyId
- the company ID of this journal articlepublic long getOriginalCompanyId()
@JSON public long getUserId()
JournalArticleModel
getUserId
in interface AuditedModel
getUserId
in interface JournalArticleModel
public void setUserId(long userId)
JournalArticleModel
setUserId
in interface AuditedModel
setUserId
in interface JournalArticleModel
userId
- the user ID of this journal articlepublic String getUserUuid() throws SystemException
JournalArticleModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
JournalArticleModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface JournalArticleModel
userUuid
- the user uuid of this journal articlepublic long getOriginalUserId()
@JSON public String getUserName()
JournalArticleModel
getUserName
in interface AuditedModel
getUserName
in interface JournalArticleModel
public void setUserName(String userName)
JournalArticleModel
setUserName
in interface AuditedModel
setUserName
in interface JournalArticleModel
userName
- the user name of this journal article@JSON public Date getCreateDate()
JournalArticleModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface JournalArticleModel
public void setCreateDate(Date createDate)
JournalArticleModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface JournalArticleModel
createDate
- the create date of this journal article@JSON public Date getModifiedDate()
JournalArticleModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface JournalArticleModel
public void setModifiedDate(Date modifiedDate)
JournalArticleModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface JournalArticleModel
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 String getClassName()
JournalArticleModel
getClassName
in interface TypedModel
getClassName
in interface JournalArticleModel
public void setClassName(String className)
setClassName
in interface JournalArticleModel
@JSON public long getClassNameId()
JournalArticleModel
getClassNameId
in interface TypedModel
getClassNameId
in interface JournalArticleModel
public void setClassNameId(long classNameId)
JournalArticleModel
setClassNameId
in interface TypedModel
setClassNameId
in interface JournalArticleModel
classNameId
- the class name ID of this journal articlepublic long getOriginalClassNameId()
@JSON public long getClassPK()
JournalArticleModel
getClassPK
in interface AttachedModel
getClassPK
in interface JournalArticleModel
public void setClassPK(long classPK)
JournalArticleModel
setClassPK
in interface AttachedModel
setClassPK
in interface JournalArticleModel
classPK
- the class p k of this journal articlepublic long getOriginalClassPK()
@JSON public String getTreePath()
JournalArticleModel
getTreePath
in interface JournalArticleModel
public void setTreePath(String treePath)
JournalArticleModel
setTreePath
in interface JournalArticleModel
treePath
- the tree path of this journal article@JSON public String getArticleId()
JournalArticleModel
getArticleId
in interface JournalArticleModel
public void setArticleId(String articleId)
JournalArticleModel
setArticleId
in interface JournalArticleModel
articleId
- the article ID of this journal articlepublic 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 String getTitle()
JournalArticleModel
getTitle
in interface JournalArticleModel
public String getTitle(Locale locale)
JournalArticleModel
getTitle
in interface JournalArticleModel
locale
- the locale of the language
public String getTitle(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 language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getTitle(String languageId)
JournalArticleModel
getTitle
in interface JournalArticleModel
languageId
- the ID of the language
public String getTitle(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 language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface JournalArticleModel
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface JournalArticleModel
public Map<Locale,String> getTitleMap()
JournalArticleModel
getTitleMap
in interface JournalArticleModel
public void setTitle(String title)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the title of this journal articlepublic void setTitle(String title, Locale locale)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagepublic void setTitle(String title, Locale locale, 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(String languageId)
setTitleCurrentLanguageId
in interface JournalArticleModel
public void setTitleMap(Map<Locale,String> titleMap)
JournalArticleModel
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articlepublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
JournalArticleModel
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articledefaultLocale
- the default locale@JSON public String getUrlTitle()
JournalArticleModel
getUrlTitle
in interface JournalArticleModel
public void setUrlTitle(String urlTitle)
JournalArticleModel
setUrlTitle
in interface JournalArticleModel
urlTitle
- the url title of this journal articlepublic String getOriginalUrlTitle()
@JSON public String getDescription()
JournalArticleModel
getDescription
in interface JournalArticleModel
public String getDescription(Locale locale)
JournalArticleModel
getDescription
in interface JournalArticleModel
locale
- the locale of the language
public String getDescription(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 language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
JournalArticleModel
getDescription
in interface JournalArticleModel
languageId
- the ID of the language
public String getDescription(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 language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface JournalArticleModel
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface JournalArticleModel
public Map<Locale,String> getDescriptionMap()
JournalArticleModel
getDescriptionMap
in interface JournalArticleModel
public void setDescription(String description)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the description of this journal articlepublic void setDescription(String description, Locale locale)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagepublic void setDescription(String description, Locale locale, 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(String languageId)
setDescriptionCurrentLanguageId
in interface JournalArticleModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
JournalArticleModel
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articlepublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
JournalArticleModel
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articledefaultLocale
- the default locale@JSON public String getContent()
JournalArticleModel
getContent
in interface JournalArticleModel
public void setContent(String content)
JournalArticleModel
setContent
in interface JournalArticleModel
content
- the content of this journal article@JSON public String getType()
JournalArticleModel
getType
in interface JournalArticleModel
public void setType(String type)
JournalArticleModel
setType
in interface JournalArticleModel
type
- the type of this journal article@JSON public String getStructureId()
JournalArticleModel
getStructureId
in interface JournalArticleModel
public void setStructureId(String structureId)
JournalArticleModel
setStructureId
in interface JournalArticleModel
structureId
- the structure ID of this journal articlepublic String getOriginalStructureId()
@JSON public String getTemplateId()
JournalArticleModel
getTemplateId
in interface JournalArticleModel
public void setTemplateId(String templateId)
JournalArticleModel
setTemplateId
in interface JournalArticleModel
templateId
- the template ID of this journal articlepublic String getOriginalTemplateId()
@JSON public String getLayoutUuid()
JournalArticleModel
getLayoutUuid
in interface JournalArticleModel
public void setLayoutUuid(String layoutUuid)
JournalArticleModel
setLayoutUuid
in interface JournalArticleModel
layoutUuid
- the layout uuid of this journal articlepublic String getOriginalLayoutUuid()
@JSON public Date getDisplayDate()
JournalArticleModel
getDisplayDate
in interface JournalArticleModel
public void setDisplayDate(Date displayDate)
JournalArticleModel
setDisplayDate
in interface JournalArticleModel
displayDate
- the display date of this journal articlepublic Date getOriginalDisplayDate()
@JSON public Date getExpirationDate()
JournalArticleModel
getExpirationDate
in interface JournalArticleModel
public void setExpirationDate(Date expirationDate)
JournalArticleModel
setExpirationDate
in interface JournalArticleModel
expirationDate
- the expiration date of this journal article@JSON public Date getReviewDate()
JournalArticleModel
getReviewDate
in interface JournalArticleModel
public void setReviewDate(Date reviewDate)
JournalArticleModel
setReviewDate
in interface JournalArticleModel
reviewDate
- the review date of this journal article@JSON public boolean getIndexable()
JournalArticleModel
getIndexable
in interface JournalArticleModel
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
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 String getSmallImageURL()
JournalArticleModel
getSmallImageURL
in interface JournalArticleModel
public void setSmallImageURL(String smallImageURL)
JournalArticleModel
setSmallImageURL
in interface JournalArticleModel
smallImageURL
- the small image u r l of this journal article@JSON public int getStatus()
JournalArticleModel
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface JournalArticleModel
public void setStatus(int status)
JournalArticleModel
setStatus
in interface WorkflowedModel
setStatus
in interface JournalArticleModel
status
- the status of this journal articlepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
JournalArticleModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface JournalArticleModel
public void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface JournalArticleModel
statusByUserId
- the status by user ID of this journal articlepublic String getStatusByUserUuid() throws SystemException
JournalArticleModel
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalArticleModel
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface JournalArticleModel
statusByUserUuid
- the status by user uuid of this journal article@JSON public String getStatusByUserName()
JournalArticleModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface JournalArticleModel
public void setStatusByUserName(String statusByUserName)
JournalArticleModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface JournalArticleModel
statusByUserName
- the status by user name of this journal article@JSON public Date getStatusDate()
JournalArticleModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface JournalArticleModel
public void setStatusDate(Date statusDate)
JournalArticleModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface JournalArticleModel
statusDate
- the status date of this journal articlepublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public TrashEntry getTrashEntry() throws PortalException, SystemException
JournalArticleModel
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface JournalArticleModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
JournalArticleModel
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface JournalArticleModel
public TrashHandler getTrashHandler()
JournalArticleModel
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface JournalArticleModel
public boolean isInTrash()
JournalArticleModel
true
if this journal article is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface JournalArticleModel
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 TrashedModel
isInTrashContainer
in interface JournalArticleModel
true
if the parent of this journal article is in the Recycle Bin; false
otherwisepublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface JournalArticleModel
public boolean isApproved()
JournalArticleModel
true
if this journal article is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface JournalArticleModel
true
if this journal article is approved; false
otherwisepublic boolean isDenied()
JournalArticleModel
true
if this journal article is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface JournalArticleModel
true
if this journal article is denied; false
otherwisepublic boolean isDraft()
JournalArticleModel
true
if this journal article is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface JournalArticleModel
true
if this journal article is a draft; false
otherwisepublic boolean isExpired()
JournalArticleModel
true
if this journal article is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface JournalArticleModel
true
if this journal article is expired; false
otherwisepublic boolean isInactive()
JournalArticleModel
true
if this journal article is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface JournalArticleModel
true
if this journal article is inactive; false
otherwisepublic boolean isIncomplete()
JournalArticleModel
true
if this journal article is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface JournalArticleModel
true
if this journal article is incomplete; false
otherwisepublic boolean isPending()
JournalArticleModel
true
if this journal article is pending.
isPending
in interface WorkflowedModel
isPending
in interface JournalArticleModel
true
if this journal article is pending; false
otherwisepublic boolean isScheduled()
JournalArticleModel
true
if this journal article is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface JournalArticleModel
true
if this journal article is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticle>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalArticleModel
getExpandoBridge
in class BaseModelImpl<JournalArticle>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticle>
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in class BaseModelImpl<JournalArticle>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface JournalArticleModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
public void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
LocaleException
public JournalArticle toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalArticle>
toEscapedModel
in interface JournalArticleModel
toEscapedModel
in class BaseModelImpl<JournalArticle>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticle>
clone
in interface StagedModel
clone
in interface JournalArticleModel
clone
in class BaseModelImpl<JournalArticle>
public int compareTo(JournalArticle journalArticle)
compareTo
in interface JournalArticleModel
compareTo
in interface Comparable<JournalArticle>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface JournalArticleModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalArticle>
resetOriginalValues
in class BaseModelImpl<JournalArticle>
public CacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalArticle>
toCacheModel
in interface JournalArticleModel
toCacheModel
in class BaseModelImpl<JournalArticle>
public String toString()
toString
in interface JournalArticleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticle>
toXmlString
in interface JournalArticleModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |