Liferay 6.2-ce-ga5

com.liferay.portlet.journal.model.impl
Class JournalArticleModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<JournalArticle>
      extended by com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<JournalArticle>, ClassedModel, GroupedModel, ResourcedModel, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, WorkflowedModel, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>
Direct Known Subclasses:
JournalArticleBaseImpl

@JSON(strict=true)
public class JournalArticleModelImpl
extends BaseModelImpl<JournalArticle>
implements JournalArticleModel

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.

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

Field Summary
static long ARTICLEID_COLUMN_BITMASK
           
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static long DISPLAYDATE_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long FOLDERID_COLUMN_BITMASK
           
static long GROUPID_COLUMN_BITMASK
           
static long INDEXABLE_COLUMN_BITMASK
           
static long LAYOUTUUID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long RESOURCEPRIMKEY_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long SMALLIMAGEID_COLUMN_BITMASK
           
static long STATUS_COLUMN_BITMASK
           
static long STRUCTUREID_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static long TEMPLATEID_COLUMN_BITMASK
           
static String TX_MANAGER
           
static long URLTITLE_COLUMN_BITMASK
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
static long VERSION_COLUMN_BITMASK
           
 
Constructor 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

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ARTICLEID_COLUMN_BITMASK

public static long ARTICLEID_COLUMN_BITMASK

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

DISPLAYDATE_COLUMN_BITMASK

public static long DISPLAYDATE_COLUMN_BITMASK

FOLDERID_COLUMN_BITMASK

public static long FOLDERID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

INDEXABLE_COLUMN_BITMASK

public static long INDEXABLE_COLUMN_BITMASK

LAYOUTUUID_COLUMN_BITMASK

public static long LAYOUTUUID_COLUMN_BITMASK

RESOURCEPRIMKEY_COLUMN_BITMASK

public static long RESOURCEPRIMKEY_COLUMN_BITMASK

SMALLIMAGEID_COLUMN_BITMASK

public static long SMALLIMAGEID_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

STRUCTUREID_COLUMN_BITMASK

public static long STRUCTUREID_COLUMN_BITMASK

TEMPLATEID_COLUMN_BITMASK

public static long TEMPLATEID_COLUMN_BITMASK

URLTITLE_COLUMN_BITMASK

public static long URLTITLE_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

VERSION_COLUMN_BITMASK

public static long VERSION_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

JournalArticleModelImpl

public JournalArticleModelImpl()
Method Detail

toModel

