|
|||||||||
| 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 com.liferay.portlet.journal.model.impl.JournalArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.journal.model.impl.JournalArticleImpl.
Never modify or reference this interface directly. All methods that expect a journal article model instance should use the JournalArticle interface instead.
JournalArticle,
com.liferay.portlet.journal.model.impl.JournalArticleImpl,
com.liferay.portlet.journal.model.impl.JournalArticleModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
java.lang.String |
getArticleId()
Gets the article id of this journal article. |
long |
getCompanyId()
Gets the company id of this journal article. |
java.lang.String |
getContent()
Gets the content of this journal article. |
java.util.Date |
getCreateDate()
Gets the create date of this journal article. |
java.lang.String |
getDescription()
Gets the description of this journal article. |
java.util.Date |
getDisplayDate()
Gets the display date of this journal article. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
java.util.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. |
java.util.Date |
getModifiedDate()
Gets the modified date of this journal article. |
long |
getPrimaryKey()
Gets the primary key of this journal article. |
java.io.Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getResourcePrimKey()
Gets the resource prim key of this journal article. |
java.util.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. |
java.lang.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. |
java.lang.String |
getStatusByUserName()
Gets the status by user name of this journal article. |
java.lang.String |
getStatusByUserUuid()
Gets the status by user uuid of this journal article. |
java.util.Date |
getStatusDate()
Gets the status date of this journal article. |
java.lang.String |
getStructureId()
Gets the structure id of this journal article. |
java.lang.String |
getTemplateId()
Gets the template id of this journal article. |
java.lang.String |
getTitle()
Gets the title of this journal article. |
java.lang.String |
getType()
Gets the type of this journal article. |
java.lang.String |
getUrlTitle()
Gets the url title of this journal article. |
long |
getUserId()
Gets the user id of this journal article. |
java.lang.String |
getUserName()
Gets the user name of this journal article. |
java.lang.String |
getUserUuid()
Gets the user uuid of this journal article. |
java.lang.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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines if this journal article is a draft. |
boolean |
isEscapedModel()
Determines 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()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines if this journal article is pending. |
boolean |
isSmallImage()
Determines if this journal article is small image. |
void |
setArticleId(java.lang.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(java.lang.String content)
Sets the content of this journal article. |
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this journal article. |
void |
setDescription(java.lang.String description)
Sets the description of this journal article. |
void |
setDisplayDate(java.util.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(java.util.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 {$entity.humanName} is indexable. |
void |
setModifiedDate(java.util.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 pk)
Sets the primary key of this journal article |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article. |
void |
setReviewDate(java.util.Date reviewDate)
Sets the review date of this journal article. |
void |
setSmallImage(boolean smallImage)
Sets whether this {$entity.humanName} is small image. |
void |
setSmallImageId(long smallImageId)
Sets the small image id of this journal article. |
void |
setSmallImageURL(java.lang.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(java.lang.String statusByUserName)
Sets the status by user name of this journal article. |
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this journal article. |
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this journal article. |
void |
setStructureId(java.lang.String structureId)
Sets the structure id of this journal article. |
void |
setTemplateId(java.lang.String templateId)
Sets the template id of this journal article. |
void |
setTitle(java.lang.String title)
Sets the title of this journal article. |
void |
setType(java.lang.String type)
Sets the type of this journal article. |
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this journal article. |
void |
setUserId(long userId)
Sets the user id of this journal article. |
void |
setUserName(java.lang.String userName)
Sets the user name of this journal article. |
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this journal article. |
void |
setUuid(java.lang.String uuid)
Sets the uuid of this journal article. |
void |
setVersion(double version)
Sets the version of this journal article. |
JournalArticle |
toEscapedModel()
Gets a copy of this journal article as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this journal article@AutoEscape java.lang.String getUuid()
void setUuid(java.lang.String uuid)
uuid - the uuid of this journal articlelong getId()
void setId(long id)
id - the id of this journal articlelong getResourcePrimKey()
void setResourcePrimKey(long resourcePrimKey)
resourcePrimKey - the resource prim key of this journal articlelong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this journal articlelong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this journal articlelong getUserId()
void setUserId(long userId)
userId - the user id of this journal article
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(java.lang.String userUuid)
userUuid - the user uuid of this journal article@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName - the user name of this journal articlejava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate - the create date of this journal articlejava.util.Date getModifiedDate()
void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - the modified date of this journal articlejava.lang.String getArticleId()
void setArticleId(java.lang.String articleId)
articleId - the article id of this journal articledouble getVersion()
void setVersion(double version)
version - the version of this journal article@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this journal article@AutoEscape java.lang.String getUrlTitle()
void setUrlTitle(java.lang.String urlTitle)
urlTitle - the url title of this journal article@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this journal article@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this journal article@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this journal articlejava.lang.String getStructureId()
void setStructureId(java.lang.String structureId)
structureId - the structure id of this journal articlejava.lang.String getTemplateId()
void setTemplateId(java.lang.String templateId)
templateId - the template id of this journal articlejava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate - the display date of this journal articlejava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration date of this journal articlejava.util.Date getReviewDate()
void setReviewDate(java.util.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 java.lang.String getSmallImageURL()
void setSmallImageURL(java.lang.String smallImageURL)
smallImageURL - the small image u r l of this journal articleint getStatus()
void setStatus(int status)
status - the status of this journal articlelong getStatusByUserId()
void setStatusByUserId(long statusByUserId)
statusByUserId - the status by user id of this journal article
java.lang.String getStatusByUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
statusByUserUuid - the status by user uuid of this journal article@AutoEscape java.lang.String getStatusByUserName()
void setStatusByUserName(java.lang.String statusByUserName)
statusByUserName - the status by user name of this journal articlejava.util.Date getStatusDate()
void setStatusDate(java.util.Date statusDate)
statusDate - the status date of this journal articleboolean isApproved()
true if this journal article is approved; false otherwiseboolean isDraft()
true if this journal article is a draft; false otherwiseboolean isExpired()
true if this journal article is expired; false otherwiseboolean isPending()
true if this journal article is pending; false otherwiseJournalArticle toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
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 escapedAutoEscapeBeanHandlerjava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<JournalArticle>int compareTo(JournalArticle journalArticle)
compareTo in interface java.lang.Comparable<JournalArticle>int hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||