Liferay 6.0.5

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:
BaseModel<JournalArticle>, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>
Direct Known Subclasses:
JournalArticleImpl

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.

Never modify or reference this class directly. All methods that expect a journal article model instance should use the JournalArticle interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
JournalArticleModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticle journalArticle)
           
 boolean equals(Object obj)
           
 String getArticleId()
          Gets the article id of this journal article.
 long getCompanyId()
          Gets the company id of this journal article.
 String getContent()
          Gets the content of this journal article.
 Date getCreateDate()
          Gets the create date of this journal article.
 String getDescription()
          Gets the description of this journal article.
 Date getDisplayDate()
          Gets the display date of this journal article.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
          Gets the expiration date of this journal article.
 long getGroupId()
          Gets the group id of this journal article.
 long getId()
          Gets the id of this journal article.
 boolean getIndexable()
          Gets the indexable of this journal article.
 Date getModifiedDate()
          Gets the modified date of this journal article.
 String getOriginalArticleId()
           
 long getOriginalGroupId()
           
 String getOriginalUuid()
           
 double getOriginalVersion()
           
 long getPrimaryKey()
          Gets the primary key of this journal article.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getResourcePrimKey()
          Gets the resource prim key of this journal article.
 Date getReviewDate()
          Gets the review date of this journal article.
 boolean getSmallImage()
          Gets the small image of this journal article.
 long getSmallImageId()
          Gets the small image id of this journal article.
 String getSmallImageURL()
          Gets the small image u r l of this journal article.
 int getStatus()
          Gets the status of this journal article.
 long getStatusByUserId()
          Gets the status by user id of this journal article.
 String getStatusByUserName()
          Gets the status by user name of this journal article.
 String getStatusByUserUuid()
          Gets the status by user uuid of this journal article.
 Date getStatusDate()
          Gets the status date of this journal article.
 String getStructureId()
          Gets the structure id of this journal article.
 String getTemplateId()
          Gets the template id of this journal article.
 String getTitle()
          Gets the title of this journal article.
 String getType()
          Gets the type of this journal article.
 String getUrlTitle()
          Gets the url title of this journal article.
 long getUserId()
          Gets the user id of this journal article.
 String getUserName()
          Gets the user name of this journal article.
 String getUserUuid()
          Gets the user uuid of this journal article.
 String getUuid()
          Gets the uuid of this journal article.
 double getVersion()
          Gets the version of this journal article.
 int hashCode()
           
 boolean isApproved()
          Determines whether this journal article is approved.
 boolean isDraft()
          Determines whether this journal article is a draft.
 boolean isExpired()
          Determines whether this journal article is expired.
 boolean isIndexable()
          Determines whether this journal article is indexable.
 boolean isPending()
          Determines whether this journal article is pending.
 boolean isSmallImage()
          Determines whether this journal article is small image.
 void setArticleId(String articleId)
          Sets the article id 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 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 {$entity.humanName} is indexable.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal article.
 void setPrimaryKey(long pk)
          Sets the primary key of this journal article
 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 {$entity.humanName} 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 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.
 JournalArticle toEscapedModel()
          Gets a copy of this journal article 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()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
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, setEscapedModel, setNew
 

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

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
Gets 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 pk)
Description copied from interface: JournalArticleModel
Sets the primary key of this journal article

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

getPrimaryKeyObj

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

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

getUuid

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

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 JournalArticleModel
Parameters:
uuid - the uuid of this journal article

getOriginalUuid

public String getOriginalUuid()

getId

public long getId()
Description copied from interface: JournalArticleModel
Gets 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

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

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 JournalArticleModel
Parameters:
resourcePrimKey - the resource prim key of this journal article

getGroupId

public long getGroupId()
Description copied from interface: JournalArticleModel
Gets the group id of this journal article.

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 JournalArticleModel
Parameters:
groupId - the group id of this journal article

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: JournalArticleModel
Gets the company id of this journal article.

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 JournalArticleModel
Parameters:
companyId - the company id of this journal article

getUserId

public long getUserId()
Description copied from interface: JournalArticleModel
Gets the user id of this journal article.

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 JournalArticleModel
Parameters:
userId - the user id of this journal article

getUserUuid

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

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 JournalArticleModel
Parameters:
userUuid - the user uuid of this journal article

getUserName

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

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 JournalArticleModel
Parameters:
userName - the user name of this journal article

getCreateDate

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

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 JournalArticleModel
Parameters:
createDate - the create date of this journal article

getModifiedDate

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

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

getArticleId

public String getArticleId()
Description copied from interface: JournalArticleModel
Gets 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

public double getVersion()
Description copied from interface: JournalArticleModel
Gets 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

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

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

getUrlTitle

public String getUrlTitle()
Description copied from interface: JournalArticleModel
Gets 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

getDescription

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

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

getContent

public String getContent()
Description copied from interface: JournalArticleModel
Gets 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

public String getType()
Description copied from interface: JournalArticleModel
Gets 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

public String getStructureId()
Description copied from interface: JournalArticleModel
Gets 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

getTemplateId

public String getTemplateId()
Description copied from interface: JournalArticleModel
Gets 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

getDisplayDate

public Date getDisplayDate()
Description copied from interface: JournalArticleModel
Gets 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

getExpirationDate

public Date getExpirationDate()
Description copied from interface: JournalArticleModel
Gets 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

public Date getReviewDate()
Description copied from interface: JournalArticleModel
Gets 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

public boolean getIndexable()
Description copied from interface: JournalArticleModel
Gets 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
Determines whether this journal article is indexable.

Specified by:
isIndexable in interface JournalArticleModel
Returns:
whether this journal article is indexable

setIndexable

public void setIndexable(boolean indexable)
Description copied from interface: JournalArticleModel
Sets whether this {$entity.humanName} is indexable.

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

getSmallImage

public boolean getSmallImage()
Description copied from interface: JournalArticleModel
Gets 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
Determines whether this journal article is small image.

Specified by:
isSmallImage in interface JournalArticleModel
Returns:
whether this journal article is small image

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: JournalArticleModel
Sets whether this {$entity.humanName} is small image.

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

getSmallImageId

public long getSmallImageId()
Description copied from interface: JournalArticleModel
Gets 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

getSmallImageURL

public String getSmallImageURL()
Description copied from interface: JournalArticleModel
Gets 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

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

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 JournalArticleModel
Parameters:
status - the status of this journal article

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: JournalArticleModel
Gets the status by user id of this journal article.

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 JournalArticleModel
Parameters:
statusByUserId - the status by user id of this journal article

getStatusByUserUuid

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

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 JournalArticleModel
Parameters:
statusByUserUuid - the status by user uuid of this journal article

getStatusByUserName

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

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 JournalArticleModel
Parameters:
statusByUserName - the status by user name of this journal article

getStatusDate

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

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 JournalArticleModel
Parameters:
statusDate - the status date of this journal article

isApproved

public boolean isApproved()
Description copied from interface: JournalArticleModel
Determines whether this journal article is approved.

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

isDraft

public boolean isDraft()
Description copied from interface: JournalArticleModel
Determines whether this journal article is a draft.

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
Determines whether this journal article is expired.

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

isPending

public boolean isPending()
Description copied from interface: JournalArticleModel
Determines whether this journal article is pending.

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

toEscapedModel

public JournalArticle toEscapedModel()
Description copied from interface: JournalArticleModel
Gets a copy of this journal article as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalArticleModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<JournalArticle>
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 retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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.0.5