Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<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:
AttachedModel, AuditedModel, BaseModel<JournalArticle>, ClassedModel, GroupedModel, PersistedModel, ResourcedModel, WorkflowedModel, JournalArticle, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>

public class JournalArticleImpl
extends JournalArticleBaseImpl

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
 JournalArticleResource getArticleResource()
           
 String getArticleResourceUuid()
           
 String[] getAvailableLocales()
           
 String getContentByLocale(String languageId)
           
static String getContentByLocale(String content, boolean templateDriven, String languageId)
           
 String getDefaultLocale()
           
 String getSmallImageType()
           
 Map<Locale,String> getTitleMap()
          Returns a map of the locales and localized titles of this journal article.
 boolean isTemplateDriven()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void setSmallImageType(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, getModelAttributes, 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, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isIndexable, isPending, isResourceMain, isScheduled, isSmallImage, resetOriginalValues, setArticleId, setClassName, setClassNameId, setClassPK, setCompanyId, setContent, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setId, setIndexable, setLayoutUuid, setModelAttributes, 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, toUnescapedModel, 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, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isIndexable, isNew, isPending, isResourceMain, isScheduled, isSmallImage, setArticleId, setCachedModel, setClassName, 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, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

JournalArticleImpl

public JournalArticleImpl()
Method Detail

getContentByLocale

public static String getContentByLocale(String content,
                                        boolean templateDriven,
                                        String languageId)

getArticleResource

public JournalArticleResource getArticleResource()
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getArticleResourceUuid

public String getArticleResourceUuid()
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getAvailableLocales

public String[] getAvailableLocales()

getContentByLocale

public String getContentByLocale(String languageId)

getDefaultLocale

public String getDefaultLocale()

getSmallImageType

public String getSmallImageType()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getTitleMap

public Map<Locale,String> getTitleMap()
Description copied from interface: JournalArticleModel
Returns a map of the locales and localized titles of this journal article.

Specified by:
getTitleMap in interface JournalArticle
Specified by:
getTitleMap in interface JournalArticleModel
Overrides:
getTitleMap in class JournalArticleModelImpl
Returns:
the locales and localized titles of this journal article

isTemplateDriven

public boolean isTemplateDriven()

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface JournalArticle
Specified by:
prepareLocalizedFieldsForImport in interface JournalArticleModel
Overrides:
prepareLocalizedFieldsForImport in class JournalArticleModelImpl
Throws:
LocaleException

setSmallImageType

public void setSmallImageType(String smallImageType)

Liferay 6.1.2-ce-ga3