Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.model
Interface JournalArticleModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<JournalArticle>, ClassedModel, Cloneable, Comparable<JournalArticle>, GroupedModel, ResourcedModel, Serializable, WorkflowedModel
All Known Subinterfaces:
JournalArticle
All Known Implementing Classes:
JournalArticleWrapper

public interface JournalArticleModel
extends AttachedModel, BaseModel<JournalArticle>, GroupedModel, ResourcedModel, 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

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticle journalArticle)
           
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 String getArticleId()
          Returns the article ID of this journal article.
 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 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 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 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.
 Date getModifiedDate()
          Returns the modified date of this journal article.
 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.
 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.
 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 isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isDenied()
          Returns true if this journal article is denied.
 boolean isDraft()
          Returns true if this journal article is a draft.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 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 isNew()
          Returns true if this model instance does not yet exist in the database.
 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(Locale defaultImportLocale)
           
 void setArticleId(String articleId)
          Sets the article ID of this journal article.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 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 setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal article.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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 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.
 String toString()
           
 JournalArticle toUnescapedModel()
           
 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
 

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.

Returns:
the uuid of this journal article

setUuid

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

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.

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
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
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
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
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
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
Parameters:
modifiedDate - the modified date of this journal article

getClassName

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

Specified by:
getClassName in interface AttachedModel
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 AttachedModel
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 AttachedModel
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

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

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.

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

getApproved

boolean getApproved()
Deprecated. Renamed to isApproved()


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.

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.

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

isIncomplete

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

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.

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(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
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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>
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.1.2-ce-ga3