public static JournalArticle toModel(JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalArticleModel
Returns the primary key of this journal article.

Specified by:
getPrimaryKey in interface JournalArticleModel
Returns:
the primary key of this journal article

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: JournalArticleModel
Sets the primary key of this journal article.

Specified by:
setPrimaryKey in interface JournalArticleModel
Parameters:
primaryKey - the primary key of this journal article

getPrimaryKeyObj

public 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
Specified by:
getPrimaryKeyObj in interface JournalArticleModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public 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
Specified by:
setPrimaryKeyObj in interface JournalArticleModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<JournalArticle>
Overrides:
getModelAttributes in class BaseModelImpl<JournalArticle>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<JournalArticle>
Overrides:
setModelAttributes in class BaseModelImpl<JournalArticle>

getUuid

@JSON
public String getUuid()
Description copied from interface: JournalArticleModel
Returns the uuid of this journal article.

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

setUuid

public void setUuid(String uuid)
Description copied from interface: JournalArticleModel
Sets the uuid of this journal article.

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

getOriginalUuid

public String getOriginalUuid()

getId

@JSON
public long getId()
Description copied from interface: JournalArticleModel
Returns the ID of this journal article.

Specified by:
getId in interface JournalArticleModel
Returns:
the ID of this journal article

setId

public void setId(long id)
Description copied from interface: JournalArticleModel
Sets the ID of this journal article.

Specified by:
setId in interface JournalArticleModel
Parameters:
id - the ID of this journal article

getResourcePrimKey

@JSON
public long getResourcePrimKey()
Description copied from interface: JournalArticleModel
Returns the resource prim key of this journal article.

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

setResourcePrimKey

public void setResourcePrimKey(long resourcePrimKey)
Description copied from interface: JournalArticleModel
Sets the resource prim key of this journal article.

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

isResourceMain

public boolean isResourceMain()
Specified by:
isResourceMain in interface ResourcedModel
Specified by:
isResourceMain in interface JournalArticleModel

getOriginalResourcePrimKey

public long getOriginalResourcePrimKey()

getGroupId

@JSON
public long getGroupId()
Description copied from interface: JournalArticleModel
Returns the group ID of this journal article.

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

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalArticleModel
Sets the group ID of this journal article.

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: JournalArticleModel
Returns the company ID of this journal article.

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

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: JournalArticleModel
Sets the company ID of this journal article.

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

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: JournalArticleModel
Returns the user ID of this journal article.

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

setUserId

public void setUserId(long userId)
Description copied from interface: JournalArticleModel
Sets the user ID of this journal article.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: JournalArticleModel
Returns the user uuid of this journal article.

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

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: JournalArticleModel
Sets the user uuid of this journal article.

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

getOriginalUserId

public long getOriginalUserId()

getUserName

@JSON
public String getUserName()
Description copied from interface: JournalArticleModel
Returns the user name of this journal article.

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

setUserName

public void setUserName(String userName)
Description copied from interface: JournalArticleModel
Sets the user name of this journal article.

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

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: JournalArticleModel
Returns the create date of this journal article.

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

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: JournalArticleModel
Sets the create date of this journal article.

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

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: JournalArticleModel
Returns the modified date of this journal article.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: JournalArticleModel
Sets the modified date of this journal article.

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

getFolderId

@JSON
public long getFolderId()
Description copied from interface: JournalArticleModel
Returns the folder ID of this journal article.

Specified by:
getFolderId in interface JournalArticleModel
Returns:
the folder ID of this journal article

setFolderId

public void setFolderId(long folderId)
Description copied from interface: JournalArticleModel
Sets the folder ID of this journal article.

Specified by:
setFolderId in interface JournalArticleModel
Parameters:
folderId - the folder ID of this journal article

getOriginalFolderId

public long getOriginalFolderId()

getClassName

public String getClassName()
Description copied from interface: JournalArticleModel
Returns the fully qualified class name of this journal article.

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

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface JournalArticleModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: JournalArticleModel
Returns the class name ID of this journal article.

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

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: JournalArticleModel
Sets the class name ID of this journal article.

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

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Description copied from interface: JournalArticleModel
Returns the class p k of this journal article.

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

setClassPK

public void setClassPK(long classPK)
Description copied from interface: JournalArticleModel
Sets the class p k of this journal article.

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

getOriginalClassPK

public long getOriginalClassPK()

getTreePath

@JSON
public String getTreePath()
Description copied from interface: JournalArticleModel
Returns the tree path of this journal article.

Specified by:
getTreePath in interface JournalArticleModel
Returns:
the tree path of this journal article

setTreePath

public void setTreePath(String treePath)
Description copied from interface: JournalArticleModel
Sets the tree path of this journal article.

Specified by:
setTreePath in interface JournalArticleModel
Parameters:
treePath - the tree path of this journal article

getArticleId

@JSON
public String getArticleId()
Description copied from interface: JournalArticleModel
Returns the article ID of this journal article.

Specified by:
getArticleId in interface JournalArticleModel
Returns:
the article ID of this journal article

setArticleId

public void setArticleId(String articleId)
Description copied from interface: JournalArticleModel
Sets the article ID of this journal article.

Specified by:
setArticleId in interface JournalArticleModel
Parameters:
articleId - the article ID of this journal article

getOriginalArticleId

public String getOriginalArticleId()

getVersion

@JSON
public double getVersion()
Description copied from interface: JournalArticleModel
Returns the version of this journal article.

Specified by:
getVersion in interface JournalArticleModel
Returns:
the version of this journal article

setVersion

public void setVersion(double version)
Description copied from interface: JournalArticleModel
Sets the version of this journal article.

Specified by:
setVersion in interface JournalArticleModel
Parameters:
version - the version of this journal article

getOriginalVersion

public double getOriginalVersion()

getTitle

@JSON
public String getTitle()
Description copied from interface: JournalArticleModel
Returns the title of this journal article.

Specified by:
getTitle in interface JournalArticleModel
Returns:
the title of this journal article

getTitle

public String getTitle(Locale locale)
Description copied from interface: JournalArticleModel
Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getTitle in interface JournalArticleModel
Parameters:
locale - the locale of the language
Returns:
the localized title of this journal article

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Description copied from interface: JournalArticleModel
Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getTitle in interface JournalArticleModel
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

public String getTitle(String languageId)
Description copied from interface: JournalArticleModel
Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getTitle in interface JournalArticleModel
Parameters:
languageId - the ID of the language
Returns:
the localized title of this journal article

getTitle

public String getTitle(String languageId,
                       boolean useDefault)
Description copied from interface: JournalArticleModel
Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getTitle in interface JournalArticleModel
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

public String getTitleCurrentLanguageId()
Specified by:
getTitleCurrentLanguageId in interface JournalArticleModel

getTitleCurrentValue

@JSON
public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface JournalArticleModel

getTitleMap

public Map<Locale,String> getTitleMap()
Description copied from interface: JournalArticleModel
Returns a map of the locales and localized titles of this journal article.

Specified by:
getTitleMap in interface JournalArticleModel
Returns:
the locales and localized titles of this journal article

setTitle

public void setTitle(String title)
Description copied from interface: JournalArticleModel
Sets the title of this journal article.

Specified by:
setTitle in interface JournalArticleModel
Parameters:
title - the title of this journal article

setTitle

public void setTitle(String title,
                     Locale locale)
Description copied from interface: JournalArticleModel
Sets the localized title of this journal article in the language.

Specified by:
setTitle in interface JournalArticleModel
Parameters:
title - the localized title of this journal article
locale - the locale of the language

setTitle

public void setTitle(String title,
                     Locale locale,
                     Locale defaultLocale)
Description copied from interface: JournalArticleModel
Sets the localized title of this journal article in the language, and sets the default locale.

Specified by:
setTitle in interface JournalArticleModel
Parameters:
title - the localized title of this journal article
locale - the locale of the language
defaultLocale - the default locale

setTitleCurrentLanguageId

public void setTitleCurrentLanguageId(String languageId)
Specified by:
setTitleCurrentLanguageId in interface JournalArticleModel

setTitleMap

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

Specified by:
setTitleMap in interface JournalArticleModel
Parameters:
titleMap - the locales and localized titles of this journal article

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap,
                        Locale defaultLocale)
