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.JournalArticleBaseImpl
              extended by com.liferay.portlet.journal.model.impl.JournalArticleImpl
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.PersistedModel, com.liferay.portal.model.ResourcedModel, com.liferay.portal.model.WorkflowedModel, 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 JournalArticleBaseImpl

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

Field Summary
 
Fields inherited from class com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
ARTICLEID_COLUMN_BITMASK, CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LAYOUTUUID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, RESOURCEPRIMKEY_COLUMN_BITMASK, SESSION_FACTORY, SMALLIMAGEID_COLUMN_BITMASK, STATUS_COLUMN_BITMASK, STRUCTUREID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TEMPLATEID_COLUMN_BITMASK, TX_MANAGER, URLTITLE_COLUMN_BITMASK, UUID_COLUMN_BITMASK, VERSION_COLUMN_BITMASK
 
Constructor Summary
JournalArticleImpl()
           
 
Method Summary
 com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
           
 java.lang.String getArticleResourceUuid()
           
 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.JournalArticleBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
clone, compareTo, equals, getApproved, getArticleId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getContent, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getGroupId, getId, getIndexable, getLayoutUuid, getModelClass, getModelClassName, getModifiedDate, getOriginalArticleId, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalGroupId, getOriginalLayoutUuid, getOriginalResourcePrimKey, getOriginalSmallImageId, getOriginalStatus, getOriginalStructureId, getOriginalTemplateId, getOriginalUrlTitle, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStructureId, getTemplateId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isDraft, isExpired, isIndexable, isPending, isResourceMain, isSmallImage, resetOriginalValues, setArticleId, setClassNameId, setClassPK, setCompanyId, setContent, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setId, setIndexable, setLayoutUuid, setModifiedDate, setPrimaryKey, setPrimaryKeyObj, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStructureId, setTemplateId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, 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
clone, compareTo, getApproved, getArticleId, getClassName, getClassNameId, getClassPK, getCompanyId, getContent, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getGroupId, getId, getIndexable, getLayoutUuid, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStructureId, getTemplateId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isDraft, isEscapedModel, isExpired, isIndexable, isNew, isPending, isResourceMain, isSmallImage, setArticleId, setCachedModel, setClassNameId, setClassPK, setCompanyId, setContent, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setId, setIndexable, setLayoutUuid, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStructureId, setTemplateId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

JournalArticleImpl

public JournalArticleImpl()
Method Detail

getContentByLocale

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

getArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
                                                                            throws com.liferay.portal.kernel.exception.PortalException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getArticleResourceUuid

public java.lang.String getArticleResourceUuid()
                                        throws com.liferay.portal.kernel.exception.PortalException,
                                               com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAvailableLocales

public java.lang.String[] getAvailableLocales()

getContentByLocale

public java.lang.String getContentByLocale(java.lang.String languageId)

getDefaultLocale

public java.lang.String getDefaultLocale()

getSmallImageType

public java.lang.String getSmallImageType()
                                   throws com.liferay.portal.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

isTemplateDriven

public boolean isTemplateDriven()

setSmallImageType

public void setSmallImageType(java.lang.String smallImageType)