Liferay 6.2.0

com.liferay.portlet.journal.model
Interface JournalArticleModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<JournalArticle>, ClassedModel, Cloneable, Comparable<JournalArticle>, GroupedModel, ResourcedModel, Serializable, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, WorkflowedModel
All Known Subinterfaces:
JournalArticle
All Known Implementing Classes:
JournalArticleBaseImpl, JournalArticleImpl, JournalArticleModelImpl, JournalArticleWrapper

@ProviderType
public interface JournalArticleModel
extends AttachedModel, BaseModel<JournalArticle>, ResourcedModel, StagedGroupedModel, TrashedModel, WorkflowedModel

The base model interface for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation JournalArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl.

See Also:
JournalArticle, JournalArticleImpl, JournalArticleModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  Object clone()
          Creates a shallow clone of this model instance.
abstract  int compareTo(JournalArticle journalArticle)
           
abstract  boolean getApproved()
          Deprecated. As of 6.1.0, replaced by isApproved()
abstract  String getArticleId()
          Returns the article ID of this journal article.
abstract  String[] getAvailableLanguageIds()
           
abstract  String getClassName()
          Returns the fully qualified class name of this journal article.
abstract  long getClassNameId()
          Returns the class name ID of this journal article.
abstract  long getClassPK()
          Returns the class p k of this journal article.
abstract  long getCompanyId()
          Returns the company ID of this journal article.
abstract  String getContent()
          Returns the content of this journal article.
abstract  Date getCreateDate()
          Returns the create date of this journal article.
abstract  String getDefaultLanguageId()
           
abstract  String getDescription()
          Returns the description of this journal article.
abstract  String getDescription(Locale locale)
          Returns the localized description of this journal article in the language.
abstract  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.
abstract  String getDescription(String languageId)
          Returns the localized description of this journal article in the language.
abstract  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.
abstract  String getDescriptionCurrentLanguageId()
           
abstract  String getDescriptionCurrentValue()
           
abstract  Map<Locale,String> getDescriptionMap()
          Returns a map of the locales and localized descriptions of this journal article.
abstract  Date getDisplayDate()
          Returns the display date of this journal article.
abstract  ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
abstract  Date getExpirationDate()
          Returns the expiration date of this journal article.
abstract  long getFolderId()
          Returns the folder ID of this journal article.
abstract  long getGroupId()
          Returns the group ID of this journal article.
abstract  long getId()
          Returns the ID of this journal article.
abstract  boolean getIndexable()
          Returns the indexable of this journal article.
abstract  String getLayoutUuid()
          Returns the layout uuid of this journal article.
abstract  Date getModifiedDate()
          Returns the modified date of this journal article.
abstract  long getPrimaryKey()
          Returns the primary key of this journal article.
abstract  Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
abstract  long getResourcePrimKey()
          Returns the resource prim key of this journal article.
abstract  Date getReviewDate()
          Returns the review date of this journal article.
abstract  boolean getSmallImage()
          Returns the small image of this journal article.
abstract  long getSmallImageId()
          Returns the small image ID of this journal article.
abstract  String getSmallImageURL()
          Returns the small image u r l of this journal article.
abstract  int getStatus()
          Returns the status of this journal article.
abstract  long getStatusByUserId()
          Returns the status by user ID of this journal article.
abstract  String getStatusByUserName()
          Returns the status by user name of this journal article.
abstract  String getStatusByUserUuid()
          Returns the status by user uuid of this journal article.
abstract  Date getStatusDate()
          Returns the status date of this journal article.
abstract  String getStructureId()
          Returns the structure ID of this journal article.
abstract  String getTemplateId()
          Returns the template ID of this journal article.
abstract  String getTitle()
          Returns the title of this journal article.
abstract  String getTitle(Locale locale)
          Returns the localized title of this journal article in the language.
abstract  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.
abstract  String getTitle(String languageId)
          Returns the localized title of this journal article in the language.
abstract  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.
abstract  String getTitleCurrentLanguageId()
           
abstract  String getTitleCurrentValue()
           