Description copied from interface: JournalArticleModel
Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.

Specified by:
setTitleMap in interface JournalArticleModel
Parameters:
titleMap - the locales and localized titles of this journal article
defaultLocale - the default locale

getUrlTitle

@JSON
public String getUrlTitle()
Description copied from interface: JournalArticleModel
Returns the url title of this journal article.

Specified by:
getUrlTitle in interface JournalArticleModel
Returns:
the url title of this journal article

setUrlTitle

public void setUrlTitle(String urlTitle)
Description copied from interface: JournalArticleModel
Sets the url title of this journal article.

Specified by:
setUrlTitle in interface JournalArticleModel
Parameters:
urlTitle - the url title of this journal article

getOriginalUrlTitle

public String getOriginalUrlTitle()

getDescription

@JSON
public String getDescription()
Description copied from interface: JournalArticleModel
Returns the description of this journal article.

Specified by:
getDescription in interface JournalArticleModel
Returns:
the description of this journal article

getDescription

public String getDescription(Locale locale)
Description copied from interface: JournalArticleModel
Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface JournalArticleModel
Parameters:
locale - the locale of the language
Returns:
the localized description of this journal article

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Description copied from interface: JournalArticleModel
Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface JournalArticleModel
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

public String getDescription(String languageId)
Description copied from interface: JournalArticleModel
Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface JournalArticleModel
Parameters:
languageId - the ID of the language
Returns:
the localized description of this journal article

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Description copied from interface: JournalArticleModel
Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface JournalArticleModel
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

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface JournalArticleModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface JournalArticleModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Description copied from interface: JournalArticleModel
Returns a map of the locales and localized descriptions of this journal article.

