|
Liferay 6.0.4 | |||||||||
| 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| Constructor Summary | |
|---|---|
JournalArticleWrapper(JournalArticle journalArticle)
|
|
| 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. |
String[] |
getAvailableLocales()
|
long |
getCompanyId()
Gets the company id of this journal article. |
String |
getContent()
Gets the content of this journal article. |
String |
getContentByLocale(String languageId)
|
Date |
getCreateDate()
Gets the create date of this journal article. |
String |
getDefaultLocale()
|
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 |
getSmallImageType()
|
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. |
JournalArticle |
getWrappedJournalArticle()
|
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. |
boolean |
isTemplateDriven()
|
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 |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalArticleWrapper(JournalArticle journalArticle)
| Method Detail |
|---|
public long getPrimaryKey()
JournalArticleModel
getPrimaryKey in interface JournalArticleModelpublic void setPrimaryKey(long pk)
JournalArticleModel
setPrimaryKey in interface JournalArticleModelpk - the primary key of this journal articlepublic String getUuid()
JournalArticleModel
getUuid in interface JournalArticleModelpublic void setUuid(String uuid)
JournalArticleModel
setUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic long getId()
JournalArticleModel
getId in interface JournalArticleModelpublic void setId(long id)
JournalArticleModel
setId in interface JournalArticleModelid - the id of this journal articlepublic long getResourcePrimKey()
JournalArticleModel
getResourcePrimKey in interface JournalArticleModelpublic void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic long getGroupId()
JournalArticleModel
getGroupId in interface JournalArticleModelpublic void setGroupId(long groupId)
JournalArticleModel
setGroupId in interface JournalArticleModelgroupId - the group id of this journal articlepublic long getCompanyId()
JournalArticleModel
getCompanyId in interface JournalArticleModelpublic void setCompanyId(long companyId)
JournalArticleModel
setCompanyId in interface JournalArticleModelcompanyId - the company id of this journal articlepublic long getUserId()
JournalArticleModel
getUserId in interface JournalArticleModelpublic void setUserId(long userId)
JournalArticleModel
setUserId in interface JournalArticleModeluserId - the user id of this journal article
public String getUserUuid()
throws SystemException
JournalArticleModel
getUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
JournalArticleModel
setUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic String getUserName()
JournalArticleModel
getUserName in interface JournalArticleModelpublic void setUserName(String userName)
JournalArticleModel
setUserName in interface JournalArticleModeluserName - the user name of this journal articlepublic Date getCreateDate()
JournalArticleModel
getCreateDate in interface JournalArticleModelpublic void setCreateDate(Date createDate)
JournalArticleModel
setCreateDate in interface JournalArticleModelcreateDate - the create date of this journal articlepublic Date getModifiedDate()
JournalArticleModel
getModifiedDate in interface JournalArticleModelpublic void setModifiedDate(Date modifiedDate)
JournalArticleModel
setModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal articlepublic String getArticleId()
JournalArticleModel
getArticleId in interface JournalArticleModelpublic void setArticleId(String articleId)
JournalArticleModel
setArticleId in interface JournalArticleModelarticleId - the article id of this journal articlepublic double getVersion()
JournalArticleModel
getVersion in interface JournalArticleModelpublic void setVersion(double version)
JournalArticleModel
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic String getTitle()
JournalArticleModel
getTitle in interface JournalArticleModelpublic void setTitle(String title)
JournalArticleModel
setTitle in interface JournalArticleModeltitle - the title of this journal articlepublic String getUrlTitle()
JournalArticleModel
getUrlTitle in interface JournalArticleModelpublic void setUrlTitle(String urlTitle)
JournalArticleModel
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic String getDescription()
JournalArticleModel
getDescription in interface JournalArticleModelpublic void setDescription(String description)
JournalArticleModel
setDescription in interface JournalArticleModeldescription - the description of this journal articlepublic String getContent()
JournalArticleModel
getContent in interface JournalArticleModelpublic void setContent(String content)
JournalArticleModel
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic String getType()
JournalArticleModel
getType in interface JournalArticleModelpublic void setType(String type)
JournalArticleModel
setType in interface JournalArticleModeltype - the type of this journal articlepublic String getStructureId()
JournalArticleModel
getStructureId in interface JournalArticleModelpublic void setStructureId(String structureId)
JournalArticleModel
setStructureId in interface JournalArticleModelstructureId - the structure id of this journal articlepublic String getTemplateId()
JournalArticleModel
getTemplateId in interface JournalArticleModelpublic void setTemplateId(String templateId)
JournalArticleModel
setTemplateId in interface JournalArticleModeltemplateId - the template id of this journal articlepublic Date getDisplayDate()
JournalArticleModel
getDisplayDate in interface JournalArticleModelpublic void setDisplayDate(Date displayDate)
JournalArticleModel
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic Date getExpirationDate()
JournalArticleModel
getExpirationDate in interface JournalArticleModelpublic void setExpirationDate(Date expirationDate)
JournalArticleModel
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic Date getReviewDate()
JournalArticleModel
getReviewDate in interface JournalArticleModelpublic void setReviewDate(Date reviewDate)
JournalArticleModel
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic boolean getIndexable()
JournalArticleModel
getIndexable in interface JournalArticleModelpublic boolean isIndexable()
JournalArticleModel
isIndexable in interface JournalArticleModelpublic void setIndexable(boolean indexable)
JournalArticleModel
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic boolean getSmallImage()
JournalArticleModel
getSmallImage in interface JournalArticleModelpublic boolean isSmallImage()
JournalArticleModel
isSmallImage in interface JournalArticleModelpublic void setSmallImage(boolean smallImage)
JournalArticleModel
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic long getSmallImageId()
JournalArticleModel
getSmallImageId in interface JournalArticleModelpublic void setSmallImageId(long smallImageId)
JournalArticleModel
setSmallImageId in interface JournalArticleModelsmallImageId - the small image id of this journal articlepublic 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 articlepublic int getStatus()
JournalArticleModel
getStatus in interface JournalArticleModelpublic void setStatus(int status)
JournalArticleModel
setStatus in interface JournalArticleModelstatus - the status of this journal articlepublic long getStatusByUserId()
JournalArticleModel
getStatusByUserId in interface JournalArticleModelpublic void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId 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 articlepublic String getStatusByUserName()
JournalArticleModel
getStatusByUserName in interface JournalArticleModelpublic void setStatusByUserName(String statusByUserName)
JournalArticleModel
setStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal articlepublic Date getStatusDate()
JournalArticleModel
getStatusDate in interface JournalArticleModelpublic void setStatusDate(Date statusDate)
JournalArticleModel
setStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic boolean isApproved()
JournalArticleModel
isApproved in interface JournalArticleModelpublic boolean isDraft()
JournalArticleModel
isDraft in interface JournalArticleModelpublic boolean isExpired()
JournalArticleModel
isExpired in interface JournalArticleModelpublic boolean isPending()
JournalArticleModel
isPending in interface JournalArticleModelpublic JournalArticle toEscapedModel()
JournalArticleModelAutoEscapeBeanHandler.
toEscapedModel in interface JournalArticleModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
isEscapedModel in interface BaseModel<JournalArticle>isEscapedModel in interface JournalArticleModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public 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>setEscapedModel in interface JournalArticleModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>getPrimaryKeyObj in interface JournalArticleModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface JournalArticleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<JournalArticle>clone 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 String toString()
toString in interface JournalArticleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModelpublic String[] getAvailableLocales()
getAvailableLocales in interface JournalArticlepublic String getContentByLocale(String languageId)
getContentByLocale in interface JournalArticlepublic String getDefaultLocale()
getDefaultLocale in interface JournalArticle
public String getSmallImageType()
throws PortalException,
SystemException
getSmallImageType in interface JournalArticlePortalException
SystemExceptionpublic boolean isTemplateDriven()
isTemplateDriven in interface JournalArticlepublic void setSmallImageType(String smallImageType)
setSmallImageType in interface JournalArticlepublic JournalArticle getWrappedJournalArticle()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||