abstract  Map<Locale,String> getTitleMap()
          Returns a map of the locales and localized titles of this journal article.
abstract  TrashEntry getTrashEntry()
          Returns the trash entry created when this journal article was moved to the Recycle Bin.
abstract  long getTrashEntryClassPK()
          Returns the class primary key of the trash entry for this journal article.
abstract  TrashHandler getTrashHandler()
          Returns the trash handler for this journal article.
abstract  String getTreePath()
          Returns the tree path of this journal article.
abstract  String getType()
          Returns the type of this journal article.
abstract  String getUrlTitle()
          Returns the url title of this journal article.
abstract  long getUserId()
          Returns the user ID of this journal article.
abstract  String getUserName()
          Returns the user name of this journal article.
abstract  String getUserUuid()
          Returns the user uuid of this journal article.
abstract  String getUuid()
          Returns the uuid of this journal article.
abstract  double getVersion()
          Returns the version of this journal article.
abstract  int hashCode()
           
abstract  boolean isApproved()
          Returns true if this journal article is approved.
abstract  boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
abstract  boolean isDenied()
          Returns true if this journal article is denied.
abstract  boolean isDraft()
          Returns true if this journal article is a draft.
abstract  boolean isEscapedModel()
          Returns true if this model instance is escaped.
abstract  boolean isExpired()
          Returns true if this journal article is expired.
abstract  boolean isInactive()
          Returns true if this journal article is inactive.
abstract  boolean isIncomplete()
          Returns true if this journal article is incomplete.
abstract  boolean isIndexable()
          Returns true if this journal article is indexable.
abstract  boolean isInTrash()
          Returns true if this journal article is in the Recycle Bin.
abstract  boolean isInTrashContainer()
          Returns true if the parent of this journal article is in the Recycle Bin.
abstract  boolean isNew()
          Returns true if this model instance does not yet exist in the database.
abstract  boolean isPending()
          Returns true if this journal article is pending.
abstract  boolean isResourceMain()
           
abstract  boolean isScheduled()
          Returns true if this journal article is scheduled.
abstract  boolean isSmallImage()
          Returns true if this journal article is small image.
abstract  void prepareLocalizedFieldsForImport()
           
abstract  void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
abstract  void setArticleId(String articleId)
          Sets the article ID of this journal article.
abstract  void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
abstract  void setClassName(String className)
           
abstract  void setClassNameId(long classNameId)
          Sets the class name ID of this journal article.
abstract  void setClassPK(long classPK)
          Sets the class p k of this journal article.
abstract  void setCompanyId(long companyId)
          Sets the company ID of this journal article.
abstract  void setContent(String content)
          Sets the content of this journal article.
abstract  void setCreateDate(Date createDate)
          Sets the create date of this journal article.
abstract  void setDescription(String description)
          Sets the description of this journal article.
abstract  void setDescription(String description, Locale locale)
          Sets the localized description of this journal article in the language.
abstract  void setDescription(String description, Locale locale, Locale defaultLocale)
          Sets the localized description of this journal article in the language, and sets the default locale.
abstract  void setDescriptionCurrentLanguageId(String languageId)
           
abstract  void setDescriptionMap(Map<Locale,String> descriptionMap)
          Sets the localized descriptions of this journal article from the map of locales and localized descriptions.
abstract  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.
abstract  void setDisplayDate(Date displayDate)
          Sets the display date of this journal article.
abstract  void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
abstract  void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
abstract  void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
abstract  void setExpirationDate(Date expirationDate)
          Sets the expiration date of this journal article.
abstract  void setFolderId(long folderId)
          Sets the folder ID of this journal article.
abstract  void setGroupId(long groupId)
          Sets the group ID of this journal article.
abstract  void setId(long id)
          Sets the ID of this journal article.
abstract  void setIndexable(boolean indexable)
          Sets whether this journal article is indexable.
abstract  void setLayoutUuid(String layoutUuid)
          Sets the layout uuid of this journal article.
abstract  void setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal article.
abstract  void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
abstract  void setPrimaryKey(long primaryKey)
          Sets the primary key of this journal article.
