Liferay 6.0.3

com.liferay.portlet.journal.model
Class JournalArticleWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalArticleWrapper
All Implemented Interfaces:
BaseModel<JournalArticle>, JournalArticle, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>

public class JournalArticleWrapper
extends Object
implements JournalArticle

This class is a wrapper for JournalArticle.

See Also:
JournalArticle, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
JournalArticleWrapper(JournalArticle journalArticle)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticle journalArticle)
           
 String getArticleId()
           
 String[] getAvailableLocales()
           
 long getCompanyId()
           
 String getContent()
           
 String getContentByLocale(String languageId)
           
 Date getCreateDate()
           
 String getDefaultLocale()
           
 String getDescription()
           
 Date getDisplayDate()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
           
 long getGroupId()
           
 long getId()
           
 boolean getIndexable()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 long getResourcePrimKey()
           
 Date getReviewDate()
           
 boolean getSmallImage()
           
 long getSmallImageId()
           
 String getSmallImageType()
           
 String getSmallImageURL()
           
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 String getStructureId()
           
 String getTemplateId()
           
 String getTitle()
           
 String getType()
           
 String getUrlTitle()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 double getVersion()
           
 JournalArticle getWrappedJournalArticle()
           
 int hashCode()
           
 boolean isApproved()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isExpired()
           
 boolean isIndexable()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
           
 boolean isSmallImage()
           
 boolean isTemplateDriven()
           
 void setArticleId(String articleId)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setContent(String content)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setDisplayDate(Date displayDate)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setGroupId(long groupId)
           
 void setId(long id)
           
 void setIndexable(boolean indexable)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setResourcePrimKey(long resourcePrimKey)
           
 void setReviewDate(Date reviewDate)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageType(String smallImageType)
           
 void setSmallImageURL(String smallImageURL)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(String statusByUserName)
           
 void setStatusByUserUuid(String statusByUserUuid)
           
 void setStatusDate(Date statusDate)
           
 void setStructureId(String structureId)
           
 void setTemplateId(String templateId)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setUrlTitle(String urlTitle)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 void setVersion(double version)
           
 JournalArticle toEscapedModel()
           
 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

JournalArticleWrapper

public JournalArticleWrapper(JournalArticle journalArticle)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface JournalArticleModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface JournalArticleModel

getUuid

public String getUuid()
Specified by:
getUuid in interface JournalArticleModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface JournalArticleModel

getId

public long getId()
Specified by:
getId in interface JournalArticleModel

setId

public void setId(long id)
Specified by:
setId in interface JournalArticleModel

getResourcePrimKey

public long getResourcePrimKey()
Specified by:
getResourcePrimKey in interface JournalArticleModel

setResourcePrimKey

public void setResourcePrimKey(long resourcePrimKey)
Specified by:
setResourcePrimKey in interface JournalArticleModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface JournalArticleModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface JournalArticleModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface JournalArticleModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface JournalArticleModel

getUserId

public long getUserId()
Specified by:
getUserId in interface JournalArticleModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface JournalArticleModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface JournalArticleModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface JournalArticleModel

getUserName

public String getUserName()
Specified by:
getUserName in interface JournalArticleModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface JournalArticleModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface JournalArticleModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface JournalArticleModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface JournalArticleModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface JournalArticleModel

getArticleId

public String getArticleId()
Specified by:
getArticleId in interface JournalArticleModel

setArticleId

public void setArticleId(String articleId)
Specified by:
setArticleId in interface JournalArticleModel

getVersion

public double getVersion()
Specified by:
getVersion in interface JournalArticleModel

setVersion

public void setVersion(double version)
Specified by:
setVersion in interface JournalArticleModel

getTitle

public String getTitle()
Specified by:
getTitle in interface JournalArticleModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface JournalArticleModel

getUrlTitle

public String getUrlTitle()
Specified by:
getUrlTitle in interface JournalArticleModel

setUrlTitle

public void setUrlTitle(String urlTitle)
Specified by:
setUrlTitle in interface JournalArticleModel

getDescription

public String getDescription()
Specified by:
getDescription in interface JournalArticleModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface JournalArticleModel

getContent

public String getContent()
Specified by:
getContent in interface JournalArticleModel

setContent

public void setContent(String content)
Specified by:
setContent in interface JournalArticleModel

getType

public String getType()
Specified by:
getType in interface JournalArticleModel

setType

public void setType(String type)
Specified by:
setType in interface JournalArticleModel

getStructureId

public String getStructureId()
Specified by:
getStructureId in interface JournalArticleModel

setStructureId

public void setStructureId(String structureId)
Specified by:
setStructureId in interface JournalArticleModel

getTemplateId

public String getTemplateId()
Specified by:
getTemplateId in interface JournalArticleModel

setTemplateId

public void setTemplateId(String templateId)
Specified by:
setTemplateId in interface JournalArticleModel

