com.liferay.portlet.journal.model.impl
Class JournalArticleModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.AttachedModel, com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portal.model.ResourcedModel, com.liferay.portal.model.WorkflowedModel, com.liferay.portlet.journal.model.JournalArticleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.journal.model.JournalArticle>
- Direct Known Subclasses:
- JournalArticleBaseImpl
@JSON(strict=true)
public class JournalArticleModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
- implements com.liferay.portlet.journal.model.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.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalArticleImpl,
JournalArticle,
JournalArticleModel,
Serialized Form- Generated:
|
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(com.liferay.portlet.journal.model.JournalArticle journalArticle)
|
boolean |
equals(java.lang.Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
java.lang.String |
getArticleId()
|
java.lang.String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getColumnBitmask()
|
long |
getCompanyId()
|
java.lang.String |
getContent()
|
java.util.Date |
getCreateDate()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDescription(java.util.Locale locale)
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
|
java.lang.String |
getDescription(java.lang.String languageId)
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
|
java.lang.String |
getDescriptionCurrentLanguageId()
|
java.lang.String |
getDescriptionCurrentValue()
|
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
|
java.util.Date |
getDisplayDate()
|
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge()
|
java.util.Date |
getExpirationDate()
|
long |
getGroupId()
|
long |
getId()
|
boolean |
getIndexable()
|
java.lang.String |
getLayoutUuid()
|
java.lang.Class<?> |
getModelClass()
|
java.lang.String |
getModelClassName()
|
java.util.Date |
getModifiedDate()
|
java.lang.String |
getOriginalArticleId()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
java.lang.String |
getOriginalLayoutUuid()
|
long |
getOriginalResourcePrimKey()
|
long |
getOriginalSmallImageId()
|
int |
getOriginalStatus()
|
java.lang.String |
getOriginalStructureId()
|
java.lang.String |
getOriginalTemplateId()
|
java.lang.String |
getOriginalUrlTitle()
|
java.lang.String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
long |
getPrimaryKey()
|
java.io.Serializable |
getPrimaryKeyObj()
|
long |
getResourcePrimKey()
|
java.util.Date |
getReviewDate()
|
boolean |
getSmallImage()
|
long |
getSmallImageId()
|
java.lang.String |
getSmallImageURL()
|
int |
getStatus()
|
long |
getStatusByUserId()
|
java.lang.String |
getStatusByUserName()
|
java.lang.String |
getStatusByUserUuid()
|
java.util.Date |
getStatusDate()
|
java.lang.String |
getStructureId()
|
java.lang.String |
getTemplateId()
|
java.lang.String |
getTitle()
|
java.lang.String |
getTitle(java.util.Locale locale)
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
|
java.lang.String |
getTitle(java.lang.String languageId)
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
|
java.lang.String |
getTitleCurrentLanguageId()
|
java.lang.String |
getTitleCurrentValue()
|
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
|
java.lang.String |
getType()
|
java.lang.String |
getUrlTitle()
|
long |
getUserId()
|
java.lang.String |
getUserName()
|
java.lang.String |
getUserUuid()
|
java.lang.String |
getUuid()
|
double |
getVersion()
|
int |
hashCode()
|
boolean |
isApproved()
|
boolean |
isDraft()
|
boolean |
isExpired()
|
boolean |
isIndexable()
|
boolean |
isPending()
|
boolean |
isResourceMain()
|
boolean |
isSmallImage()
|
void |
resetOriginalValues()
|
void |
setArticleId(java.lang.String articleId)
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setContent(java.lang.String content)
|
void |
setCreateDate(java.util.Date createDate)
|
void |
setDescription(java.lang.String description)
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId)
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
|
void |
setDisplayDate(java.util.Date displayDate)
|
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
|
void |
setExpirationDate(java.util.Date expirationDate)
|
void |
setGroupId(long groupId)
|
void |
setId(long id)
|
void |
setIndexable(boolean indexable)
|
void |
setLayoutUuid(java.lang.String layoutUuid)
|
void |
setModifiedDate(java.util.Date modifiedDate)
|
void |
setPrimaryKey(long primaryKey)
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
|
void |
setResourcePrimKey(long resourcePrimKey)
|
void |
setReviewDate(java.util.Date reviewDate)
|
void |
setSmallImage(boolean smallImage)
|
void |
setSmallImageId(long smallImageId)
|
void |
setSmallImageURL(java.lang.String smallImageURL)
|
void |
setStatus(int status)
|
void |
setStatusByUserId(long statusByUserId)
|
void |
setStatusByUserName(java.lang.String statusByUserName)
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
|
void |
setStatusDate(java.util.Date statusDate)
|
void |
setStructureId(java.lang.String structureId)
|
void |
setTemplateId(java.lang.String templateId)
|
void |
setTitle(java.lang.String title)
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
|
void |
setTitleCurrentLanguageId(java.lang.String languageId)
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
|
void |
setType(java.lang.String type)
|
void |
setUrlTitle(java.lang.String urlTitle)
|
void |
setUserId(long userId)
|
void |
setUserName(java.lang.String userName)
|
void |
setUserUuid(java.lang.String userUuid)
|
void |
setUuid(java.lang.String uuid)
|
void |
setVersion(double version)
|
com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> |
toCacheModel()
|
com.liferay.portlet.journal.model.JournalArticle |
toEscapedModel()
|
static com.liferay.portlet.journal.model.JournalArticle |
toModel(com.liferay.portlet.journal.model.JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance. |
static java.util.List<com.liferay.portlet.journal.model.JournalArticle> |
toModels(com.liferay.portlet.journal.model.JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
|
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, setNew |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final java.lang.String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.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
GROUPID_COLUMN_BITMASK
public static long GROUPID_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
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
JournalArticleModelImpl
public JournalArticleModelImpl()
toModel
public static com.liferay.portlet.journal.model.JournalArticle toModel(com.liferay.portlet.journal.model.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 java.util.List<com.liferay.portlet.journal.model.JournalArticle> toModels(com.liferay.portlet.journal.model.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()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.journal.model.JournalArticleModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.journal.model.JournalArticleModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.journal.model.JournalArticleModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.journal.model.JournalArticleModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getUuid
@JSON
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getId
@JSON
public long getId()
- Specified by:
getId in interface com.liferay.portlet.journal.model.JournalArticleModel
setId
public void setId(long id)
- Specified by:
setId in interface com.liferay.portlet.journal.model.JournalArticleModel
getResourcePrimKey
@JSON
public long getResourcePrimKey()
- Specified by:
getResourcePrimKey in interface com.liferay.portal.model.ResourcedModel- Specified by:
getResourcePrimKey in interface com.liferay.portlet.journal.model.JournalArticleModel
setResourcePrimKey
public void setResourcePrimKey(long resourcePrimKey)
- Specified by:
setResourcePrimKey in interface com.liferay.portlet.journal.model.JournalArticleModel
isResourceMain
public boolean isResourceMain()
- Specified by:
isResourceMain in interface com.liferay.portal.model.ResourcedModel- Specified by:
isResourceMain in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalResourcePrimKey
public long getOriginalResourcePrimKey()
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
getGroupId in interface com.liferay.portlet.journal.model.JournalArticleModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
setGroupId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
getCompanyId in interface com.liferay.portlet.journal.model.JournalArticleModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
setCompanyId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalCompanyId
public long getOriginalCompanyId()
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserId in interface com.liferay.portlet.journal.model.JournalArticleModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserId in interface com.liferay.portlet.journal.model.JournalArticleModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
getUserName
@JSON
public java.lang.String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserName in interface com.liferay.portlet.journal.model.JournalArticleModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserName in interface com.liferay.portlet.journal.model.JournalArticleModel
getCreateDate
@JSON
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getCreateDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setCreateDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getModifiedDate
@JSON
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getModifiedDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setModifiedDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface com.liferay.portal.model.AttachedModel- Specified by:
getClassName in interface com.liferay.portlet.journal.model.JournalArticleModel
getClassNameId
@JSON
public long getClassNameId()
- Specified by:
getClassNameId in interface com.liferay.portal.model.AttachedModel- Specified by:
getClassNameId in interface com.liferay.portlet.journal.model.JournalArticleModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId in interface com.liferay.portal.model.AttachedModel- Specified by:
setClassNameId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalClassNameId
public long getOriginalClassNameId()
getClassPK
@JSON
public long getClassPK()
- Specified by:
getClassPK in interface com.liferay.portal.model.AttachedModel- Specified by:
getClassPK in interface com.liferay.portlet.journal.model.JournalArticleModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK in interface com.liferay.portal.model.AttachedModel- Specified by:
setClassPK in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalClassPK
public long getOriginalClassPK()
getArticleId
@JSON
public java.lang.String getArticleId()
- Specified by:
getArticleId in interface com.liferay.portlet.journal.model.JournalArticleModel
setArticleId
public void setArticleId(java.lang.String articleId)
- Specified by:
setArticleId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalArticleId
public java.lang.String getOriginalArticleId()
getVersion
@JSON
public double getVersion()
- Specified by:
getVersion in interface com.liferay.portlet.journal.model.JournalArticleModel
setVersion
public void setVersion(double version)
- Specified by:
setVersion in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalVersion
public double getOriginalVersion()
getTitle
@JSON
public java.lang.String getTitle()
- Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitle
public java.lang.String getTitle(java.lang.String languageId)
- Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitle
public java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
- Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitleCurrentLanguageId
public java.lang.String getTitleCurrentLanguageId()
- Specified by:
getTitleCurrentLanguageId in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitleCurrentValue
@JSON
public java.lang.String getTitleCurrentValue()
- Specified by:
getTitleCurrentValue in interface com.liferay.portlet.journal.model.JournalArticleModel
getTitleMap
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
- Specified by:
getTitleMap in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale)
- Specified by:
setTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
- Specified by:
setTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitleCurrentLanguageId
public void setTitleCurrentLanguageId(java.lang.String languageId)
- Specified by:
setTitleCurrentLanguageId in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
- Specified by:
setTitleMap in interface com.liferay.portlet.journal.model.JournalArticleModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
- Specified by:
setTitleMap in interface com.liferay.portlet.journal.model.JournalArticleModel
getUrlTitle
@JSON
public java.lang.String getUrlTitle()
- Specified by:
getUrlTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
setUrlTitle
public void setUrlTitle(java.lang.String urlTitle)
- Specified by:
setUrlTitle in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalUrlTitle
public java.lang.String getOriginalUrlTitle()
getDescription
@JSON
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescription
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescription
public java.lang.String getDescription(java.lang.String languageId)
- Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescription
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescriptionCurrentLanguageId
public java.lang.String getDescriptionCurrentLanguageId()
- Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescriptionCurrentValue
@JSON
public java.lang.String getDescriptionCurrentValue()
- Specified by:
getDescriptionCurrentValue in interface com.liferay.portlet.journal.model.JournalArticleModel
getDescriptionMap
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
- Specified by:
getDescriptionMap in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescription
public void setDescription(java.lang.String description,
java.util.Locale locale)
- Specified by:
setDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescription
public void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
- Specified by:
setDescription in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescriptionCurrentLanguageId
public void setDescriptionCurrentLanguageId(java.lang.String languageId)
- Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
- Specified by:
setDescriptionMap in interface com.liferay.portlet.journal.model.JournalArticleModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
- Specified by:
setDescriptionMap in interface com.liferay.portlet.journal.model.JournalArticleModel
getContent
@JSON
public java.lang.String getContent()
- Specified by:
getContent in interface com.liferay.portlet.journal.model.JournalArticleModel
setContent
public void setContent(java.lang.String content)
- Specified by:
setContent in interface com.liferay.portlet.journal.model.JournalArticleModel
getType
@JSON
public java.lang.String getType()
- Specified by:
getType in interface com.liferay.portlet.journal.model.JournalArticleModel
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface com.liferay.portlet.journal.model.JournalArticleModel
getStructureId
@JSON
public java.lang.String getStructureId()
- Specified by:
getStructureId in interface com.liferay.portlet.journal.model.JournalArticleModel
setStructureId
public void setStructureId(java.lang.String structureId)
- Specified by:
setStructureId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalStructureId
public java.lang.String getOriginalStructureId()
getTemplateId
@JSON
public java.lang.String getTemplateId()
- Specified by:
getTemplateId in interface com.liferay.portlet.journal.model.JournalArticleModel
setTemplateId
public void setTemplateId(java.lang.String templateId)
- Specified by:
setTemplateId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalTemplateId
public java.lang.String getOriginalTemplateId()
getLayoutUuid
@JSON
public java.lang.String getLayoutUuid()
- Specified by:
getLayoutUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
setLayoutUuid
public void setLayoutUuid(java.lang.String layoutUuid)
- Specified by:
setLayoutUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalLayoutUuid
public java.lang.String getOriginalLayoutUuid()
getDisplayDate
@JSON
public java.util.Date getDisplayDate()
- Specified by:
getDisplayDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setDisplayDate
public void setDisplayDate(java.util.Date displayDate)
- Specified by:
setDisplayDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getExpirationDate
@JSON
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Specified by:
setExpirationDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getReviewDate
@JSON
public java.util.Date getReviewDate()
- Specified by:
getReviewDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setReviewDate
public void setReviewDate(java.util.Date reviewDate)
- Specified by:
setReviewDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getIndexable
@JSON
public boolean getIndexable()
- Specified by:
getIndexable in interface com.liferay.portlet.journal.model.JournalArticleModel
isIndexable
public boolean isIndexable()
- Specified by:
isIndexable in interface com.liferay.portlet.journal.model.JournalArticleModel
setIndexable
public void setIndexable(boolean indexable)
- Specified by:
setIndexable in interface com.liferay.portlet.journal.model.JournalArticleModel
getSmallImage
@JSON
public boolean getSmallImage()
- Specified by:
getSmallImage in interface com.liferay.portlet.journal.model.JournalArticleModel
isSmallImage
public boolean isSmallImage()
- Specified by:
isSmallImage in interface com.liferay.portlet.journal.model.JournalArticleModel
setSmallImage
public void setSmallImage(boolean smallImage)
- Specified by:
setSmallImage in interface com.liferay.portlet.journal.model.JournalArticleModel
getSmallImageId
@JSON
public long getSmallImageId()
- Specified by:
getSmallImageId in interface com.liferay.portlet.journal.model.JournalArticleModel
setSmallImageId
public void setSmallImageId(long smallImageId)
- Specified by:
setSmallImageId in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalSmallImageId
public long getOriginalSmallImageId()
getSmallImageURL
@JSON
public java.lang.String getSmallImageURL()
- Specified by:
getSmallImageURL in interface com.liferay.portlet.journal.model.JournalArticleModel
setSmallImageURL
public void setSmallImageURL(java.lang.String smallImageURL)
- Specified by:
setSmallImageURL in interface com.liferay.portlet.journal.model.JournalArticleModel
getStatus
@JSON
public int getStatus()
- Specified by:
getStatus in interface com.liferay.portal.model.WorkflowedModel- Specified by:
getStatus in interface com.liferay.portlet.journal.model.JournalArticleModel
setStatus
public void setStatus(int status)
- Specified by:
setStatus in interface com.liferay.portal.model.WorkflowedModel- Specified by:
setStatus in interface com.liferay.portlet.journal.model.JournalArticleModel
getOriginalStatus
public int getOriginalStatus()
getStatusByUserId
@JSON
public long getStatusByUserId()
- Specified by:
getStatusByUserId in interface com.liferay.portal.model.WorkflowedModel- Specified by:
getStatusByUserId in interface com.liferay.portlet.journal.model.JournalArticleModel
setStatusByUserId
public void setStatusByUserId(long statusByUserId)
- Specified by:
setStatusByUserId in interface com.liferay.portal.model.WorkflowedModel- Specified by:
setStatusByUserId in interface com.liferay.portlet.journal.model.JournalArticleModel
getStatusByUserUuid
public java.lang.String getStatusByUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getStatusByUserUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setStatusByUserUuid
public void setStatusByUserUuid(java.lang.String statusByUserUuid)
- Specified by:
setStatusByUserUuid in interface com.liferay.portlet.journal.model.JournalArticleModel
getStatusByUserName
@JSON
public java.lang.String getStatusByUserName()
- Specified by:
getStatusByUserName in interface com.liferay.portal.model.WorkflowedModel- Specified by:
getStatusByUserName in interface com.liferay.portlet.journal.model.JournalArticleModel
setStatusByUserName
public void setStatusByUserName(java.lang.String statusByUserName)
- Specified by:
setStatusByUserName in interface com.liferay.portal.model.WorkflowedModel- Specified by:
setStatusByUserName in interface com.liferay.portlet.journal.model.JournalArticleModel
getStatusDate
@JSON
public java.util.Date getStatusDate()
- Specified by:
getStatusDate in interface com.liferay.portal.model.WorkflowedModel- Specified by:
getStatusDate in interface com.liferay.portlet.journal.model.JournalArticleModel
setStatusDate
public void setStatusDate(java.util.Date statusDate)
- Specified by:
setStatusDate in interface com.liferay.portal.model.WorkflowedModel- Specified by:
setStatusDate in interface com.liferay.portlet.journal.model.JournalArticleModel
getApproved
public boolean getApproved()
- Deprecated.
isApproved()
- Specified by:
getApproved in interface com.liferay.portlet.journal.model.JournalArticleModel
isApproved
public boolean isApproved()
- Specified by:
isApproved in interface com.liferay.portal.model.WorkflowedModel- Specified by:
isApproved in interface com.liferay.portlet.journal.model.JournalArticleModel
isDraft
public boolean isDraft()
- Specified by:
isDraft in interface com.liferay.portal.model.WorkflowedModel- Specified by:
isDraft in interface com.liferay.portlet.journal.model.JournalArticleModel
isExpired
public boolean isExpired()
- Specified by:
isExpired in interface com.liferay.portal.model.WorkflowedModel- Specified by:
isExpired in interface com.liferay.portlet.journal.model.JournalArticleModel
isPending
public boolean isPending()
- Specified by:
isPending in interface com.liferay.portal.model.WorkflowedModel- Specified by:
isPending in interface com.liferay.portlet.journal.model.JournalArticleModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.journal.model.JournalArticle toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
toEscapedModel in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
clone in interface com.liferay.portlet.journal.model.JournalArticleModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
compareTo
public int compareTo(com.liferay.portlet.journal.model.JournalArticle journalArticle)
- Specified by:
compareTo in interface com.liferay.portlet.journal.model.JournalArticleModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.journal.model.JournalArticle>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
toCacheModel in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.journal.model.JournalArticleModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>- Specified by:
toXmlString in interface com.liferay.portlet.journal.model.JournalArticleModel