abstract  void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
abstract  void setResourcePrimKey(long resourcePrimKey)
          Sets the resource prim key of this journal article.
abstract  void setReviewDate(Date reviewDate)
          Sets the review date of this journal article.
abstract  void setSmallImage(boolean smallImage)
          Sets whether this journal article is small image.
abstract  void setSmallImageId(long smallImageId)
          Sets the small image ID of this journal article.
abstract  void setSmallImageURL(String smallImageURL)
          Sets the small image u r l of this journal article.
abstract  void setStatus(int status)
          Sets the status of this journal article.
abstract  void setStatusByUserId(long statusByUserId)
          Sets the status by user ID of this journal article.
abstract  void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this journal article.
abstract  void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this journal article.
abstract  void setStatusDate(Date statusDate)
          Sets the status date of this journal article.
abstract  void setStructureId(String structureId)
          Sets the structure ID of this journal article.
abstract  void setTemplateId(String templateId)
          Sets the template ID of this journal article.
abstract  void setTitle(String title)
          Sets the title of this journal article.
abstract  void setTitle(String title, Locale locale)
          Sets the localized title of this journal article in the language.
abstract  void setTitle(String title, Locale locale, Locale defaultLocale)
          Sets the localized title of this journal article in the language, and sets the default locale.
abstract  void setTitleCurrentLanguageId(String languageId)
           
abstract  void setTitleMap(Map<Locale,String> titleMap)
          Sets the localized titles of this journal article from the map of locales and localized titles.
abstract  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.
abstract  void setTreePath(String treePath)
          Sets the tree path of this journal article.
abstract  void setType(String type)
          Sets the type of this journal article.
abstract  void setUrlTitle(String urlTitle)
          Sets the url title of this journal article.
abstract  void setUserId(long userId)
          Sets the user ID of this journal article.
abstract  void setUserName(String userName)
          Sets the user name of this journal article.
abstract  void setUserUuid(String userUuid)
          Sets the user uuid of this journal article.
abstract  void setUuid(String uuid)
          Sets the uuid of this journal article.
abstract  void setVersion(double version)
          Sets the version of this journal article.
abstract  CacheModel<JournalArticle> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
abstract  JournalArticle toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
abstract  String toString()
           
abstract  JournalArticle toUnescapedModel()
           
abstract  String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this journal article.

Returns:
the primary key of this journal article

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this journal article.

Parameters:
primaryKey - the primary key of this journal article

getUuid

@AutoEscape
String getUuid()
Returns the uuid of this journal article.

Specified by:
getUuid in interface StagedModel
Returns:
the uuid of this journal article

setUuid

void setUuid(String uuid)
Sets the uuid of this journal article.

Specified by:
setUuid in interface StagedModel
Parameters:
uuid - the uuid of this journal article

getId

long getId()
Returns the ID of this journal article.

Returns:
the ID of this journal article

setId

void setId(long id)
Sets the ID of this journal article.

Parameters:
id - the ID of this journal article

getResourcePrimKey

long getResourcePrimKey()
Returns the resource prim key of this journal article.

Specified by:
getResourcePrimKey in interface ResourcedModel
Returns:
the resource prim key of this journal article

setResourcePrimKey

void setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article.

Specified by:
setResourcePrimKey in interface ResourcedModel
Parameters:
resourcePrimKey - the resource prim key of this journal article

isResourceMain

boolean isResourceMain()
Specified by:
isResourceMain in interface ResourcedModel

getGroupId

long getGroupId()
Returns the group ID of this journal article.

Specified by:
getGroupId in interface GroupedModel
Returns:
the group ID of this journal article

setGroupId

void setGroupId(long groupId)
Sets the group ID of this journal article.

Specified by:
setGroupId in interface GroupedModel
Parameters:
groupId - the group ID of this journal article

getCompanyId

long getCompanyId()
Returns the company ID of this journal article.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel
Returns:
the company ID of this journal article

setCompanyId

