|
Liferay 6.0.5 | |||||||||
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
.
Never modify or reference this interface directly. All methods that expect a journal article model instance should use the JournalArticle
interface instead.
JournalArticle
,
JournalArticleImpl
,
JournalArticleModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
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()
Gets 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()
Gets 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 whether this journal article is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines whether this journal article is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines whether this journal article is expired. |
boolean |
isIndexable()
Determines whether this journal article is indexable. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines whether this journal article is pending. |
boolean |
isSmallImage()
Determines whether 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 {$entity.humanName} 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 pk)
Sets the primary key of this journal article |
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 {$entity.humanName} 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. |
JournalArticle |
toEscapedModel()
Gets a copy of this journal article as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
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 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()
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 articleString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
userUuid
- the user uuid of this journal article@AutoEscape String getUserName()
void setUserName(String userName)
userName
- the user name of this journal articleDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this journal articleDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- 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()
void setIndexable(boolean indexable)
indexable
- the indexable of this journal articleboolean getSmallImage()
boolean isSmallImage()
void 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()
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 articleString 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()
void setStatusByUserName(String statusByUserName)
statusByUserName
- the status by user name of this journal articleDate getStatusDate()
void setStatusDate(Date statusDate)
statusDate
- the status date of this journal articleboolean isApproved()
boolean isDraft()
boolean isExpired()
boolean isPending()
JournalArticle toEscapedModel()
AutoEscapeBeanHandler
.
AutoEscapeBeanHandler
boolean 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 cacheEntityCache
boolean 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 escapedAutoEscapeBeanHandler
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(
)
Object clone()
BaseModel
clone
in interface BaseModel<JournalArticle>
int compareTo(JournalArticle journalArticle)
compareTo
in interface Comparable<JournalArticle>
int hashCode()
hashCode
in class Object
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticle>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |