|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JournalArticleModel
The base model interface for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation JournalArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl.
JournalArticle,
JournalArticleImpl,
JournalArticleModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getArticleId()
Gets the article ID of this journal article. |
long |
getCompanyId()
Gets the company ID of this journal article. |
String |
getContent()
Gets the content of this journal article. |
Date |
getCreateDate()
Gets the create date of this journal article. |
String |
getDescription()
Gets the description of this journal article. |
Date |
getDisplayDate()
Gets the display date of this journal article. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Gets the expiration date of this journal article. |
long |
getGroupId()
Gets the group ID of this journal article. |
long |
getId()
Gets the ID of this journal article. |
boolean |
getIndexable()
Gets the indexable of this journal article. |
Date |
getModifiedDate()
Gets the modified date of this journal article. |
long |
getPrimaryKey()
Gets the primary key of this journal article. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourcePrimKey()
Gets the resource prim key of this journal article. |
Date |
getReviewDate()
Gets the review date of this journal article. |
boolean |
getSmallImage()
Gets the small image of this journal article. |
long |
getSmallImageId()
Gets the small image ID of this journal article. |
String |
getSmallImageURL()
Gets the small image u r l of this journal article. |
int |
getStatus()
Gets the status of this journal article. |
long |
getStatusByUserId()
Gets the status by user ID of this journal article. |
String |
getStatusByUserName()
Gets the status by user name of this journal article. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this journal article. |
Date |
getStatusDate()
Gets the status date of this journal article. |
String |
getStructureId()
Gets the structure ID of this journal article. |
String |
getTemplateId()
Gets the template ID of this journal article. |
String |
getTitle()
Gets the title of this journal article. |
String |
getType()
Gets the type of this journal article. |
String |
getUrlTitle()
Gets the url title of this journal article. |
long |
getUserId()
Gets the user ID of this journal article. |
String |
getUserName()
Gets the user name of this journal article. |
String |
getUserUuid()
Gets the user uuid of this journal article. |
String |
getUuid()
Gets the uuid of this journal article. |
double |
getVersion()
Gets the version of this journal article. |
int |
hashCode()
|
boolean |
isApproved()
Determines if this journal article is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDraft()
Determines if this journal article is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Determines if this journal article is expired. |
boolean |
isIndexable()
Determines if this journal article is indexable. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Determines if this journal article is pending. |
boolean |
isResourceMain()
|
boolean |
isSmallImage()
Determines if this journal article is small image. |
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 |
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 |
setDisplayDate(Date displayDate)
Sets the display date of this journal article. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 |
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 |
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 |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
resetOriginalValues |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this journal article@AutoEscape String getUuid()
void setUuid(String uuid)
uuid - the uuid of this journal articlelong getId()
void setId(long id)
id - the ID of this journal articlelong getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelvoid setResourcePrimKey(long resourcePrimKey)
resourcePrimKey - the resource prim key of this journal articleboolean isResourceMain()
isResourceMain in interface ResourcedModellong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this journal articlelong getCompanyId()
getCompanyId in interface AuditedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelcompanyId - the company ID of this journal articlelong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this journal article
String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelSystemException - if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this journal article@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this journal articleDate getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this journal articleDate getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this journal articleString getArticleId()
void setArticleId(String articleId)
articleId - the article ID of this journal articledouble getVersion()
void setVersion(double version)
version - the version of this journal article@AutoEscape String getTitle()
void setTitle(String title)
title - the title of this journal article@AutoEscape String getUrlTitle()
void setUrlTitle(String urlTitle)
urlTitle - the url title of this journal article@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this journal article@AutoEscape String getContent()
void setContent(String content)
content - the content of this journal article@AutoEscape String getType()
void setType(String type)
type - the type of this journal articleString getStructureId()
void setStructureId(String structureId)
structureId - the structure ID of this journal articleString getTemplateId()
void setTemplateId(String templateId)
templateId - the template ID of this journal articleDate getDisplayDate()
void setDisplayDate(Date displayDate)
displayDate - the display date of this journal articleDate getExpirationDate()
void setExpirationDate(Date expirationDate)
expirationDate - the expiration date of this journal articleDate getReviewDate()
void setReviewDate(Date reviewDate)
reviewDate - the review date of this journal articleboolean getIndexable()
boolean isIndexable()
true if this journal article is indexable; false otherwisevoid setIndexable(boolean indexable)
indexable - the indexable of this journal articleboolean getSmallImage()
boolean isSmallImage()
true if this journal article is small image; false otherwisevoid setSmallImage(boolean smallImage)
smallImage - the small image of this journal articlelong getSmallImageId()
void setSmallImageId(long smallImageId)
smallImageId - the small image ID of this journal article@AutoEscape String getSmallImageURL()
void setSmallImageURL(String smallImageURL)
smallImageURL - the small image u r l of this journal articleint getStatus()
getStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this journal articlelong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this journal article
String getStatusByUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setStatusByUserUuid(String statusByUserUuid)
statusByUserUuid - the status by user uuid of this journal article@AutoEscape String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this journal articleDate getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this journal articleboolean getApproved()
isApproved()
boolean isApproved()
isApproved in interface WorkflowedModeltrue if this journal article is approved; false otherwiseboolean isDraft()
isDraft in interface WorkflowedModeltrue if this journal article is a draft; false otherwiseboolean isExpired()
isExpired in interface WorkflowedModeltrue if this journal article is expired; false otherwiseboolean isPending()
isPending in interface WorkflowedModeltrue if this journal article is pending; false otherwiseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<JournalArticle>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<JournalArticle>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<JournalArticle>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<JournalArticle>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<JournalArticle>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<JournalArticle>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticle>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<JournalArticle>int compareTo(JournalArticle journalArticle)
compareTo in interface Comparable<JournalArticle>int hashCode()
hashCode in class ObjectCacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticle>JournalArticle toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticle>AutoEscapeBeanHandlerString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||