void setCompanyId(long companyId)
Sets the company ID of this journal article.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface StagedModel
Parameters:
companyId - the company ID of this journal article

getUserId

long getUserId()
Returns the user ID of this journal article.

Specified by:
getUserId in interface AuditedModel
Returns:
the user ID of this journal article

setUserId

void setUserId(long userId)
Sets the user ID of this journal article.

Specified by:
setUserId in interface AuditedModel
Parameters:
userId - the user ID of this journal article

getUserUuid

String getUserUuid()
                   throws SystemException
Returns the user uuid of this journal article.

Specified by:
getUserUuid in interface AuditedModel
Returns:
the user uuid of this journal article
Throws:
SystemException - if a system exception occurred

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this journal article.

Specified by:
setUserUuid in interface AuditedModel
Parameters:
userUuid - the user uuid of this journal article

getUserName

@AutoEscape
String getUserName()
Returns the user name of this journal article.

Specified by:
getUserName in interface AuditedModel
Returns:
the user name of this journal article

setUserName

void setUserName(String userName)
Sets the user name of this journal article.

Specified by:
setUserName in interface AuditedModel
Parameters:
userName - the user name of this journal article

getCreateDate

Date getCreateDate()
Returns the create date of this journal article.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel
Returns:
the create date of this journal article

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this journal article.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface StagedModel
Parameters:
createDate - the create date of this journal article

getModifiedDate

Date getModifiedDate()
Returns the modified date of this journal article.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface StagedModel
Returns:
the modified date of this journal article

setModifiedDate

void setModifiedDate(Date modifiedDate)
Sets the modified date of this journal article.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface StagedModel
Parameters:
modifiedDate - the modified date of this journal article

getFolderId

long getFolderId()
Returns the folder ID of this journal article.

Returns:
the folder ID of this journal article

setFolderId

void setFolderId(long folderId)
Sets the folder ID of this journal article.

Parameters:
folderId - the folder ID of this journal article

getClassName

String getClassName()
Returns the fully qualified class name of this journal article.

Specified by:
getClassName in interface TypedModel
Returns:
the fully qualified class name of this journal article

setClassName

void setClassName(String className)

getClassNameId

long getClassNameId()
Returns the class name ID of this journal article.

Specified by:
getClassNameId in interface TypedModel
Returns:
the class name ID of this journal article

setClassNameId

void setClassNameId(long classNameId)
Sets the class name ID of this journal article.

Specified by:
setClassNameId in interface TypedModel
Parameters:
classNameId - the class name ID of this journal article

getClassPK

long getClassPK()
Returns the class p k of this journal article.

Specified by:
getClassPK in interface AttachedModel
Returns:
the class p k of this journal article

setClassPK

void setClassPK(long classPK)
Sets the class p k of this journal article.

Specified by:
setClassPK in interface AttachedModel
Parameters:
classPK - the class p k of this journal article

getTreePath

@AutoEscape
String getTreePath()
Returns the tree path of this journal article.

Returns:
the tree path of this journal article

setTreePath

void setTreePath(String treePath)
Sets the tree path of this journal article.

Parameters:
treePath - the tree path of this journal article

getArticleId

String getArticleId()
Returns the article ID of this journal article.

Returns:
the article ID of this journal article

setArticleId

void setArticleId(String articleId)
Sets the article ID of this journal article.

Parameters:
articleId - the article ID of this journal article

getVersion

double getVersion()
Returns the version of this journal article.

Returns:
the version of this journal article

setVersion

void setVersion(double version)
Sets the version of this journal article.

Parameters:
version - the version of this journal article

getTitle

String getTitle()
Returns the title of this journal article.

Returns:
the title of this journal article

getTitle

@AutoEscape
String getTitle(Locale locale)
Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized title of this journal article

getTitle

@AutoEscape
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.

Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized title of this journal article. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getTitle

@AutoEscape
String getTitle(String languageId)
Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized title of this journal article

getTitle

@AutoEscape
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.

Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized title of this journal article

getTitleCurrentLanguageId

@AutoEscape
String getTitleCurrentLanguageId()

getTitleCurrentValue

