public class JournalArticleImpl extends JournalArticleBaseImpl
ARTICLEID_COLUMN_BITMASK, CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, DISPLAYDATE_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, INDEXABLE_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, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK, VERSION_COLUMN_BITMASK| Constructor and Description |
|---|
JournalArticleImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTreePath() |
java.lang.String |
getArticleImageURL(com.liferay.portal.theme.ThemeDisplay themeDisplay) |
com.liferay.portlet.journal.model.JournalArticleResource |
getArticleResource() |
java.lang.String |
getArticleResourceUuid() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String[] |
getAvailableLocales()
Deprecated.
As of 6.2.0, replaced by
getAvailableLanguageIds() |
java.lang.String |
getContentByLocale(java.lang.String languageId) |
static java.lang.String |
getContentByLocale(java.lang.String content,
boolean templateDriven,
java.lang.String languageId) |
static java.lang.String |
getContentByLocale(java.lang.String content,
java.lang.String languageId,
java.util.Map<java.lang.String,java.lang.String> tokens) |
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDefaultLocale()
Deprecated.
As of 6.2.0, replaced by
getDefaultLanguageId() |
com.liferay.portlet.journal.model.JournalFolder |
getFolder() |
java.lang.String |
getSmallImageType() |
com.liferay.portal.kernel.lar.StagedModelType |
getStagedModelType() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap() |
long |
getTrashEntryClassPK() |
boolean |
hasApprovedVersion() |
boolean |
isInTrashExplicitly() |
boolean |
isTemplateDriven() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setSmallImageType(java.lang.String smallImageType) |
persist, updateTreePathclone, compareTo, equals, getApproved, getArticleId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getContent, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getFolderId, getGroupId, getId, getIndexable, getLayoutUuid, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalArticleId, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalDisplayDate, getOriginalFolderId, getOriginalGroupId, getOriginalIndexable, getOriginalLayoutUuid, getOriginalResourcePrimKey, getOriginalSmallImageId, getOriginalStatus, getOriginalStructureId, getOriginalTemplateId, getOriginalUrlTitle, getOriginalUserId, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStructureId, getTemplateId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTrashEntry, getTrashHandler, getTreePath, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isIndexable, isInTrash, isInTrashContainer, isPending, isResourceMain, isScheduled, isSmallImage, prepareLocalizedFieldsForImport, resetOriginalValues, setArticleId, setClassName, setClassNameId, setClassPK, setCompanyId, setContent, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setFolderId, 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, setTreePath, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, compareTo, getApproved, getArticleId, getClassName, getClassNameId, getClassPK, getCompanyId, getContent, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getFolderId, 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, getTrashEntry, getTrashHandler, getTreePath, getType, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isIndexable, isInTrash, isInTrashContainer, isNew, isPending, isResourceMain, isScheduled, isSmallImage, prepareLocalizedFieldsForImport, setArticleId, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setContent, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpirationDate, setFolderId, 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, setTreePath, setType, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetModelAttributes, resetOriginalValues, setModelAttributespublic static java.lang.String getContentByLocale(java.lang.String content,
boolean templateDriven,
java.lang.String languageId)
public static java.lang.String getContentByLocale(java.lang.String content,
java.lang.String languageId,
java.util.Map<java.lang.String,java.lang.String> tokens)
public java.lang.String buildTreePath()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getArticleImageURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getArticleResourceUuid()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portlet.journal.model.JournalArticleModelgetAvailableLanguageIds in class JournalArticleModelImplpublic java.lang.String[] getAvailableLocales()
getAvailableLanguageIds()public java.lang.String getContentByLocale(java.lang.String languageId)
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portlet.journal.model.JournalArticleModelgetDefaultLanguageId in class JournalArticleModelImplpublic java.lang.String getDefaultLocale()
getDefaultLanguageId()public com.liferay.portlet.journal.model.JournalFolder getFolder()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getSmallImageType()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelgetStagedModelType in class JournalArticleModelImplpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface com.liferay.portlet.journal.model.JournalArticleModelgetTitleMap in class JournalArticleModelImplpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface com.liferay.portal.model.TrashedModelgetTrashEntryClassPK in interface com.liferay.portlet.journal.model.JournalArticleModelgetTrashEntryClassPK in class JournalArticleModelImplpublic boolean hasApprovedVersion()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic boolean isInTrashExplicitly()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic boolean isTemplateDriven()
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portlet.journal.model.JournalArticleModelprepareLocalizedFieldsForImport in class JournalArticleModelImpldefaultImportLocale - the default imported localecom.liferay.portal.LocaleException - if a locale exception occurredpublic void setSmallImageType(java.lang.String smallImageType)