public class JournalArticleImpl extends JournalArticleBaseImpl
ARTICLEID_COLUMN_BITMASK, CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, DDMSTRUCTUREKEY_COLUMN_BITMASK, DDMTEMPLATEKEY_COLUMN_BITMASK, 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, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, URLTITLE_COLUMN_BITMASK, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK, VERSION_COLUMN_BITMASK
ARTICLE_ID_ACCESSOR, ID_ACCESSOR
Constructor and Description |
---|
JournalArticleImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildTreePath() |
long |
getArticleImageId(java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId) |
java.lang.String |
getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
JournalArticleResource |
getArticleResource() |
java.lang.String |
getArticleResourceUuid() |
java.lang.String[] |
getAvailableLanguageIds() |
static java.lang.String |
getContentByLocale(com.liferay.portal.kernel.xml.Document document,
java.lang.String languageId) |
static java.lang.String |
getContentByLocale(com.liferay.portal.kernel.xml.Document document,
java.lang.String languageId,
java.util.Map<java.lang.String,java.lang.String> tokens) |
java.lang.String |
getContentByLocale(java.lang.String languageId) |
static java.lang.String |
getContentByLocale(java.lang.String content,
boolean templateDriven,
java.lang.String languageId)
Deprecated.
As of 3.3.0, replaced by
getContentByLocale(Document,
String) |
com.liferay.dynamic.data.mapping.model.DDMStructure |
getDDMStructure() |
com.liferay.dynamic.data.mapping.model.DDMTemplate |
getDDMTemplate() |
java.lang.String |
getDefaultLanguageId() |
com.liferay.portal.kernel.xml.Document |
getDocument() |
JournalFolder |
getFolder() |
com.liferay.portal.kernel.model.Layout |
getLayout() |
java.lang.String |
getSmallImageType() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getStructureId()
Deprecated.
As of 3.3.0, replaced by
JournalArticleModelImpl.getDDMStructureKey() |
java.lang.String |
getTemplateId()
Deprecated.
As of 3.3.0, replaced by
JournalArticleModelImpl.getDDMTemplateKey() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this journal article.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal article.
|
boolean |
hasApprovedVersion() |
boolean |
isTemplateDriven()
Deprecated.
As of 3.3.0, with no direct replacement
|
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setContent(java.lang.String content)
Sets the content of this journal article.
|
void |
setDefaultLanguageId(java.lang.String defaultLanguageId) |
void |
setDocument(com.liferay.portal.kernel.xml.Document document) |
void |
setSmallImageType(java.lang.String smallImageType) |
void |
setStructureId(java.lang.String ddmStructureKey)
Deprecated.
As of 3.3.0, replaced by
JournalArticleModelImpl.setDDMStructureKey(String) |
void |
setTemplateId(java.lang.String ddmTemplateKey)
Deprecated.
As of 3.3.0, replaced by
JournalArticleModelImpl.setDDMTemplateKey(String) |
void |
setTitle(java.lang.String title)
Sets the title of this journal article.
|
persist, updateTreePath
clone, compareTo, equals, getArticleId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getContent, getCreateDate, getDDMStructureKey, getDDMTemplateKey, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getFolderId, getGroupId, getId, getIndexable, getLastPublishDate, getLayoutUuid, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalArticleId, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalDDMStructureKey, getOriginalDDMTemplateKey, getOriginalDisplayDate, getOriginalFolderId, getOriginalGroupId, getOriginalIndexable, getOriginalLayoutUuid, getOriginalResourcePrimKey, getOriginalSmallImageId, getOriginalStatus, getOriginalUrlTitle, getOriginalUserId, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTrashEntry, getTrashHandler, getTreePath, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, hasSetModifiedDate, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isInactive, isIncomplete, isIndexable, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isPending, isResourceMain, isScheduled, isSmallImage, prepareLocalizedFieldsForImport, resetOriginalValues, setArticleId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setDDMStructureKey, setDDMTemplateKey, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setFolderId, setGroupId, setId, setIndexable, setLastPublishDate, setLayoutUuid, setModelAttributes, setModifiedDate, setPrimaryKey, setPrimaryKeyObj, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setTreePath, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, compareTo, getArticleId, getClassName, getClassNameId, getClassPK, getCompanyId, getContent, getCreateDate, getDDMStructureKey, getDDMTemplateKey, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getDisplayDate, getExpandoBridge, getExpirationDate, getFolderId, getGroupId, getId, getIndexable, getLastPublishDate, getLayoutUuid, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getResourcePrimKey, getReviewDate, getSmallImage, getSmallImageId, getSmallImageURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTrashEntry, getTrashHandler, getTreePath, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isIndexable, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isNew, isPending, isResourceMain, isScheduled, isSmallImage, prepareLocalizedFieldsForImport, setArticleId, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setDDMStructureKey, setDDMTemplateKey, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setDisplayDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpirationDate, setFolderId, setGroupId, setId, setIndexable, setLastPublishDate, setLayoutUuid, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setResourcePrimKey, setReviewDate, setSmallImage, setSmallImageId, setSmallImageURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setTreePath, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
public static java.lang.String getContentByLocale(com.liferay.portal.kernel.xml.Document document, java.lang.String languageId)
public static java.lang.String getContentByLocale(com.liferay.portal.kernel.xml.Document document, java.lang.String languageId, java.util.Map<java.lang.String,java.lang.String> tokens)
@Deprecated public static java.lang.String getContentByLocale(java.lang.String content, boolean templateDriven, java.lang.String languageId)
getContentByLocale(Document,
String)
public java.lang.String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getArticleImageId(java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
public java.lang.String getArticleImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
public JournalArticleResource getArticleResource() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getArticleResourceUuid() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface JournalArticleModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
getAvailableLanguageIds
in class JournalArticleModelImpl
public java.lang.String getContentByLocale(java.lang.String languageId)
public com.liferay.dynamic.data.mapping.model.DDMStructure getDDMStructure() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
getDefaultLanguageId
in class JournalArticleModelImpl
public com.liferay.portal.kernel.xml.Document getDocument()
getDocument
in interface JournalArticle
getDocument
in class JournalArticleModelImpl
public JournalFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Layout getLayout()
public java.lang.String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
getStagedModelType
in class JournalArticleModelImpl
@Deprecated public java.lang.String getStructureId()
JournalArticleModelImpl.getDDMStructureKey()
@Deprecated public java.lang.String getTemplateId()
JournalArticleModelImpl.getDDMTemplateKey()
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
JournalArticleModel
getTitleMap
in interface JournalArticleModel
getTitleMap
in class JournalArticleModelImpl
public long getTrashEntryClassPK()
JournalArticleModel
getTrashEntryClassPK
in interface JournalArticleModel
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
getTrashEntryClassPK
in class JournalArticleModelImpl
public boolean hasApprovedVersion()
@Deprecated public boolean isTemplateDriven()
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
prepareLocalizedFieldsForImport
in class JournalArticleModelImpl
defaultImportLocale
- the default imported localecom.liferay.portal.kernel.exception.LocaleException
public void setContent(java.lang.String content)
JournalArticleModel
setContent
in interface JournalArticleModel
setContent
in class JournalArticleModelImpl
content
- the content of this journal articlepublic void setDefaultLanguageId(java.lang.String defaultLanguageId)
setDefaultLanguageId
in interface JournalArticle
setDefaultLanguageId
in class JournalArticleModelImpl
public void setDocument(com.liferay.portal.kernel.xml.Document document)
setDocument
in interface JournalArticle
setDocument
in class JournalArticleModelImpl
public void setSmallImageType(java.lang.String smallImageType)
@Deprecated public void setStructureId(java.lang.String ddmStructureKey)
JournalArticleModelImpl.setDDMStructureKey(String)
@Deprecated public void setTemplateId(java.lang.String ddmTemplateKey)
JournalArticleModelImpl.setDDMTemplateKey(String)
public void setTitle(java.lang.String title)
JournalArticleModel
setTitle
in interface JournalArticleModel
setTitle
in class JournalArticleModelImpl
title
- the title of this journal article