@AutoEscape
String getTitleCurrentValue()

getTitleMap

Map<Locale,String> getTitleMap()
Returns a map of the locales and localized titles of this journal article.

Returns:
the locales and localized titles of this journal article

setTitle

void setTitle(String title)
Sets the title of this journal article.

Parameters:
title - the title of this journal article

setTitle

void setTitle(String title,
              Locale locale)
Sets the localized title of this journal article in the language.

Parameters:
title - the localized title of this journal article
locale - the locale of the language

setTitle

void setTitle(String title,
              Locale locale,
              Locale defaultLocale)
Sets the localized title of this journal article in the language, and sets the default locale.

Parameters:
title - the localized title of this journal article
locale - the locale of the language
defaultLocale - the default locale

setTitleCurrentLanguageId

void setTitleCurrentLanguageId(String languageId)

setTitleMap

void setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this journal article from the map of locales and localized titles.

Parameters:
titleMap - the locales and localized titles of this journal article

setTitleMap

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.

Parameters:
titleMap - the locales and localized titles of this journal article
defaultLocale - the default locale

getUrlTitle

@AutoEscape
String getUrlTitle()
Returns the url title of this journal article.

Returns:
the url title of this journal article

setUrlTitle

void setUrlTitle(String urlTitle)
Sets the url title of this journal article.

Parameters:
urlTitle - the url title of this journal article

getDescription

String getDescription()
Returns the description of this journal article.

Returns:
the description of this journal article

getDescription

@AutoEscape
String getDescription(Locale locale)
Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized description of this journal article

getDescription

@AutoEscape
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.

Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this journal article. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getDescription

@AutoEscape
String getDescription(String languageId)
Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized description of this journal article

getDescription

@AutoEscape
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.

Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this journal article

getDescriptionCurrentLanguageId

@AutoEscape
String getDescriptionCurrentLanguageId()

getDescriptionCurrentValue

@AutoEscape
String getDescriptionCurrentValue()

getDescriptionMap

Map<Locale,String> getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal article.

Returns:
the locales and localized descriptions of this journal article

setDescription

void setDescription(String description)
Sets the description of this journal article.

Parameters:
description - the description of this journal article

setDescription

void setDescription(String description,
                    Locale locale)
Sets the localized description of this journal article in the language.

Parameters:
description - the localized description of this journal article
locale - the locale of the language

setDescription

void setDescription(String description,
                    Locale locale,
                    Locale defaultLocale)
Sets the localized description of this journal article in the language, and sets the default locale.

Parameters:
description - the localized description of this journal article
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

void setDescriptionCurrentLanguageId(String languageId)

setDescriptionMap

void setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this journal article from the map of locales and localized descriptions.

Parameters:
descriptionMap - the locales and localized descriptions of this journal article

setDescriptionMap

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.

Parameters:
descriptionMap - the locales and localized descriptions of this journal article
defaultLocale - the default locale

getContent

@AutoEscape
String getContent()
Returns the content of this journal article.

Returns:
the content of this journal article

setContent

void setContent(String content)
Sets the content of this journal article.

Parameters:
content - the content of this journal article

getType

@AutoEscape
String getType()
Returns the type of this journal article.

Returns:
the type of this journal article

setType

void setType(String type)
Sets the type of this journal article.

Parameters:
type - the type of this journal article

getStructureId

String getStructureId()
Returns the structure ID of this journal article.

Returns:
the structure ID of this journal article

setStructureId

void setStructureId(String structureId)
Sets the structure ID of this journal article.

Parameters:
structureId - the structure ID of this journal article

getTemplateId

String getTemplateId()
Returns the template ID of this journal article.

Returns:
the template ID of this journal article

setTemplateId

void setTemplateId(String templateId)
Sets the template ID of this journal article.

Parameters:
templateId - the template ID of this journal article

getLayoutUuid

@AutoEscape
String getLayoutUuid()
Returns the layout uuid of this journal article.

Returns:
the layout uuid of this journal article

setLayoutUuid

void setLayoutUuid(String layoutUuid)
Sets the layout uuid of this journal article.

