|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.model.JournalArticleWrapper
@ProviderType public class JournalArticleWrapper
This class is a wrapper for JournalArticle.
JournalArticle,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.journal.model.JournalArticle |
|---|
ARTICLE_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
JournalArticleWrapper(JournalArticle journalArticle)
|
|
| Method Summary | |
|---|---|
String |
buildTreePath()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
String |
getArticleId()
Returns the article ID of this journal article. |
long |
getArticleImageId(String elInstanceId,
String elName,
String languageId)
|
String |
getArticleImageURL(ThemeDisplay themeDisplay)
|
JournalArticleResource |
getArticleResource()
|
String |
getArticleResourceUuid()
|
String[] |
getAvailableLanguageIds()
|
String[] |
getAvailableLocales()
Deprecated. As of 6.2.0, replaced by getAvailableLanguageIds() |
String |
getClassName()
Returns the fully qualified class name of this journal article. |
long |
getClassNameId()
Returns the class name ID of this journal article. |
long |
getClassPK()
Returns the class p k of this journal article. |
long |
getCompanyId()
Returns the company ID of this journal article. |
String |
getContent()
Returns the content of this journal article. |
String |
getContentByLocale(String languageId)
|
Date |
getCreateDate()
Returns the create date of this journal article. |
DDMStructure |
getDDMStructure()
|
String |
getDDMStructureKey()
Returns the d d m structure key of this journal article. |
DDMTemplate |
getDDMTemplate()
|
String |
getDDMTemplateKey()
Returns the d d m template key of this journal article. |
String |
getDefaultLanguageId()
|
String |
getDefaultLocale()
Deprecated. As of 6.2.0, replaced by getDefaultLanguageId() |
String |
getDescription()
Returns the description of this journal article. |
String |
getDescription(Locale locale)
Returns the localized description of this journal article in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this journal article in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal article. |
Date |
getDisplayDate()
Returns the display date of this journal article. |
Document |
getDocument()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Returns the expiration date of this journal article. |
JournalFolder |
getFolder()
|
long |
getFolderId()
Returns the folder ID of this journal article. |
long |
getGroupId()
Returns the group ID of this journal article. |
long |
getId()
Returns the ID of this journal article. |
boolean |
getIndexable()
Returns the indexable of this journal article. |
Layout |
getLayout()
|
String |
getLayoutUuid()
Returns the layout uuid of this journal article. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal article. |
long |
getPrimaryKey()
Returns the primary key of this journal article. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourcePrimKey()
Returns the resource prim key of this journal article. |
Date |
getReviewDate()
Returns the review date of this journal article. |
boolean |
getSmallImage()
Returns the small image of this journal article. |
long |
getSmallImageId()
Returns the small image ID of this journal article. |
String |
getSmallImageType()
|
String |
getSmallImageURL()
Returns the small image u r l of this journal article. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this journal article. |
long |
getStatusByUserId()
Returns the status by user ID of this journal article. |
String |
getStatusByUserName()
Returns the status by user name of this journal article. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this journal article. |
Date |
getStatusDate()
Returns the status date of this journal article. |
String |
getStructureId()
Deprecated. As of 7.0.0, replaced by getDDMStructureKey() |
String |
getTemplateId()
Deprecated. As of 7.0.0, replaced by getDDMTemplateKey() |
String |
getTitle()
Returns the title of this journal article. |
String |
getTitle(Locale locale)
Returns the localized title of this journal article in the language. |
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Returns the localized title of this journal article in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this journal article. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this journal article was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal article. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this journal article. |
String |
getTreePath()
Returns the tree path of this journal article. |
String |
getUrlTitle()
Returns the url title of this journal article. |
long |
getUserId()
Returns the user ID of this journal article. |
String |
getUserName()
Returns the user name of this journal article. |
String |
getUserUuid()
Returns the user uuid of this journal article. |
String |
getUuid()
Returns the uuid of this journal article. |
double |
getVersion()
Returns the version of this journal article. |
JournalArticle |
getWrappedJournalArticle()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
JournalArticle |
getWrappedModel()
|
boolean |
hasApprovedVersion()
|
int |
hashCode()
|
boolean |
isApproved()
Returns true if this journal article is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this journal article is denied. |
boolean |
isDraft()
Returns true if this journal article is a draft. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this journal article is expired. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isInactive()
Returns true if this journal article is inactive. |
boolean |
isIncomplete()
Returns true if this journal article is incomplete. |
boolean |
isIndexable()
Returns true if this journal article is indexable. |
boolean |
isInTrash()
Returns true if this journal article is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this journal article is in the Recycle Bin. |
boolean |
isInTrashExplicitly()
|
boolean |
isInTrashImplicitly()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this journal article is pending. |
boolean |
isResourceMain()
|
boolean |
isScheduled()
Returns true if this journal article is scheduled. |
boolean |
isSmallImage()
Returns true if this journal article is small image. |
boolean |
isTemplateDriven()
Deprecated. As of 7.0.0, with no direct replacement |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setArticleId(String articleId)
Sets the article ID of this journal article. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this journal article. |
void |
setClassPK(long classPK)
Sets the class p k of this journal article. |
void |
setCompanyId(long companyId)
Sets the company ID of this journal article. |
void |
setContent(String content)
Sets the content of this journal article. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal article. |
void |
setDDMStructureKey(String DDMStructureKey)
Sets the d d m structure key of this journal article. |
void |
setDDMTemplateKey(String DDMTemplateKey)
Sets the d d m template key of this journal article. |
void |
setDefaultLanguageId(String defaultLanguageId)
|
void |
setDescription(String description)
Sets the description of this journal article. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this journal article in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this journal article in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this journal article from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale. |
void |
setDisplayDate(Date displayDate)
Sets the display date of this journal article. |
void |
setDocument(Document document)
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this journal article. |
void |
setFolderId(long folderId)
Sets the folder ID of this journal article. |
void |
setGroupId(long groupId)
Sets the group ID of this journal article. |
void |
setId(long id)
Sets the ID of this journal article. |
void |
setIndexable(boolean indexable)
Sets whether this journal article is indexable. |
void |
setLayoutUuid(String layoutUuid)
Sets the layout uuid of this journal article. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal article. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal article. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article. |
void |
setReviewDate(Date reviewDate)
Sets the review date of this journal article. |
void |
setSmallImage(boolean smallImage)
Sets whether this journal article is small image. |
void |
setSmallImageId(long smallImageId)
Sets the small image ID of this journal article. |
void |
setSmallImageType(String smallImageType)
|
void |
setSmallImageURL(String smallImageURL)
Sets the small image u r l of this journal article. |
void |
setStatus(int status)
Sets the status of this journal article. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this journal article. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this journal article. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this journal article. |
void |
setStatusDate(Date statusDate)
Sets the status date of this journal article. |
void |
setStructureId(String ddmStructureKey)
Deprecated. As of 7.0.0, replaced by setDDMStructureKey(String) |
void |
setTemplateId(String ddmTemplateKey)
Deprecated. As of 7.0.0, replaced by setDDMTemplateKey(String) |
void |
setTitle(String title)
Sets the title of this journal article. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this journal article in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this journal article in the language, and sets the default locale. |
void |
setTitleCurrentLanguageId(String languageId)
|
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this journal article from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale. |
void |
setTreePath(String treePath)
Sets the tree path of this journal article. |
void |
setUrlTitle(String urlTitle)
Sets the url title of this journal article. |
void |
setUserId(long userId)
Sets the user ID of this journal article. |
void |
setUserName(String userName)
Sets the user name of this journal article. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal article. |
void |
setUuid(String uuid)
Sets the uuid of this journal article. |
void |
setVersion(double version)
Sets the version of this journal article. |
CacheModel<JournalArticle> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalArticle |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
JournalArticle |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
void |
updateTreePath(String treePath)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalArticleWrapper(JournalArticle journalArticle)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<JournalArticle>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<JournalArticle>
public String buildTreePath()
throws PortalException
buildTreePath in interface TreeModelbuildTreePath in interface JournalArticlePortalExceptionpublic Object clone()
BaseModel
clone in interface BaseModel<JournalArticle>clone in interface StagedModelclone in interface JournalArticleModelclone in class Objectpublic int compareTo(JournalArticle journalArticle)
compareTo in interface JournalArticleModelcompareTo in interface Comparable<JournalArticle>@Deprecated public boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface JournalArticleModelpublic String getArticleId()
getArticleId in interface JournalArticleModel
public long getArticleImageId(String elInstanceId,
String elName,
String languageId)
getArticleImageId in interface JournalArticlepublic String getArticleImageURL(ThemeDisplay themeDisplay)
getArticleImageURL in interface JournalArticle
public JournalArticleResource getArticleResource()
throws PortalException
getArticleResource in interface JournalArticlePortalException
public String getArticleResourceUuid()
throws PortalException
getArticleResourceUuid in interface JournalArticlePortalExceptionpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface JournalArticleModel@Deprecated public String[] getAvailableLocales()
getAvailableLanguageIds()
getAvailableLocales in interface JournalArticlepublic String getClassName()
getClassName in interface TypedModelgetClassName in interface JournalArticleModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface JournalArticleModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface JournalArticleModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface JournalArticleModelpublic String getContent()
getContent in interface JournalArticleModelpublic String getContentByLocale(String languageId)
getContentByLocale in interface JournalArticlepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface JournalArticleModel
public DDMStructure getDDMStructure()
throws PortalException
getDDMStructure in interface JournalArticlePortalExceptionpublic String getDDMStructureKey()
getDDMStructureKey in interface JournalArticleModel
public DDMTemplate getDDMTemplate()
throws PortalException
getDDMTemplate in interface JournalArticlePortalExceptionpublic String getDDMTemplateKey()
getDDMTemplateKey in interface JournalArticleModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface JournalArticleModel@Deprecated public String getDefaultLocale()
getDefaultLanguageId()
getDefaultLocale in interface JournalArticlepublic String getDescription()
getDescription in interface JournalArticleModelpublic String getDescription(String languageId)
getDescription in interface JournalArticleModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface JournalArticleModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescription(Locale locale)
getDescription in interface JournalArticleModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface JournalArticleModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface JournalArticleModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface JournalArticleModelpublic Date getDisplayDate()
getDisplayDate in interface JournalArticleModelpublic Document getDocument()
getDocument in interface JournalArticlepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleModelpublic Date getExpirationDate()
getExpirationDate in interface JournalArticleModel
public JournalFolder getFolder()
throws PortalException
getFolder in interface JournalArticlePortalExceptionpublic long getFolderId()
getFolderId in interface JournalArticleModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface JournalArticleModelpublic long getId()
getId in interface JournalArticleModelpublic boolean getIndexable()
getIndexable in interface JournalArticleModelpublic Layout getLayout()
getLayout in interface JournalArticlepublic String getLayoutUuid()
getLayoutUuid in interface JournalArticleModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface JournalArticleModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalArticleModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TreeModelgetPrimaryKeyObj in interface JournalArticleModelpublic long getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelgetResourcePrimKey in interface JournalArticleModelpublic Date getReviewDate()
getReviewDate in interface JournalArticleModelpublic boolean getSmallImage()
getSmallImage in interface JournalArticleModelpublic long getSmallImageId()
getSmallImageId in interface JournalArticleModel
public String getSmallImageType()
throws PortalException
getSmallImageType in interface JournalArticlePortalExceptionpublic String getSmallImageURL()
getSmallImageURL in interface JournalArticleModelpublic int getStatus()
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelgetStatus in interface JournalArticleModelpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface JournalArticleModelpublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface JournalArticleModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface JournalArticleModelpublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface JournalArticleModelpublic String getStructureId()
getDDMStructureKey()
getStructureId in interface JournalArticlepublic String getTemplateId()
getDDMTemplateKey()
getTemplateId in interface JournalArticlepublic String getTitle()
getTitle in interface JournalArticleModelpublic String getTitle(String languageId)
getTitle in interface JournalArticleModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface JournalArticleModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getTitle(Locale locale)
getTitle in interface JournalArticleModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface JournalArticleModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface JournalArticleModelpublic String getTitleCurrentValue()
getTitleCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface JournalArticleModel
public TrashEntry getTrashEntry()
throws PortalException
getTrashEntry in interface TrashedModelgetTrashEntry in interface JournalArticleModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface TrashedModelgetTrashEntryClassPK in interface JournalArticleModelpublic TrashHandler getTrashHandler()
getTrashHandler in interface TrashedModelgetTrashHandler in interface JournalArticleModelpublic String getTreePath()
getTreePath in interface TreeModelgetTreePath in interface JournalArticleModelpublic String getUrlTitle()
getUrlTitle in interface JournalArticleModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface JournalArticleModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface JournalArticleModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface JournalArticleModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface JournalArticleModelpublic double getVersion()
getVersion in interface JournalArticleModelpublic boolean hasApprovedVersion()
hasApprovedVersion in interface JournalArticlepublic int hashCode()
hashCode in interface JournalArticleModelhashCode in class Objectpublic boolean isApproved()
true if this journal article is approved.
isApproved in interface WorkflowedModelisApproved in interface JournalArticleModeltrue if this journal article is approved; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<JournalArticle>isCachedModel in interface JournalArticleModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDenied()
true if this journal article is denied.
isDenied in interface WorkflowedModelisDenied in interface JournalArticleModeltrue if this journal article is denied; false otherwisepublic boolean isDraft()
true if this journal article is a draft.
isDraft in interface WorkflowedModelisDraft in interface JournalArticleModeltrue if this journal article is a draft; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<JournalArticle>isEscapedModel in interface JournalArticleModeltrue if this model instance is escaped;
false otherwisepublic boolean isExpired()
true if this journal article is expired.
isExpired in interface WorkflowedModelisExpired in interface JournalArticleModeltrue if this journal article is expired; false otherwisepublic boolean isInTrash()
true if this journal article is in the Recycle Bin.
isInTrash in interface TrashedModelisInTrash in interface JournalArticleModeltrue if this journal article is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this journal article is in the Recycle Bin.
isInTrashContainer in interface TrashedModelisInTrashContainer in interface JournalArticleModeltrue if the parent of this journal article is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface TrashedModelisInTrashExplicitly in interface JournalArticleModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface TrashedModelisInTrashImplicitly in interface JournalArticleModelpublic boolean isInactive()
true if this journal article is inactive.
isInactive in interface WorkflowedModelisInactive in interface JournalArticleModeltrue if this journal article is inactive; false otherwisepublic boolean isIncomplete()
true if this journal article is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface JournalArticleModeltrue if this journal article is incomplete; false otherwisepublic boolean isIndexable()
true if this journal article is indexable.
isIndexable in interface JournalArticleModeltrue if this journal article is indexable; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<JournalArticle>isNew in interface JournalArticleModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isPending()
true if this journal article is pending.
isPending in interface WorkflowedModelisPending in interface JournalArticleModeltrue if this journal article is pending; false otherwisepublic boolean isResourceMain()
isResourceMain in interface ResourcedModelisResourceMain in interface JournalArticleModelpublic boolean isScheduled()
true if this journal article is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface JournalArticleModeltrue if this journal article is scheduled; false otherwisepublic boolean isSmallImage()
true if this journal article is small image.
isSmallImage in interface JournalArticleModeltrue if this journal article is small image; false otherwise@Deprecated public boolean isTemplateDriven()
isTemplateDriven in interface JournalArticlepublic void persist()
PersistedModel
persist in interface PersistedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface JournalArticleModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface JournalArticleModelLocaleExceptionpublic void setArticleId(String articleId)
setArticleId in interface JournalArticleModelarticleId - the article ID of this journal articlepublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<JournalArticle>setCachedModel in interface JournalArticleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface JournalArticleModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface JournalArticleModelclassNameId - the class name ID of this journal articlepublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface JournalArticleModelclassPK - the class p k of this journal articlepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface JournalArticleModelcompanyId - the company ID of this journal articlepublic void setContent(String content)
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface JournalArticleModelcreateDate - the create date of this journal articlepublic void setDDMStructureKey(String DDMStructureKey)
setDDMStructureKey in interface JournalArticleModelDDMStructureKey - the d d m structure key of this journal articlepublic void setDDMTemplateKey(String DDMTemplateKey)
setDDMTemplateKey in interface JournalArticleModelDDMTemplateKey - the d d m template key of this journal articlepublic void setDefaultLanguageId(String defaultLanguageId)
setDefaultLanguageId in interface JournalArticlepublic void setDescription(String description)
setDescription in interface JournalArticleModeldescription - the description of this journal article
public void setDescription(String description,
Locale locale)
setDescription in interface JournalArticleModeldescription - the localized description of this journal articlelocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface JournalArticleModeldescription - the localized description of this journal articlelocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface JournalArticleModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface JournalArticleModeldescriptionMap - the locales and localized descriptions of this journal article
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface JournalArticleModeldescriptionMap - the locales and localized descriptions of this journal articledefaultLocale - the default localepublic void setDisplayDate(Date displayDate)
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic void setDocument(Document document)
setDocument in interface JournalArticlepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setExpirationDate(Date expirationDate)
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic void setFolderId(long folderId)
setFolderId in interface JournalArticleModelfolderId - the folder ID of this journal articlepublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface JournalArticleModelgroupId - the group ID of this journal articlepublic void setId(long id)
setId in interface JournalArticleModelid - the ID of this journal articlepublic void setIndexable(boolean indexable)
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic void setLayoutUuid(String layoutUuid)
setLayoutUuid in interface JournalArticleModellayoutUuid - the layout uuid of this journal articlepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal articlepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<JournalArticle>setNew in interface JournalArticleModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleModelprimaryKey - the primary key of this journal articlepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticle>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleModelprimaryKeyObj - the primary key of this model instancepublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface ResourcedModelsetResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic void setReviewDate(Date reviewDate)
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic void setSmallImage(boolean smallImage)
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic void setSmallImageId(long smallImageId)
setSmallImageId in interface JournalArticleModelsmallImageId - the small image ID of this journal articlepublic void setSmallImageType(String smallImageType)
setSmallImageType in interface JournalArticlepublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal articlepublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface JournalArticleModelstatus - the status of this journal articlepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface JournalArticleModelstatusByUserId - the status by user ID of this journal articlepublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal articlepublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface JournalArticleModelstatusByUserUuid - the status by user uuid of this journal articlepublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic void setStructureId(String ddmStructureKey)
setDDMStructureKey(String)
setStructureId in interface JournalArticlepublic void setTemplateId(String ddmTemplateKey)
setDDMTemplateKey(String)
setTemplateId in interface JournalArticlepublic void setTitle(String title)
setTitle in interface JournalArticleModeltitle - the title of this journal article
public void setTitle(String title,
Locale locale)
setTitle in interface JournalArticleModeltitle - the localized title of this journal articlelocale - the locale of the language
public void setTitle(String title,
Locale locale,
Locale defaultLocale)
setTitle in interface JournalArticleModeltitle - the localized title of this journal articlelocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface JournalArticleModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface JournalArticleModeltitleMap - the locales and localized titles of this journal article
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
setTitleMap in interface JournalArticleModeltitleMap - the locales and localized titles of this journal articledefaultLocale - the default localepublic void setTreePath(String treePath)
setTreePath in interface JournalArticleModeltreePath - the tree path of this journal articlepublic void setUrlTitle(String urlTitle)
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface JournalArticleModeluserId - the user ID of this journal articlepublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface JournalArticleModeluserName - the user name of this journal articlepublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic void setVersion(double version)
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic CacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticle>toCacheModel in interface JournalArticleModelpublic JournalArticle toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticle>toEscapedModel in interface JournalArticleModelAutoEscapeBeanHandlerpublic String toString()
toString in interface JournalArticleModeltoString in class Objectpublic JournalArticle toUnescapedModel()
toUnescapedModel in interface BaseModel<JournalArticle>toUnescapedModel in interface JournalArticleModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModelpublic void updateTreePath(String treePath)
updateTreePath in interface TreeModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel@Deprecated public JournalArticle getWrappedJournalArticle()
getWrappedModel()
public JournalArticle getWrappedModel()
getWrappedModel in interface ModelWrapper<JournalArticle>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<JournalArticle>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<JournalArticle>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalArticle>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||