Specified by:
getDescriptionMap in interface JournalArticleModel
Returns:
the locales and localized descriptions of this journal article

setDescription

public void setDescription(String description)
Description copied from interface: JournalArticleModel
Sets the description of this journal article.

Specified by:
setDescription in interface JournalArticleModel
Parameters:
description - the description of this journal article

setDescription

public void setDescription(String description,
                           Locale locale)
Description copied from interface: JournalArticleModel
Sets the localized description of this journal article in the language.

Specified by:
setDescription in interface JournalArticleModel
Parameters:
description - the localized description of this journal article
locale - the locale of the language

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Description copied from interface: JournalArticleModel
Sets the localized description of this journal article in the language, and sets the default locale.

Specified by:
setDescription in interface JournalArticleModel
Parameters:
description - the localized description of this journal article
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface JournalArticleModel

setDescriptionMap

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

Specified by:
setDescriptionMap in interface JournalArticleModel
Parameters:
descriptionMap - the locales and localized descriptions of this journal article

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Description copied from interface: JournalArticleModel
Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.

Specified by:
setDescriptionMap in interface JournalArticleModel
Parameters:
descriptionMap - the locales and localized descriptions of this journal article
defaultLocale - the default locale

getContent

@JSON
public String getContent()
Description copied from interface: JournalArticleModel
Returns the content of this journal article.

Specified by:
getContent in interface JournalArticleModel
Returns:
the content of this journal article

setContent

public void setContent(String content)
Description copied from interface: JournalArticleModel
Sets the content of this journal article.

Specified by:
setContent in interface JournalArticleModel
Parameters:
content - the content of this journal article

getType

@JSON
public String getType()
Description copied from interface: JournalArticleModel
Returns the type of this journal article.

Specified by:
getType in interface JournalArticleModel
Returns:
the type of this journal article

setType

public void setType(String type)
Description copied from interface: JournalArticleModel
Sets the type of this journal article.

Specified by:
setType in interface JournalArticleModel
Parameters:
type - the type of this journal article

getStructureId

@JSON
public String getStructureId()
Description copied from interface: JournalArticleModel
Returns the structure ID of this journal article.

Specified by:
getStructureId in interface JournalArticleModel
Returns:
the structure ID of this journal article

setStructureId

public void setStructureId(String structureId)
Description copied from interface: JournalArticleModel
Sets the structure ID of this journal article.

Specified by:
setStructureId in interface JournalArticleModel
Parameters:
structureId - the structure ID of this journal article

getOriginalStructureId

public String getOriginalStructureId()

getTemplateId

@JSON
public String getTemplateId()
Description copied from interface: JournalArticleModel
Returns the template ID of this journal article.

Specified by:
getTemplateId in interface JournalArticleModel
Returns:
the template ID of this journal article

setTemplateId

public void setTemplateId(String templateId)
Description copied from interface: JournalArticleModel
Sets the template ID of this journal article.

Specified by:
setTemplateId in interface JournalArticleModel
Parameters:
templateId - the template ID of this journal article

getOriginalTemplateId

public String getOriginalTemplateId()

getLayoutUuid

@JSON
public String getLayoutUuid()
Description copied from interface: JournalArticleModel
Returns the layout uuid of this journal article.

Specified by:
getLayoutUuid in interface JournalArticleModel
Returns:
the layout uuid of this journal article

setLayoutUuid

public void setLayoutUuid(String layoutUuid)
Description copied from interface: JournalArticleModel
Sets the layout uuid of this journal article.

Specified by:
setLayoutUuid in interface JournalArticleModel
Parameters:
layoutUuid - the layout uuid of this journal article

getOriginalLayoutUuid

public String getOriginalLayoutUuid()

getDisplayDate