Parameters:
layoutUuid - the layout uuid of this journal article

getDisplayDate

Date getDisplayDate()
Returns the display date of this journal article.

Returns:
the display date of this journal article

setDisplayDate

void setDisplayDate(Date displayDate)
Sets the display date of this journal article.

Parameters:
displayDate - the display date of this journal article

getExpirationDate

Date getExpirationDate()
Returns the expiration date of this journal article.

Returns:
the expiration date of this journal article

setExpirationDate

void setExpirationDate(Date expirationDate)
Sets the expiration date of this journal article.

Parameters:
expirationDate - the expiration date of this journal article

getReviewDate

Date getReviewDate()
Returns the review date of this journal article.

Returns:
the review date of this journal article

setReviewDate

void setReviewDate(Date reviewDate)
Sets the review date of this journal article.

Parameters:
reviewDate - the review date of this journal article

getIndexable

boolean getIndexable()
Returns the indexable of this journal article.

Returns:
the indexable of this journal article

isIndexable

boolean isIndexable()
Returns true if this journal article is indexable.

Returns:
true if this journal article is indexable; false otherwise

setIndexable

void setIndexable(boolean indexable)
Sets whether this journal article is indexable.

Parameters:
indexable - the indexable of this journal article

getSmallImage

boolean getSmallImage()
Returns the small image of this journal article.

Returns:
the small image of this journal article

isSmallImage

boolean isSmallImage()
Returns true if this journal article is small image.

Returns:
true if this journal article is small image; false otherwise

setSmallImage

void setSmallImage(boolean smallImage)
Sets whether this journal article is small image.

Parameters:
smallImage - the small image of this journal article

getSmallImageId

long getSmallImageId()
Returns the small image ID of this journal article.

Returns:
the small image ID of this journal article

setSmallImageId

void setSmallImageId(long smallImageId)
Sets the small image ID of this journal article.

Parameters:
smallImageId - the small image ID of this journal article

getSmallImageURL

@AutoEscape
String getSmallImageURL()
Returns the small image u r l of this journal article.

Returns:
the small image u r l of this journal article

setSmallImageURL

void setSmallImageURL(String smallImageURL)
Sets the small image u r l of this journal article.

Parameters:
smallImageURL - the small image u r l of this journal article

getStatus

int getStatus()
Returns the status of this journal article.

Specified by:
getStatus in interface TrashedModel
Specified by:
getStatus in interface WorkflowedModel
Returns:
the status of this journal article

setStatus

void setStatus(int status)
Sets the status of this journal article.

Specified by:
setStatus in interface WorkflowedModel
Parameters:
status - the status of this journal article

getStatusByUserId

long getStatusByUserId()
Returns the status by user ID of this journal article.

Specified by:
getStatusByUserId in interface WorkflowedModel
Returns:
the status by user ID of this journal article

setStatusByUserId

void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this journal article.

Specified by:
setStatusByUserId in interface WorkflowedModel
Parameters:
statusByUserId - the status by user ID of this journal article

getStatusByUserUuid

String getStatusByUserUuid()
                           throws SystemException
Returns the status by user uuid of this journal article.

Specified by:
getStatusByUserUuid in interface WorkflowedModel
Returns:
the status by user uuid of this journal article
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

void setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this journal article.

Specified by:
setStatusByUserUuid in interface WorkflowedModel
Parameters:
statusByUserUuid - the status by user uuid of this journal article

getStatusByUserName

@AutoEscape
String getStatusByUserName()
Returns the status by user name of this journal article.

Specified by:
getStatusByUserName in interface WorkflowedModel
Returns:
the status by user name of this journal article

setStatusByUserName

void setStatusByUserName(String statusByUserName)
Sets the status by user name of this journal article.

Specified by:
setStatusByUserName in interface WorkflowedModel
Parameters:
statusByUserName - the status by user name of this journal article

getStatusDate

Date getStatusDate()
Returns the status date of this journal article.

Specified by:
getStatusDate in interface WorkflowedModel
Returns:
the status date of this journal article

