|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.model.JournalArticleWrapper
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 | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
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[] |
getAvailableLocales()
|
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 |
getDefaultLocale()
|
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. |
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. |
JournalFolder |
getTrashContainer()
|
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()
|
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()
|
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(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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 long getPrimaryKey()
getPrimaryKey in interface JournalArticleModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleModelprimaryKey - the primary key of this journal articlepublic String getUuid()
getUuid in interface StagedModelgetUuid in interface JournalArticleModelpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic long getId()
getId in interface JournalArticleModelpublic void setId(long id)
setId in interface JournalArticleModelid - the ID of this journal articlepublic long getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelgetResourcePrimKey in interface JournalArticleModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain in interface ResourcedModelisResourceMain in interface JournalArticleModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface JournalArticleModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface JournalArticleModelgroupId - the group ID of this journal articlepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface JournalArticleModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface JournalArticleModelcompanyId - the company ID of this journal articlepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface JournalArticleModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface JournalArticleModeluserId - the user ID of this journal article
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface JournalArticleModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface JournalArticleModeluserName - the user name of this journal articlepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface JournalArticleModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface JournalArticleModelcreateDate - the create date of this journal articlepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface JournalArticleModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal articlepublic long getFolderId()
getFolderId in interface JournalArticleModelpublic void setFolderId(long folderId)
setFolderId in interface JournalArticleModelfolderId - the folder ID of this journal articlepublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface JournalArticleModelpublic void setClassName(String className)
setClassName in interface JournalArticleModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface JournalArticleModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId in interface JournalArticleModelclassNameId - the class name ID of this journal articlepublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface JournalArticleModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface JournalArticleModelclassPK - the class p k of this journal articlepublic String getArticleId()
getArticleId in interface JournalArticleModelpublic void setArticleId(String articleId)
setArticleId in interface JournalArticleModelarticleId - the article ID of this journal articlepublic double getVersion()
getVersion in interface JournalArticleModelpublic void setVersion(double version)
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic String getTitle()
getTitle in interface JournalArticleModelpublic 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 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 getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface JournalArticleModelpublic String getTitleCurrentValue()
getTitleCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface JournalArticlegetTitleMap in interface JournalArticleModelpublic 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 String getUrlTitle()
getUrlTitle in interface JournalArticleModelpublic void setUrlTitle(String urlTitle)
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic String getDescription()
getDescription in interface JournalArticleModelpublic 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 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 getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface JournalArticleModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface JournalArticleModelpublic 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 String getContent()
getContent in interface JournalArticleModelpublic void setContent(String content)
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic String getType()
getType in interface JournalArticleModelpublic void setType(String type)
setType in interface JournalArticleModeltype - the type of this journal articlepublic String getStructureId()
getStructureId in interface JournalArticleModelpublic void setStructureId(String structureId)
setStructureId in interface JournalArticleModelstructureId - the structure ID of this journal articlepublic String getTemplateId()
getTemplateId in interface JournalArticleModelpublic void setTemplateId(String templateId)
setTemplateId in interface JournalArticleModeltemplateId - the template ID of this journal articlepublic String getLayoutUuid()
getLayoutUuid in interface JournalArticleModelpublic void setLayoutUuid(String layoutUuid)
setLayoutUuid in interface JournalArticleModellayoutUuid - the layout uuid of this journal articlepublic Date getDisplayDate()
getDisplayDate in interface JournalArticleModelpublic void setDisplayDate(Date displayDate)
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic Date getExpirationDate()
getExpirationDate in interface JournalArticleModelpublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic Date getReviewDate()
getReviewDate in interface JournalArticleModelpublic void setReviewDate(Date reviewDate)
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic boolean getIndexable()
getIndexable in interface JournalArticleModelpublic boolean isIndexable()
true if this journal article is indexable.
isIndexable in interface JournalArticleModeltrue if this journal article is indexable; false otherwisepublic void setIndexable(boolean indexable)
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic boolean getSmallImage()
getSmallImage in interface JournalArticleModelpublic boolean isSmallImage()
true if this journal article is small image.
isSmallImage in interface JournalArticleModeltrue if this journal article is small image; false otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic long getSmallImageId()
getSmallImageId in interface JournalArticleModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface JournalArticleModelsmallImageId - the small image ID of this journal articlepublic String getSmallImageURL()
getSmallImageURL in interface JournalArticleModelpublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal articlepublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface JournalArticleModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface JournalArticleModelstatus - the status of this journal articlepublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface JournalArticleModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface JournalArticleModelstatusByUserId - the status by user ID of this journal article
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface JournalArticleModelstatusByUserUuid - the status by user uuid of this journal articlepublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface JournalArticleModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal articlepublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface JournalArticleModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic boolean getApproved()
isApproved()
getApproved in interface JournalArticleModelpublic 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 isDenied()
true if this journal article is denied.
isDenied 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 isExpired()
true if this journal article is expired.
isExpired in interface WorkflowedModelisExpired in interface JournalArticleModeltrue if this journal article is expired; false otherwisepublic boolean isInactive()
true if this journal article is inactive.
isInactive in interface JournalArticleModeltrue if this journal article is inactive; false otherwisepublic boolean isIncomplete()
true if this journal article is incomplete.
isIncomplete in interface JournalArticleModeltrue if this journal article is incomplete; false otherwisepublic boolean isInTrash()
true if this journal article is in the Recycle Bin.
isInTrash in interface WorkflowedModelisInTrash in interface JournalArticleModeltrue if this journal article is in the Recycle Bin; 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 isScheduled()
true if this journal article is scheduled.
isScheduled in interface JournalArticleModeltrue if this journal article is scheduled; 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 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 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<JournalArticle>setCachedModel in interface JournalArticleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalArticleModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticle>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleModelpublic 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 prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface JournalArticleprepareLocalizedFieldsForImport in interface JournalArticleModelLocaleExceptionpublic 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>public int hashCode()
hashCode in interface JournalArticleModelhashCode in class Objectpublic 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 JournalArticle toUnescapedModel()
toUnescapedModel in interface BaseModel<JournalArticle>toUnescapedModel in interface JournalArticleModelpublic String toString()
toString in interface JournalArticleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic String getArticleImageURL(ThemeDisplay themeDisplay)
getArticleImageURL in interface JournalArticle
public JournalArticleResource getArticleResource()
throws PortalException,
SystemException
getArticleResource in interface JournalArticlePortalException
SystemException
public String getArticleResourceUuid()
throws PortalException,
SystemException
getArticleResourceUuid in interface JournalArticlePortalException
SystemExceptionpublic String[] getAvailableLocales()
getAvailableLocales in interface JournalArticlepublic String getContentByLocale(String languageId)
getContentByLocale in interface JournalArticlepublic String getDefaultLocale()
getDefaultLocale in interface JournalArticlepublic JournalFolder getFolder()
getFolder in interface JournalArticle
public String getSmallImageType()
throws PortalException,
SystemException
getSmallImageType in interface JournalArticlePortalException
SystemExceptionpublic JournalFolder getTrashContainer()
getTrashContainer in interface JournalArticlepublic boolean isInTrashContainer()
isInTrashContainer in interface JournalArticlepublic boolean isTemplateDriven()
isTemplateDriven in interface JournalArticlepublic void setSmallImageType(String smallImageType)
setSmallImageType in interface JournalArticlepublic JournalArticle getWrappedJournalArticle()
getWrappedModel()
public JournalArticle getWrappedModel()
getWrappedModel in interface ModelWrapper<JournalArticle>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalArticle>
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||