|
Liferay 6.0-ee-sp2 | |||||||||
| 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)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getArticleId()
Gets the article ID of this journal article. |
JournalArticleResource |
getArticleResource()
|
String |
getArticleResourceUuid()
|
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()
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. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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 |
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 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. |
boolean |
isTemplateDriven()
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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. |
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 class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalArticleWrapper(JournalArticle journalArticle)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalArticleModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleModelprimaryKey - the primary key of this journal articlepublic String getUuid()
getUuid in interface JournalArticleModelpublic void setUuid(String uuid)
setUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic long getId()
getId in interface JournalArticleModelpublic void setId(long id)
setId in interface JournalArticleModelid - the ID of this journal articlepublic long getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelgetResourcePrimKey in interface JournalArticleModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic boolean isResourceMain()
isResourceMain in interface ResourcedModelisResourceMain in interface JournalArticleModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface JournalArticleModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface JournalArticleModelgroupId - the group ID of this journal articlepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface JournalArticleModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface JournalArticleModelcompanyId - the company ID of this journal articlepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface JournalArticleModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface JournalArticleModeluserId - the user ID of this journal article
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface JournalArticleModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface JournalArticleModeluserName - the user name of this journal articlepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface JournalArticleModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface JournalArticleModelcreateDate - the create date of this journal articlepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface JournalArticleModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal articlepublic String getArticleId()
getArticleId in interface JournalArticleModelpublic void setArticleId(String articleId)
setArticleId in interface JournalArticleModelarticleId - the article ID of this journal articlepublic double getVersion()
getVersion in interface JournalArticleModelpublic void setVersion(double version)
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic String getTitle()
getTitle in interface JournalArticleModelpublic void setTitle(String title)
setTitle in interface JournalArticleModeltitle - the title of this journal articlepublic String getUrlTitle()
getUrlTitle in interface JournalArticleModelpublic void setUrlTitle(String urlTitle)
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic String getDescription()
getDescription in interface JournalArticleModelpublic void setDescription(String description)
setDescription in interface JournalArticleModeldescription - the description of this journal articlepublic String getContent()
getContent in interface JournalArticleModelpublic void setContent(String content)
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic String getType()
getType in interface JournalArticleModelpublic void setType(String type)
setType in interface JournalArticleModeltype - the type of this journal articlepublic String getStructureId()
getStructureId in interface JournalArticleModelpublic void setStructureId(String structureId)
setStructureId in interface JournalArticleModelstructureId - the structure ID of this journal articlepublic String getTemplateId()
getTemplateId in interface JournalArticleModelpublic void setTemplateId(String templateId)
setTemplateId in interface JournalArticleModeltemplateId - the template ID of this journal articlepublic Date getDisplayDate()
getDisplayDate in interface JournalArticleModelpublic void setDisplayDate(Date displayDate)
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic Date getExpirationDate()
getExpirationDate in interface JournalArticleModelpublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic Date getReviewDate()
getReviewDate in interface JournalArticleModelpublic void setReviewDate(Date reviewDate)
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic boolean getIndexable()
getIndexable in interface JournalArticleModelpublic boolean isIndexable()
isIndexable in interface JournalArticleModeltrue if this journal article is indexable; false otherwisepublic void setIndexable(boolean indexable)
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic boolean getSmallImage()
getSmallImage in interface JournalArticleModelpublic boolean isSmallImage()
isSmallImage in interface JournalArticleModeltrue if this journal article is small image; false otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic long getSmallImageId()
getSmallImageId in interface JournalArticleModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface JournalArticleModelsmallImageId - the small image ID of this journal articlepublic String getSmallImageURL()
getSmallImageURL in interface JournalArticleModelpublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal articlepublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface JournalArticleModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface JournalArticleModelstatus - the status of this journal articlepublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface JournalArticleModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface JournalArticleModelstatusByUserId - the status by user ID of this journal article
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface JournalArticleModelstatusByUserUuid - the status by user uuid of this journal articlepublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface JournalArticleModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal articlepublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface JournalArticleModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic boolean getApproved()
isApproved()
getApproved in interface JournalArticleModelpublic boolean isApproved()
isApproved in interface WorkflowedModelisApproved in interface JournalArticleModeltrue if this journal article is approved; false otherwisepublic boolean isDraft()
isDraft in interface WorkflowedModelisDraft in interface JournalArticleModeltrue if this journal article is a draft; false otherwisepublic boolean isExpired()
isExpired in interface WorkflowedModelisExpired in interface JournalArticleModeltrue if this journal article is expired; false otherwisepublic boolean isPending()
isPending in interface WorkflowedModelisPending in interface JournalArticleModeltrue if this journal article is pending; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
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 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelserviceContext - the service contextServiceContext.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 CacheModel<JournalArticle> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticle>toCacheModel in interface JournalArticleModelpublic JournalArticle toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticle>toEscapedModel in interface JournalArticleModelAutoEscapeBeanHandlerpublic String toString()
toString in interface JournalArticleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public JournalArticleResource getArticleResource()
throws PortalException,
SystemException
getArticleResource in interface JournalArticlePortalException
SystemException
public String getArticleResourceUuid()
throws PortalException,
SystemException
getArticleResourceUuid in interface JournalArticlePortalException
SystemExceptionpublic 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()
public void resetOriginalValues()
BaseModel
resetOriginalValues 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 | |||||||||