getDisplayDate

public Date getDisplayDate()
Specified by:
getDisplayDate in interface JournalArticleModel

setDisplayDate

public void setDisplayDate(Date displayDate)
Specified by:
setDisplayDate in interface JournalArticleModel

getExpirationDate

public Date getExpirationDate()
Specified by:
getExpirationDate in interface JournalArticleModel

setExpirationDate

public void setExpirationDate(Date expirationDate)
Specified by:
setExpirationDate in interface JournalArticleModel

getReviewDate

public Date getReviewDate()
Specified by:
getReviewDate in interface JournalArticleModel

setReviewDate

public void setReviewDate(Date reviewDate)
Specified by:
setReviewDate in interface JournalArticleModel

getIndexable

public boolean getIndexable()
Specified by:
getIndexable in interface JournalArticleModel

isIndexable

public boolean isIndexable()
Specified by:
isIndexable in interface JournalArticleModel

setIndexable

public void setIndexable(boolean indexable)
Specified by:
setIndexable in interface JournalArticleModel

getSmallImage

public boolean getSmallImage()
Specified by:
getSmallImage in interface JournalArticleModel

isSmallImage

public boolean isSmallImage()
Specified by:
isSmallImage in interface JournalArticleModel

setSmallImage

public void setSmallImage(boolean smallImage)
Specified by:
setSmallImage in interface JournalArticleModel

getSmallImageId

public long getSmallImageId()
Specified by:
getSmallImageId in interface JournalArticleModel

setSmallImageId

public void setSmallImageId(long smallImageId)
Specified by:
setSmallImageId in interface JournalArticleModel

getSmallImageURL

public String getSmallImageURL()
Specified by:
getSmallImageURL in interface JournalArticleModel

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Specified by:
setSmallImageURL in interface JournalArticleModel

getStatus

public int getStatus()
Specified by:
getStatus in interface JournalArticleModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface JournalArticleModel

getStatusByUserId

public long getStatusByUserId()
Specified by:
getStatusByUserId in interface JournalArticleModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface JournalArticleModel

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Specified by:
getStatusByUserUuid in interface JournalArticleModel
Throws:
SystemException

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface JournalArticleModel

getStatusByUserName

public String getStatusByUserName()
Specified by:
getStatusByUserName in interface JournalArticleModel

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Specified by:
setStatusByUserName in interface JournalArticleModel

getStatusDate

public Date getStatusDate()
Specified by:
getStatusDate in interface JournalArticleModel

setStatusDate

public void setStatusDate(Date statusDate)
Specified by:
setStatusDate in interface JournalArticleModel

isApproved

public boolean isApproved()
Specified by:
isApproved in interface JournalArticleModel

isDraft

public boolean isDraft()
Specified by:
isDraft in interface JournalArticleModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface JournalArticleModel

isPending

public boolean isPending()
Specified by:
isPending in interface JournalArticleModel

toEscapedModel

public JournalArticle toEscapedModel()
Specified by:
toEscapedModel in interface JournalArticleModel

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalArticle>
Specified by:
isNew in interface JournalArticleModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalArticle>
Specified by:
setNew in interface JournalArticleModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalArticle>
Specified by:
isCachedModel in interface JournalArticleModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalArticle>
Specified by:
setCachedModel in interface JournalArticleModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<JournalArticle>
Specified by:
isEscapedModel in interface JournalArticleModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalArticle>
Specified by:
setEscapedModel in interface JournalArticleModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalArticle>
Specified by:
getPrimaryKeyObj in interface JournalArticleModel
Returns:
the primary key

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalArticle>
Specified by:
getExpandoBridge in interface JournalArticleModel
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalArticle>
Specified by:
clone in interface JournalArticleModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(JournalArticle journalArticle)
Specified by:
compareTo in interface JournalArticleModel
Specified by:
compareTo in interface Comparable<JournalArticle>

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalArticleModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface JournalArticleModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalArticle>
Specified by:
toXmlString in interface JournalArticleModel
Returns:
the XML representation of this model instance

getAvailableLocales

public String[] getAvailableLocales()
Specified by:
getAvailableLocales in interface JournalArticle

getContentByLocale

public String getContentByLocale(String languageId)
Specified by:
getContentByLocale in interface JournalArticle

getDefaultLocale

public String getDefaultLocale()
Specified by:
getDefaultLocale in interface JournalArticle

getSmallImageType

public String getSmallImageType()
                         throws PortalException,
                                SystemException
Specified by:
getSmallImageType in interface JournalArticle
Throws:
PortalException
SystemException

isTemplateDriven

public boolean isTemplateDriven()
Specified by:
isTemplateDriven in interface JournalArticle

setSmallImageType

public void setSmallImageType(String smallImageType)
Specified by:
setSmallImageType in interface JournalArticle

getWrappedJournalArticle

public JournalArticle getWrappedJournalArticle()

Liferay 6.0.3