setStatusDate

void setStatusDate(Date statusDate)
Sets the status date of this journal article.

Specified by:
setStatusDate in interface WorkflowedModel
Parameters:
statusDate - the status date of this journal article

getTrashEntry

TrashEntry getTrashEntry()
                         throws PortalException,
                                SystemException
Returns the trash entry created when this journal article was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal article.

Specified by:
getTrashEntry in interface TrashedModel
Returns:
the trash entry created when this journal article was moved to the Recycle Bin
Throws:
SystemException - if a system exception occurred
PortalException

getTrashEntryClassPK

long getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal article.

Specified by:
getTrashEntryClassPK in interface TrashedModel
Returns:
the class primary key of the trash entry for this journal article

getTrashHandler

TrashHandler getTrashHandler()
Returns the trash handler for this journal article.

Specified by:
getTrashHandler in interface TrashedModel
Returns:
the trash handler for this journal article

isInTrash

boolean isInTrash()
Returns true if this journal article is in the Recycle Bin.

Specified by:
isInTrash in interface TrashedModel
Returns:
true if this journal article is in the Recycle Bin; false otherwise

isInTrashContainer

boolean isInTrashContainer()
Returns true if the parent of this journal article is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Returns:
true if the parent of this journal article is in the Recycle Bin; false otherwise
Throws:
SystemException - if a system exception occurred

getApproved

boolean getApproved()
Deprecated. As of 6.1.0, replaced by isApproved()

Specified by:
getApproved in interface WorkflowedModel

isApproved

boolean isApproved()
Returns true if this journal article is approved.

Specified by:
isApproved in interface WorkflowedModel
Returns:
true if this journal article is approved; false otherwise

isDenied

boolean isDenied()
Returns true if this journal article is denied.

Specified by:
isDenied in interface WorkflowedModel
Returns:
true if this journal article is denied; false otherwise

isDraft

boolean isDraft()
Returns true if this journal article is a draft.

Specified by:
isDraft in interface WorkflowedModel
Returns:
true if this journal article is a draft; false otherwise

isExpired

boolean isExpired()
Returns true if this journal article is expired.

Specified by:
isExpired in interface WorkflowedModel
Returns:
true if this journal article is expired; false otherwise

isInactive

boolean isInactive()
Returns true if this journal article is inactive.

Specified by:
isInactive in interface WorkflowedModel
Returns:
true if this journal article is inactive; false otherwise

isIncomplete

boolean isIncomplete()
Returns true if this journal article is incomplete.

Specified by:
isIncomplete in interface WorkflowedModel
Returns:
true if this journal article is incomplete; false otherwise

isPending

boolean isPending()
Returns true if this journal article is pending.

Specified by:
isPending in interface WorkflowedModel
Returns:
true if this journal article is pending; false otherwise

isScheduled

boolean isScheduled()
Returns true if this journal article is scheduled.

Specified by:
isScheduled in interface WorkflowedModel
Returns:
true if this journal article is scheduled; false otherwise

isNew

boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalArticle>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalArticle>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalArticle>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalArticle>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalArticle>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalArticle>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<JournalArticle>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalArticle>
Specified by:
getExpandoBridge in interface ClassedModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

getAvailableLanguageIds

String[] getAvailableLanguageIds()

getDefaultLanguageId

String getDefaultLanguageId()

prepareLocalizedFieldsForImport

void prepareLocalizedFieldsForImport()
                                     throws LocaleException
Throws:
LocaleException

prepareLocalizedFieldsForImport

void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Throws:
LocaleException

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalArticle>
Specified by:
clone in interface StagedModel
Returns:
the shallow clone of this model instance

compareTo

int compareTo(JournalArticle journalArticle)
Specified by:
compareTo in interface Comparable<JournalArticle>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

CacheModel<JournalArticle> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<JournalArticle>
Returns:
the cache model object

toEscapedModel

JournalArticle toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<JournalArticle>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

JournalArticle toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<JournalArticle>

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalArticle>
Returns:
the XML representation of this model instance

Liferay 6.2.0