|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<JournalArticle>
com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
@JSON(strict=true) public class JournalArticleModelImpl
The base model implementation for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface JournalArticleModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl.
JournalArticleImpl,
JournalArticle,
JournalArticleModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ARTICLEID_COLUMN_BITMASK
|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FOLDERID_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LAYOUTUUID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RESOURCEPRIMKEY_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
SMALLIMAGEID_COLUMN_BITMASK
|
static long |
STATUS_COLUMN_BITMASK
|
static long |
STRUCTUREID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TEMPLATEID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
URLTITLE_COLUMN_BITMASK
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
static long |
VERSION_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
JournalArticleModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getArticleId()
Returns the article ID of this journal article. |
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 |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this journal article. |
String |
getContent()
Returns the content of this journal article. |
Date |
getCreateDate()
Returns the create date of this journal article. |
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. |
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. |
String |
getOriginalArticleId()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
String |
getOriginalLayoutUuid()
|
long |
getOriginalResourcePrimKey()
|
long |
getOriginalSmallImageId()
|
int |
getOriginalStatus()
|
String |
getOriginalStructureId()
|
String |
getOriginalTemplateId()
|
String |
getOriginalUrlTitle()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
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 |
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. |
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. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this journal article is approved. |
boolean |
isDenied()
Returns true if this journal article is denied. |
boolean |
isDraft()
Returns true if this journal article is a draft. |
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 |
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. |
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 |
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(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 |
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 |
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. |
static JournalArticle |
toModel(JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<JournalArticle> |
toModels(JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long ARTICLEID_COLUMN_BITMASK
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long LAYOUTUUID_COLUMN_BITMASK
public static long RESOURCEPRIMKEY_COLUMN_BITMASK
public static long SMALLIMAGEID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long STRUCTUREID_COLUMN_BITMASK
public static long TEMPLATEID_COLUMN_BITMASK
public static long URLTITLE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public JournalArticleModelImpl()
| Method Detail |
|---|
public static JournalArticle toModel(JournalArticleSoap soapModel)
soapModel - the soap model instance to convert
public static List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
JournalArticleModel
getPrimaryKey in interface JournalArticleModelpublic void setPrimaryKey(long primaryKey)
JournalArticleModel
setPrimaryKey in interface JournalArticleModelprimaryKey - the primary key of this journal articlepublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<JournalArticle>getModelAttributes in class BaseModelImpl<JournalArticle>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<JournalArticle>setModelAttributes in class BaseModelImpl<JournalArticle>@JSON public String getUuid()
JournalArticleModel
getUuid in interface JournalArticleModelpublic void setUuid(String uuid)
JournalArticleModel
setUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic String getOriginalUuid()
@JSON public long getId()
JournalArticleModel
getId in interface JournalArticleModelpublic void setId(long id)
JournalArticleModel
setId in interface JournalArticleModelid - the ID of this journal article@JSON public long getResourcePrimKey()
JournalArticleModel
getResourcePrimKey in interface ResourcedModelgetResourcePrimKey in interface JournalArticleModelpublic void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain in interface ResourcedModelisResourceMain in interface JournalArticleModelpublic long getOriginalResourcePrimKey()
@JSON public long getGroupId()
JournalArticleModel
getGroupId in interface GroupedModelgetGroupId in interface JournalArticleModelpublic void setGroupId(long groupId)
JournalArticleModel
setGroupId in interface GroupedModelsetGroupId in interface JournalArticleModelgroupId - the group ID of this journal articlepublic long getOriginalGroupId()
@JSON public long getCompanyId()
JournalArticleModel
getCompanyId in interface AuditedModelgetCompanyId in interface JournalArticleModelpublic void setCompanyId(long companyId)
JournalArticleModel
setCompanyId in interface AuditedModelsetCompanyId in interface JournalArticleModelcompanyId - the company ID of this journal articlepublic long getOriginalCompanyId()
@JSON public long getUserId()
JournalArticleModel
getUserId in interface AuditedModelgetUserId in interface JournalArticleModelpublic void setUserId(long userId)
JournalArticleModel
setUserId in interface AuditedModelsetUserId in interface JournalArticleModeluserId - the user ID of this journal article
public String getUserUuid()
throws SystemException
JournalArticleModel
getUserUuid in interface AuditedModelgetUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
JournalArticleModel
setUserUuid in interface AuditedModelsetUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic long getOriginalUserId()
@JSON public String getUserName()
JournalArticleModel
getUserName in interface AuditedModelgetUserName in interface JournalArticleModelpublic void setUserName(String userName)
JournalArticleModel
setUserName in interface AuditedModelsetUserName in interface JournalArticleModeluserName - the user name of this journal article@JSON public Date getCreateDate()
JournalArticleModel
getCreateDate in interface AuditedModelgetCreateDate in interface JournalArticleModelpublic void setCreateDate(Date createDate)
JournalArticleModel
setCreateDate in interface AuditedModelsetCreateDate in interface JournalArticleModelcreateDate - the create date of this journal article@JSON public Date getModifiedDate()
JournalArticleModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface JournalArticleModelpublic void setModifiedDate(Date modifiedDate)
JournalArticleModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal article@JSON public long getFolderId()
JournalArticleModel
getFolderId in interface JournalArticleModelpublic void setFolderId(long folderId)
JournalArticleModel
setFolderId in interface JournalArticleModelfolderId - the folder ID of this journal articlepublic long getOriginalFolderId()
public String getClassName()
JournalArticleModel
getClassName in interface AttachedModelgetClassName in interface JournalArticleModelpublic void setClassName(String className)
setClassName in interface JournalArticleModel@JSON public long getClassNameId()
JournalArticleModel
getClassNameId in interface AttachedModelgetClassNameId in interface JournalArticleModelpublic void setClassNameId(long classNameId)
JournalArticleModel
setClassNameId in interface AttachedModelsetClassNameId in interface JournalArticleModelclassNameId - the class name ID of this journal articlepublic long getOriginalClassNameId()
@JSON public long getClassPK()
JournalArticleModel
getClassPK in interface AttachedModelgetClassPK in interface JournalArticleModelpublic void setClassPK(long classPK)
JournalArticleModel
setClassPK in interface AttachedModelsetClassPK in interface JournalArticleModelclassPK - the class p k of this journal articlepublic long getOriginalClassPK()
@JSON public String getArticleId()
JournalArticleModel
getArticleId in interface JournalArticleModelpublic void setArticleId(String articleId)
JournalArticleModel
setArticleId in interface JournalArticleModelarticleId - the article ID of this journal articlepublic String getOriginalArticleId()
@JSON public double getVersion()
JournalArticleModel
getVersion in interface JournalArticleModelpublic void setVersion(double version)
JournalArticleModel
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic double getOriginalVersion()
@JSON public String getTitle()
JournalArticleModel
getTitle in interface JournalArticleModelpublic String getTitle(Locale locale)
JournalArticleModel
getTitle in interface JournalArticleModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
JournalArticleModel
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)
JournalArticleModel
getTitle in interface JournalArticleModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
JournalArticleModel
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 JournalArticleModel@JSON public String getTitleCurrentValue()
getTitleCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getTitleMap()
JournalArticleModel
getTitleMap in interface JournalArticleModelpublic void setTitle(String title)
JournalArticleModel
setTitle in interface JournalArticleModeltitle - the title of this journal article
public void setTitle(String title,
Locale locale)
JournalArticleModel
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)
JournalArticleModel
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)
JournalArticleModel
setTitleMap in interface JournalArticleModeltitleMap - the locales and localized titles of this journal article
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
JournalArticleModel
setTitleMap in interface JournalArticleModeltitleMap - the locales and localized titles of this journal articledefaultLocale - the default locale@JSON public String getUrlTitle()
JournalArticleModel
getUrlTitle in interface JournalArticleModelpublic void setUrlTitle(String urlTitle)
JournalArticleModel
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic String getOriginalUrlTitle()
@JSON public String getDescription()
JournalArticleModel
getDescription in interface JournalArticleModelpublic String getDescription(Locale locale)
JournalArticleModel
getDescription in interface JournalArticleModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
JournalArticleModel
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)
JournalArticleModel
getDescription in interface JournalArticleModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
JournalArticleModel
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 JournalArticleModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface JournalArticleModelpublic Map<Locale,String> getDescriptionMap()
JournalArticleModel
getDescriptionMap in interface JournalArticleModelpublic void setDescription(String description)
JournalArticleModel
setDescription in interface JournalArticleModeldescription - the description of this journal article
public void setDescription(String description,
Locale locale)
JournalArticleModel
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)
JournalArticleModel
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)
JournalArticleModel
setDescriptionMap in interface JournalArticleModeldescriptionMap - the locales and localized descriptions of this journal article
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
JournalArticleModel
setDescriptionMap in interface JournalArticleModeldescriptionMap - the locales and localized descriptions of this journal articledefaultLocale - the default locale@JSON public String getContent()
JournalArticleModel
getContent in interface JournalArticleModelpublic void setContent(String content)
JournalArticleModel
setContent in interface JournalArticleModelcontent - the content of this journal article@JSON public String getType()
JournalArticleModel
getType in interface JournalArticleModelpublic void setType(String type)
JournalArticleModel
setType in interface JournalArticleModeltype - the type of this journal article@JSON public String getStructureId()
JournalArticleModel
getStructureId in interface JournalArticleModelpublic void setStructureId(String structureId)
JournalArticleModel
setStructureId in interface JournalArticleModelstructureId - the structure ID of this journal articlepublic String getOriginalStructureId()
@JSON public String getTemplateId()
JournalArticleModel
getTemplateId in interface JournalArticleModelpublic void setTemplateId(String templateId)
JournalArticleModel
setTemplateId in interface JournalArticleModeltemplateId - the template ID of this journal articlepublic String getOriginalTemplateId()
@JSON public String getLayoutUuid()
JournalArticleModel
getLayoutUuid in interface JournalArticleModelpublic void setLayoutUuid(String layoutUuid)
JournalArticleModel
setLayoutUuid in interface JournalArticleModellayoutUuid - the layout uuid of this journal articlepublic String getOriginalLayoutUuid()
@JSON public Date getDisplayDate()
JournalArticleModel
getDisplayDate in interface JournalArticleModelpublic void setDisplayDate(Date displayDate)
JournalArticleModel
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal article@JSON public Date getExpirationDate()
JournalArticleModel
getExpirationDate in interface JournalArticleModelpublic void setExpirationDate(Date expirationDate)
JournalArticleModel
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal article@JSON public Date getReviewDate()
JournalArticleModel
getReviewDate in interface JournalArticleModelpublic void setReviewDate(Date reviewDate)
JournalArticleModel
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal article@JSON public boolean getIndexable()
JournalArticleModel
getIndexable in interface JournalArticleModelpublic boolean isIndexable()
JournalArticleModeltrue if this journal article is indexable.
isIndexable in interface JournalArticleModeltrue if this journal article is indexable; false otherwisepublic void setIndexable(boolean indexable)
JournalArticleModel
setIndexable in interface JournalArticleModelindexable - the indexable of this journal article@JSON public boolean getSmallImage()
JournalArticleModel
getSmallImage in interface JournalArticleModelpublic boolean isSmallImage()
JournalArticleModeltrue if this journal article is small image.
isSmallImage in interface JournalArticleModeltrue if this journal article is small image; false otherwisepublic void setSmallImage(boolean smallImage)
JournalArticleModel
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal article@JSON public long getSmallImageId()
JournalArticleModel
getSmallImageId in interface JournalArticleModelpublic void setSmallImageId(long smallImageId)
JournalArticleModel
setSmallImageId in interface JournalArticleModelsmallImageId - the small image ID of this journal articlepublic long getOriginalSmallImageId()
@JSON public String getSmallImageURL()
JournalArticleModel
getSmallImageURL in interface JournalArticleModelpublic void setSmallImageURL(String smallImageURL)
JournalArticleModel
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal article@JSON public int getStatus()
JournalArticleModel
getStatus in interface WorkflowedModelgetStatus in interface JournalArticleModelpublic void setStatus(int status)
JournalArticleModel
setStatus in interface WorkflowedModelsetStatus in interface JournalArticleModelstatus - the status of this journal articlepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
JournalArticleModel
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface JournalArticleModelpublic void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface JournalArticleModelstatusByUserId - the status by user ID of this journal article
public String getStatusByUserUuid()
throws SystemException
JournalArticleModel
getStatusByUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalArticleModel
setStatusByUserUuid in interface JournalArticleModelstatusByUserUuid - the status by user uuid of this journal article@JSON public String getStatusByUserName()
JournalArticleModel
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface JournalArticleModelpublic void setStatusByUserName(String statusByUserName)
JournalArticleModel
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal article@JSON public Date getStatusDate()
JournalArticleModel
getStatusDate in interface WorkflowedModelgetStatusDate in interface JournalArticleModelpublic void setStatusDate(Date statusDate)
JournalArticleModel
setStatusDate in interface WorkflowedModelsetStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic boolean getApproved()
isApproved()
getApproved in interface JournalArticleModelpublic boolean isApproved()
JournalArticleModeltrue if this journal article is approved.
isApproved in interface WorkflowedModelisApproved in interface JournalArticleModeltrue if this journal article is approved; false otherwisepublic boolean isDenied()
JournalArticleModeltrue if this journal article is denied.
isDenied in interface JournalArticleModeltrue if this journal article is denied; false otherwisepublic boolean isDraft()
JournalArticleModeltrue 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()
JournalArticleModeltrue if this journal article is expired.
isExpired in interface WorkflowedModelisExpired in interface JournalArticleModeltrue if this journal article is expired; false otherwisepublic boolean isInactive()
JournalArticleModeltrue if this journal article is inactive.
isInactive in interface JournalArticleModeltrue if this journal article is inactive; false otherwisepublic boolean isIncomplete()
JournalArticleModeltrue if this journal article is incomplete.
isIncomplete in interface JournalArticleModeltrue if this journal article is incomplete; false otherwisepublic boolean isInTrash()
JournalArticleModeltrue 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()
JournalArticleModeltrue if this journal article is pending.
isPending in interface WorkflowedModelisPending in interface JournalArticleModeltrue if this journal article is pending; false otherwisepublic boolean isScheduled()
JournalArticleModeltrue if this journal article is scheduled.
isScheduled in interface JournalArticleModeltrue if this journal article is scheduled; false otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleModelgetExpandoBridge in class BaseModelImpl<JournalArticle>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelsetExpandoBridgeAttributes in class BaseModelImpl<JournalArticle>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface JournalArticleModelLocaleExceptionpublic JournalArticle toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticle>toEscapedModel in interface JournalArticleModeltoEscapedModel in class BaseModelImpl<JournalArticle>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<JournalArticle>clone in interface JournalArticleModelclone in class BaseModelImpl<JournalArticle>public int compareTo(JournalArticle journalArticle)
compareTo in interface JournalArticleModelcompareTo in interface Comparable<JournalArticle>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface JournalArticleModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalArticle>resetOriginalValues in class BaseModelImpl<JournalArticle>public CacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticle>toCacheModel in interface JournalArticleModeltoCacheModel in class BaseModelImpl<JournalArticle>public String toString()
toString in interface JournalArticleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModel
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||