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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.journal.model.JournalArticle>
      extended by com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
          extended by com.liferay.portlet.journal.model.impl.JournalArticleImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.journal.model.JournalArticle>, com.liferay.portlet.journal.model.JournalArticle, com.liferay.portlet.journal.model.JournalArticleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.journal.model.JournalArticle>

public class JournalArticleImpl
extends JournalArticleModelImpl
implements com.liferay.portlet.journal.model.JournalArticle

View Source

Author:
Brian Wing Shun Chan, Wesley Gong
See Also:
Serialized Form

Field Summary
static double DEFAULT_VERSION
           
static java.lang.String PORTLET
           
static java.lang.String STAND_ALONE
           
static java.lang.String[] TYPES
           
 
Fields inherited from class com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
JournalArticleImpl()
           
 
Method Summary
 java.lang.String[] getAvailableLocales()
           
 java.lang.String getContentByLocale(java.lang.String languageId)
           
static java.lang.String getContentByLocale(java.lang.String content, boolean templateDriven, java.lang.String languageId)
           
 java.lang.String getDefaultLocale()
           
 java.lang.String getSmallImageType()
           
 boolean isTemplateDriven()
           
 void setSmallImageType(java.lang.String smallImageType)
           
 
Methods inherited from class com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
clone, compareTo, equals, getApproved, getApprovedByUserId, getApprovedByUserName, getApprovedByUserUuid, getApprovedDate, getArticleId, getCompanyId, getContent, getCreateDate, getDescription, getDisplayDate, getExpandoBridge, getExpirationDate, getExpired, getGroupId, getId, getIndexable, getModifiedDate, getOriginalArticleId, getOriginalGroupId, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStructureId, getTemplateId, getTitle, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isExpired, isIndexable, isSmallImage, setApproved, setApprovedByUserId, setApprovedByUserName, setApprovedByUserUuid, setApprovedDate, setArticleId, setCompanyId, setContent, setCreateDate, setDescription, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setExpired, setGroupId, setId, setIndexable, setModifiedDate, setPrimaryKey, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStructureId, setTemplateId, setTitle, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toEscapedModel, toModel, toModels, toString, toXmlString
 
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, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleModel
clone, compareTo, getApproved, getApprovedByUserId, getApprovedByUserName, getApprovedByUserUuid, getApprovedDate, getArticleId, getCompanyId, getContent, getCreateDate, getDescription, getDisplayDate, getExpandoBridge, getExpirationDate, getExpired, getGroupId, getId, getIndexable, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStructureId, getTemplateId, getTitle, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isEscapedModel, isExpired, isIndexable, isNew, isSmallImage, setApproved, setApprovedByUserId, setApprovedByUserName, setApprovedByUserUuid, setApprovedDate, setArticleId, setCachedModel, setCompanyId, setContent, setCreateDate, setDescription, setDisplayDate, setEscapedModel, setExpandoBridgeAttributes, setExpirationDate, setExpired, setGroupId, setId, setIndexable, setModifiedDate, setNew, setPrimaryKey, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStructureId, setTemplateId, setTitle, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toEscapedModel, toString, toXmlString
 

Field Detail

DEFAULT_VERSION

public static final double DEFAULT_VERSION
See Also:
Constant Field Values

PORTLET

public static final java.lang.String PORTLET
See Also:
Constant Field Values

STAND_ALONE

public static final java.lang.String STAND_ALONE
See Also:
Constant Field Values

TYPES

public static final java.lang.String[] TYPES
Constructor Detail

JournalArticleImpl

public JournalArticleImpl()
Method Detail

getContentByLocale

public static java.lang.String getContentByLocale(java.lang.String content,
                                                  boolean templateDriven,
                                                  java.lang.String languageId)

getAvailableLocales

public java.lang.String[] getAvailableLocales()
Specified by:
getAvailableLocales in interface com.liferay.portlet.journal.model.JournalArticle

getContentByLocale

public java.lang.String getContentByLocale(java.lang.String languageId)
Specified by:
getContentByLocale in interface com.liferay.portlet.journal.model.JournalArticle

getDefaultLocale

public java.lang.String getDefaultLocale()
Specified by:
getDefaultLocale in interface com.liferay.portlet.journal.model.JournalArticle

getSmallImageType

public java.lang.String getSmallImageType()
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getSmallImageType in interface com.liferay.portlet.journal.model.JournalArticle
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isTemplateDriven

public boolean isTemplateDriven()
Specified by:
isTemplateDriven in interface com.liferay.portlet.journal.model.JournalArticle

setSmallImageType

public void setSmallImageType(java.lang.String smallImageType)
Specified by:
setSmallImageType in interface com.liferay.portlet.journal.model.JournalArticle