|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.model.JournalArticleWrapper
@ProviderType public class JournalArticleWrapper
This class is a wrapper for JournalArticle
.
JournalArticle
,
Serialized FormField 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. |
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. |
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. |
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. |
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()
Returns the structure ID of this journal article. |
String |
getTemplateId()
Returns the template ID of this journal article. |
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 |
getType()
Returns the type 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 |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this journal article is expired. |
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 |
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()
|
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 |
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 |
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 structureId)
Sets the structure ID of this journal article. |
void |
setTemplateId(String templateId)
Sets the template ID of this journal article. |
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 |
setType(String type)
Sets the type 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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalArticle>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalArticle>
public long getPrimaryKey()
getPrimaryKey
in interface JournalArticleModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalArticleModel
primaryKey
- the primary key of this journal articlepublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface JournalArticleModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface JournalArticleModel
uuid
- the uuid of this journal articlepublic long getId()
getId
in interface JournalArticleModel
public void setId(long id)
setId
in interface JournalArticleModel
id
- the ID of this journal articlepublic long getResourcePrimKey()
getResourcePrimKey
in interface ResourcedModel
getResourcePrimKey
in interface JournalArticleModel
public void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey
in interface ResourcedModel
setResourcePrimKey
in interface JournalArticleModel
resourcePrimKey
- the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain
in interface ResourcedModel
isResourceMain
in interface JournalArticleModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface JournalArticleModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface JournalArticleModel
groupId
- the group ID of this journal articlepublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface JournalArticleModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface JournalArticleModel
companyId
- the company ID of this journal articlepublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface JournalArticleModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface JournalArticleModel
userId
- the user ID of this journal articlepublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface JournalArticleModel
userUuid
- the user uuid of this journal articlepublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface JournalArticleModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface JournalArticleModel
userName
- the user name of this journal articlepublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface JournalArticleModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface JournalArticleModel
createDate
- the create date of this journal articlepublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface JournalArticleModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface JournalArticleModel
modifiedDate
- the modified date of this journal articlepublic long getFolderId()
getFolderId
in interface JournalArticleModel
public void setFolderId(long folderId)
setFolderId
in interface JournalArticleModel
folderId
- the folder ID of this journal articlepublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface JournalArticleModel
public void setClassName(String className)
setClassName
in interface JournalArticleModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface JournalArticleModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface JournalArticleModel
classNameId
- the class name ID of this journal articlepublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface JournalArticleModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface JournalArticleModel
classPK
- the class p k of this journal articlepublic String getTreePath()
getTreePath
in interface TreeModel
getTreePath
in interface JournalArticleModel
public void setTreePath(String treePath)
setTreePath
in interface JournalArticleModel
treePath
- the tree path of this journal articlepublic String getArticleId()
getArticleId
in interface JournalArticleModel
public void setArticleId(String articleId)
setArticleId
in interface JournalArticleModel
articleId
- the article ID of this journal articlepublic double getVersion()
getVersion
in interface JournalArticleModel
public void setVersion(double version)
setVersion
in interface JournalArticleModel
version
- the version of this journal articlepublic String getTitle()
getTitle
in interface JournalArticleModel
public String getTitle(Locale locale)
getTitle
in interface JournalArticleModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
getTitle
in interface JournalArticleModel
locale
- 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 getTitle(String languageId)
getTitle
in interface JournalArticleModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface JournalArticleModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface JournalArticleModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface JournalArticleModel
public void setTitle(String title)
setTitle
in interface JournalArticleModel
title
- the title of this journal articlepublic void setTitle(String title, Locale locale)
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface JournalArticleModel
title
- the localized title of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface JournalArticleModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articlepublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface JournalArticleModel
titleMap
- the locales and localized titles of this journal articledefaultLocale
- the default localepublic String getUrlTitle()
getUrlTitle
in interface JournalArticleModel
public void setUrlTitle(String urlTitle)
setUrlTitle
in interface JournalArticleModel
urlTitle
- the url title of this journal articlepublic String getDescription()
getDescription
in interface JournalArticleModel
public String getDescription(Locale locale)
getDescription
in interface JournalArticleModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
getDescription
in interface JournalArticleModel
locale
- 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 getDescription(String languageId)
getDescription
in interface JournalArticleModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
getDescription
in interface JournalArticleModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface JournalArticleModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface JournalArticleModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface JournalArticleModel
public void setDescription(String description)
setDescription
in interface JournalArticleModel
description
- the description of this journal articlepublic void setDescription(String description, Locale locale)
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface JournalArticleModel
description
- the localized description of this journal articlelocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface JournalArticleModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articlepublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface JournalArticleModel
descriptionMap
- the locales and localized descriptions of this journal articledefaultLocale
- the default localepublic String getContent()
getContent
in interface JournalArticleModel
public void setContent(String content)
setContent
in interface JournalArticleModel
content
- the content of this journal articlepublic String getType()
getType
in interface JournalArticleModel
public void setType(String type)
setType
in interface JournalArticleModel
type
- the type of this journal articlepublic String getStructureId()
getStructureId
in interface JournalArticleModel
public void setStructureId(String structureId)
setStructureId
in interface JournalArticleModel
structureId
- the structure ID of this journal articlepublic String getTemplateId()
getTemplateId
in interface JournalArticleModel
public void setTemplateId(String templateId)
setTemplateId
in interface JournalArticleModel
templateId
- the template ID of this journal articlepublic String getLayoutUuid()
getLayoutUuid
in interface JournalArticleModel
public void setLayoutUuid(String layoutUuid)
setLayoutUuid
in interface JournalArticleModel
layoutUuid
- the layout uuid of this journal articlepublic Date getDisplayDate()
getDisplayDate
in interface JournalArticleModel
public void setDisplayDate(Date displayDate)
setDisplayDate
in interface JournalArticleModel
displayDate
- the display date of this journal articlepublic Date getExpirationDate()
getExpirationDate
in interface JournalArticleModel
public void setExpirationDate(Date expirationDate)
setExpirationDate
in interface JournalArticleModel
expirationDate
- the expiration date of this journal articlepublic Date getReviewDate()
getReviewDate
in interface JournalArticleModel
public void setReviewDate(Date reviewDate)
setReviewDate
in interface JournalArticleModel
reviewDate
- the review date of this journal articlepublic boolean getIndexable()
getIndexable
in interface JournalArticleModel
public boolean isIndexable()
true
if this journal article is indexable.
isIndexable
in interface JournalArticleModel
true
if this journal article is indexable; false
otherwisepublic void setIndexable(boolean indexable)
setIndexable
in interface JournalArticleModel
indexable
- the indexable of this journal articlepublic boolean getSmallImage()
getSmallImage
in interface JournalArticleModel
public boolean isSmallImage()
true
if this journal article is small image.
isSmallImage
in interface JournalArticleModel
true
if this journal article is small image; false
otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage
in interface JournalArticleModel
smallImage
- the small image of this journal articlepublic long getSmallImageId()
getSmallImageId
in interface JournalArticleModel
public void setSmallImageId(long smallImageId)
setSmallImageId
in interface JournalArticleModel
smallImageId
- the small image ID of this journal articlepublic String getSmallImageURL()
getSmallImageURL
in interface JournalArticleModel
public void setSmallImageURL(String smallImageURL)
setSmallImageURL
in interface JournalArticleModel
smallImageURL
- the small image u r l of this journal articlepublic int getStatus()
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface JournalArticleModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface JournalArticleModel
status
- the status of this journal articlepublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface JournalArticleModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface JournalArticleModel
statusByUserId
- the status by user ID of this journal articlepublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface JournalArticleModel
statusByUserUuid
- the status by user uuid of this journal articlepublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface JournalArticleModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface JournalArticleModel
statusByUserName
- the status by user name of this journal articlepublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface JournalArticleModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface JournalArticleModel
statusDate
- the status date of this journal articlepublic TrashEntry getTrashEntry() throws PortalException, SystemException
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface JournalArticleModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface JournalArticleModel
public TrashHandler getTrashHandler()
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface JournalArticleModel
public boolean isInTrash()
true
if this journal article is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface JournalArticleModel
true
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 TrashedModel
isInTrashContainer
in interface JournalArticleModel
true
if the parent of this journal article is in the Recycle Bin; false
otherwise
SystemException
- if a system exception occurredpublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface JournalArticleModel
public boolean isApproved()
true
if this journal article is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface JournalArticleModel
true
if this journal article is approved; false
otherwisepublic boolean isDenied()
true
if this journal article is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface JournalArticleModel
true
if this journal article is denied; false
otherwisepublic boolean isDraft()
true
if this journal article is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface JournalArticleModel
true
if this journal article is a draft; false
otherwisepublic boolean isExpired()
true
if this journal article is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface JournalArticleModel
true
if this journal article is expired; false
otherwisepublic boolean isInactive()
true
if this journal article is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface JournalArticleModel
true
if this journal article is inactive; false
otherwisepublic boolean isIncomplete()
true
if this journal article is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface JournalArticleModel
true
if this journal article is incomplete; false
otherwisepublic boolean isPending()
true
if this journal article is pending.
isPending
in interface WorkflowedModel
isPending
in interface JournalArticleModel
true
if this journal article is pending; false
otherwisepublic boolean isScheduled()
true
if this journal article is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface JournalArticleModel
true
if this journal article is scheduled; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalArticle>
isNew
in interface JournalArticleModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalArticle>
setNew
in interface JournalArticleModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<JournalArticle>
isCachedModel
in interface JournalArticleModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<JournalArticle>
setCachedModel
in interface JournalArticleModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<JournalArticle>
isEscapedModel
in interface JournalArticleModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticle>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TreeModel
getPrimaryKeyObj
in interface JournalArticleModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalArticle>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalArticleModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticle>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalArticleModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticle>
setExpandoBridgeAttributes
in interface JournalArticleModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticle>
setExpandoBridgeAttributes
in interface JournalArticleModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticle>
setExpandoBridgeAttributes
in interface JournalArticleModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface JournalArticleModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface JournalArticleModel
public void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface JournalArticleModel
LocaleException
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticle>
clone
in interface StagedModel
clone
in interface JournalArticleModel
clone
in class Object
public int compareTo(JournalArticle journalArticle)
compareTo
in interface JournalArticleModel
compareTo
in interface Comparable<JournalArticle>
public int hashCode()
hashCode
in interface JournalArticleModel
hashCode
in class Object
public CacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalArticle>
toCacheModel
in interface JournalArticleModel
public JournalArticle toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalArticle>
toEscapedModel
in interface JournalArticleModel
AutoEscapeBeanHandler
public JournalArticle toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalArticle>
toUnescapedModel
in interface JournalArticleModel
public String toString()
toString
in interface JournalArticleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticle>
toXmlString
in interface JournalArticleModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic void updateTreePath(String treePath) throws SystemException
updateTreePath
in interface TreeModel
SystemException
public String buildTreePath() throws PortalException, SystemException
buildTreePath
in interface TreeModel
buildTreePath
in interface JournalArticle
PortalException
SystemException
public String getArticleImageURL(ThemeDisplay themeDisplay)
getArticleImageURL
in interface JournalArticle
public JournalArticleResource getArticleResource() throws PortalException, SystemException
getArticleResource
in interface JournalArticle
PortalException
SystemException
public String getArticleResourceUuid() throws PortalException, SystemException
getArticleResourceUuid
in interface JournalArticle
PortalException
SystemException
public String[] getAvailableLocales()
getAvailableLanguageIds()
getAvailableLocales
in interface JournalArticle
public String getContentByLocale(String languageId)
getContentByLocale
in interface JournalArticle
public String getDefaultLocale()
getDefaultLanguageId()
getDefaultLocale
in interface JournalArticle
public JournalFolder getFolder() throws PortalException, SystemException
getFolder
in interface JournalArticle
PortalException
SystemException
public String getSmallImageType() throws PortalException, SystemException
getSmallImageType
in interface JournalArticle
PortalException
SystemException
public boolean hasApprovedVersion() throws SystemException
hasApprovedVersion
in interface JournalArticle
SystemException
public boolean isInTrashExplicitly() throws SystemException
isInTrashExplicitly
in interface JournalArticle
SystemException
public boolean isTemplateDriven()
isTemplateDriven
in interface JournalArticle
public void setSmallImageType(String smallImageType)
setSmallImageType
in interface JournalArticle
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public JournalArticle getWrappedJournalArticle()
getWrappedModel()
public JournalArticle getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalArticle>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalArticle>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |