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
 
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 isApproved()
           
 boolean isExpired()
           
 boolean isTemplateDriven()
           
 void setSmallImageType(java.lang.String smallImageType)
           
 
Methods inherited from class com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
clone, compareTo, equals, getArticleId, getCompanyId, getContent, getCreateDate, getDescription, getDisplayDate, getExpandoBridge, getExpirationDate, getGroupId, getId, getIndexable, getModifiedDate, getOriginalArticleId, getOriginalGroupId, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStructureId, getTemplateId, getTitle, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isIndexable, isSmallImage, setArticleId, setCompanyId, setContent, setCreateDate, setDescription, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setId, setIndexable, setModifiedDate, setPrimaryKey, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, 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, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleModel
clone, compareTo, getArticleId, getCompanyId, getContent, getCreateDate, getDescription, getDisplayDate, getExpandoBridge, getExpirationDate, getGroupId, getId, getIndexable, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStructureId, getTemplateId, getTitle, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isCachedModel, isEscapedModel, isIndexable, isNew, isSmallImage, setArticleId, setCachedModel, setCompanyId, setContent, setCreateDate, setDescription, setDisplayDate, setEscapedModel, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setId, setIndexable, setModifiedDate, setNew, setPrimaryKey, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStructureId, setTemplateId, setTitle, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toEscapedModel, toString, toXmlString
 

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.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getSmallImageType in interface com.liferay.portlet.journal.model.JournalArticle
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

isApproved

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

isExpired

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

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