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

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)

getApprovedByUserUuid

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

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

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.portlet.journal.model.JournalArticle
Overrides:
getExpandoBridge in class JournalArticleModelImpl

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

getUserUuid

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

isTemplateDriven

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

setApprovedByUserUuid

public void setApprovedByUserUuid(java.lang.String approvedByUserUuid)
Specified by:
setApprovedByUserUuid 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

setUserUuid

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