@JSON
public Date getDisplayDate()
Description copied from interface: JournalArticleModel
Returns the display date of this journal article.

Specified by:
getDisplayDate in interface JournalArticleModel
Returns:
the display date of this journal article

setDisplayDate

public void setDisplayDate(Date displayDate)
Description copied from interface: JournalArticleModel
Sets the display date of this journal article.

Specified by:
setDisplayDate in interface JournalArticleModel
Parameters:
displayDate - the display date of this journal article

getOriginalDisplayDate

public Date getOriginalDisplayDate()

getExpirationDate

@JSON
public Date getExpirationDate()
Description copied from interface: JournalArticleModel
Returns the expiration date of this journal article.

Specified by:
getExpirationDate in interface JournalArticleModel
Returns:
the expiration date of this journal article

setExpirationDate

public void setExpirationDate(Date expirationDate)
Description copied from interface: JournalArticleModel
Sets the expiration date of this journal article.

Specified by:
setExpirationDate in interface JournalArticleModel
Parameters:
expirationDate - the expiration date of this journal article

getReviewDate

@JSON
public Date getReviewDate()
Description copied from interface: JournalArticleModel
Returns the review date of this journal article.

Specified by:
getReviewDate in interface JournalArticleModel
Returns:
the review date of this journal article

setReviewDate

public void setReviewDate(Date reviewDate)
Description copied from interface: JournalArticleModel
Sets the review date of this journal article.

Specified by:
setReviewDate in interface JournalArticleModel
Parameters:
reviewDate - the review date of this journal article

getIndexable

@JSON
public boolean getIndexable()
Description copied from interface: JournalArticleModel
Returns the indexable of this journal article.

Specified by:
getIndexable in interface JournalArticleModel
Returns:
the indexable of this journal article

isIndexable

public boolean isIndexable()
Description copied from interface: JournalArticleModel
Returns true if this journal article is indexable.

Specified by:
isIndexable in interface JournalArticleModel
Returns:
true if this journal article is indexable; false otherwise

setIndexable

public void setIndexable(boolean indexable)
Description copied from interface: JournalArticleModel
Sets whether this journal article is indexable.

Specified by:
setIndexable in interface JournalArticleModel
Parameters:
indexable - the indexable of this journal article

getOriginalIndexable

public boolean getOriginalIndexable()

getSmallImage

@JSON
public boolean getSmallImage()
Description copied from interface: JournalArticleModel
Returns the small image of this journal article.

Specified by:
getSmallImage in interface JournalArticleModel
Returns:
the small image of this journal article

isSmallImage

public boolean isSmallImage()
Description copied from interface: JournalArticleModel
Returns true if this journal article is small image.

Specified by:
isSmallImage in interface JournalArticleModel
Returns:
true if this journal article is small image; false otherwise

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: JournalArticleModel
Sets whether this journal article is small image.

Specified by:
setSmallImage in interface JournalArticleModel
Parameters:
smallImage - the small image of this journal article

getSmallImageId

@JSON
public long getSmallImageId()
Description copied from interface: JournalArticleModel
Returns the small image ID of this journal article.

Specified by:
getSmallImageId in interface JournalArticleModel
Returns:
the small image ID of this journal article

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: JournalArticleModel
Sets the small image ID of this journal article.

Specified by:
setSmallImageId in interface JournalArticleModel
Parameters:
smallImageId - the small image ID of this journal article

getOriginalSmallImageId

public long getOriginalSmallImageId()

getSmallImageURL

@JSON
public String getSmallImageURL()
Description copied from interface: JournalArticleModel
Returns the small image u r l of this journal article.

Specified by:
getSmallImageURL in interface JournalArticleModel
Returns:
the small image u r l of this journal article

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Description copied from interface: JournalArticleModel
Sets the small image u r l of this journal article.

Specified by:
setSmallImageURL in interface JournalArticleModel
Parameters:
smallImageURL - the small image u r l of this journal article

getStatus

@JSON
public int getStatus()
Description copied from interface: JournalArticleModel
Returns the status of this journal article.

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

setStatus

public void setStatus(int status)
Description copied from interface: JournalArticleModel
Sets the status of this journal article.

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

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Description copied from interface: JournalArticleModel
Returns the status by user ID of this journal article.

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

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: JournalArticleModel
Sets the status by user ID of this journal article.

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

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: JournalArticleModel
Returns the status by user uuid of this journal article.

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

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: JournalArticleModel
Sets the status by user uuid of this journal article.

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

getStatusByUserName

@JSON
public String getStatusByUserName()
Description copied from interface: JournalArticleModel
Returns the status by user name of this journal article.

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

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: JournalArticleModel
Sets the status by user name of this journal article.

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

getStatusDate

@JSON
public Date getStatusDate()
Description copied from interface: JournalArticleModel
Returns the status date of this journal article.

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

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: JournalArticleModel
Sets the status date of this journal article.

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

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getTrashEntry

public TrashEntry getTrashEntry()
                         throws PortalException,
                                SystemException
Description copied from interface: JournalArticleModel
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
Specified by:
getTrashEntry in interface JournalArticleModel
Returns:
the trash entry created when this journal article was moved to the Recycle Bin
Throws:
SystemException - if a system exception occurred
PortalException

getTrashEntryClassPK

public long getTrashEntryClassPK()
Description copied from interface: JournalArticleModel
Returns the class primary key of the trash entry for this journal article.

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

getTrashHandler

public TrashHandler getTrashHandler()
Description copied from interface: JournalArticleModel
Returns the trash handler for this journal article.

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

isInTrash

public boolean isInTrash()
Description copied from interface: JournalArticleModel
Returns true if this journal article is in the Recycle Bin.

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

isInTrashContainer

public boolean isInTrashContainer()
Description copied from interface: JournalArticleModel
Returns true if the parent of this journal article is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Specified by:
isInTrashContainer in interface JournalArticleModel
Returns:
true if the parent of this journal article is in the Recycle Bin; false otherwise

getApproved

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

Specified by:
getApproved in interface WorkflowedModel
Specified by:
getApproved in interface JournalArticleModel

isApproved

public boolean isApproved()
Description copied from interface: JournalArticleModel
Returns true if this journal article is approved.

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

isDenied

public boolean isDenied()
Description copied from interface: JournalArticleModel
Returns true if this journal article is denied.

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

isDraft

public boolean isDraft()
Description copied from interface: JournalArticleModel
Returns true if this journal article is a draft.

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

isExpired

public boolean isExpired()
Description copied from interface: JournalArticleModel
Returns true if this journal article is expired.

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

isInactive

public boolean isInactive()
Description copied from interface: JournalArticleModel
Returns true if this journal article is inactive.

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

isIncomplete

public boolean isIncomplete()
Description copied from interface: JournalArticleModel
Returns true if this journal article is incomplete.

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

isPending

public boolean isPending()
Description copied from interface: JournalArticleModel
Returns true if this journal article is pending.

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

isScheduled

public boolean isScheduled()
Description copied from interface: JournalArticleModel
Returns true if this journal article is scheduled.

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

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public 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
Specified by:
getExpandoBridge in interface JournalArticleModel
Overrides:
getExpandoBridge in class BaseModelImpl<JournalArticle>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public 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>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<JournalArticle>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface JournalArticleModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface JournalArticleModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface JournalArticleModel
Throws:
LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface JournalArticleModel
Throws:
LocaleException

toEscapedModel

public 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>
Specified by:
toEscapedModel in interface JournalArticleModel
Overrides:
toEscapedModel in class BaseModelImpl<JournalArticle>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

public 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
Specified by:
clone in interface JournalArticleModel
Specified by:
clone in class BaseModelImpl<JournalArticle>
Returns:
the shallow clone of this model instance

compareTo

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalArticleModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<JournalArticle>
Overrides:
resetOriginalValues in class BaseModelImpl<JournalArticle>

toCacheModel

public 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>
Specified by:
toCacheModel in interface JournalArticleModel
Overrides:
toCacheModel in class BaseModelImpl<JournalArticle>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface JournalArticleModel
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.2-ce-ga5