Liferay 6.0.5

com.liferay.portlet.journal.model
Class JournalFeedWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalFeedWrapper
All Implemented Interfaces:
BaseModel<JournalFeed>, JournalFeed, JournalFeedModel, Serializable, Cloneable, Comparable<JournalFeed>

public class JournalFeedWrapper
extends Object
implements JournalFeed

This class is a wrapper for JournalFeed.

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

Constructor Summary
JournalFeedWrapper(JournalFeed journalFeed)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalFeed journalFeed)
           
 long getCompanyId()
          Gets the company id of this journal feed.
 String getContentField()
          Gets the content field of this journal feed.
 Date getCreateDate()
          Gets the create date of this journal feed.
 int getDelta()
          Gets the delta of this journal feed.
 String getDescription()
          Gets the description of this journal feed.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFeedId()
          Gets the feed id of this journal feed.
 String getFeedType()
          Gets the feed type of this journal feed.
 double getFeedVersion()
          Gets the feed version of this journal feed.
 long getGroupId()
          Gets the group id of this journal feed.
 long getId()
          Gets the id of this journal feed.
 Date getModifiedDate()
          Gets the modified date of this journal feed.
 String getName()
          Gets the name of this journal feed.
 String getOrderByCol()
          Gets the order by col of this journal feed.
 String getOrderByType()
          Gets the order by type of this journal feed.
 long getPrimaryKey()
          Gets the primary key of this journal feed.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 String getRendererTemplateId()
          Gets the renderer template id of this journal feed.
 String getStructureId()
          Gets the structure id of this journal feed.
 String getTargetLayoutFriendlyUrl()
          Gets the target layout friendly url of this journal feed.
 String getTargetPortletId()
          Gets the target portlet id of this journal feed.
 String getTemplateId()
          Gets the template id of this journal feed.
 String getType()
          Gets the type of this journal feed.
 long getUserId()
          Gets the user id of this journal feed.
 String getUserName()
          Gets the user name of this journal feed.
 String getUserUuid()
          Gets the user uuid of this journal feed.
 String getUuid()
          Gets the uuid of this journal feed.
 JournalFeed getWrappedJournalFeed()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 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 feed.
 void setContentField(String contentField)
          Sets the content field of this journal feed.
 void setCreateDate(Date createDate)
          Sets the create date of this journal feed.
 void setDelta(int delta)
          Sets the delta of this journal feed.
 void setDescription(String description)
          Sets the description of this journal feed.
 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 setFeedId(String feedId)
          Sets the feed id of this journal feed.
 void setFeedType(String feedType)
          Sets the feed type of this journal feed.
 void setFeedVersion(double feedVersion)
          Sets the feed version of this journal feed.
 void setGroupId(long groupId)
          Sets the group id of this journal feed.
 void setId(long id)
          Sets the id of this journal feed.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal feed.
 void setName(String name)
          Sets the name of this journal feed.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setOrderByCol(String orderByCol)
          Sets the order by col of this journal feed.
 void setOrderByType(String orderByType)
          Sets the order by type of this journal feed.
 void setPrimaryKey(long pk)
          Sets the primary key of this journal feed
 void setRendererTemplateId(String rendererTemplateId)
          Sets the renderer template id of this journal feed.
 void setStructureId(String structureId)
          Sets the structure id of this journal feed.
 void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
          Sets the target layout friendly url of this journal feed.
 void setTargetPortletId(String targetPortletId)
          Sets the target portlet id of this journal feed.
 void setTemplateId(String templateId)
          Sets the template id of this journal feed.
 void setType(String type)
          Sets the type of this journal feed.
 void setUserId(long userId)
          Sets the user id of this journal feed.
 void setUserName(String userName)
          Sets the user name of this journal feed.
 void setUserUuid(String userUuid)
          Sets the user uuid of this journal feed.
 void setUuid(String uuid)
          Sets the uuid of this journal feed.
 JournalFeed toEscapedModel()
          Gets a copy of this journal feed 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

JournalFeedWrapper

public JournalFeedWrapper(JournalFeed journalFeed)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalFeedModel
Gets the primary key of this journal feed.

Specified by:
getPrimaryKey in interface JournalFeedModel
Returns:
the primary key of this journal feed

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: JournalFeedModel
Sets the primary key of this journal feed

Specified by:
setPrimaryKey in interface JournalFeedModel
Parameters:
pk - the primary key of this journal feed

getUuid

public String getUuid()
Description copied from interface: JournalFeedModel
Gets the uuid of this journal feed.

Specified by:
getUuid in interface JournalFeedModel
Returns:
the uuid of this journal feed

setUuid

public void setUuid(String uuid)
Description copied from interface: JournalFeedModel
Sets the uuid of this journal feed.

Specified by:
setUuid in interface JournalFeedModel
Parameters:
uuid - the uuid of this journal feed

getId

public long getId()
Description copied from interface: JournalFeedModel
Gets the id of this journal feed.

Specified by:
getId in interface JournalFeedModel
Returns:
the id of this journal feed

setId

public void setId(long id)
Description copied from interface: JournalFeedModel
Sets the id of this journal feed.

Specified by:
setId in interface JournalFeedModel
Parameters:
id - the id of this journal feed

getGroupId

public long getGroupId()
Description copied from interface: JournalFeedModel
Gets the group id of this journal feed.

Specified by:
getGroupId in interface JournalFeedModel
Returns:
the group id of this journal feed

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalFeedModel
Sets the group id of this journal feed.

Specified by:
setGroupId in interface JournalFeedModel
Parameters:
groupId - the group id of this journal feed

getCompanyId

public long getCompanyId()
Description copied from interface: JournalFeedModel
Gets the company id of this journal feed.

Specified by:
getCompanyId in interface JournalFeedModel
Returns:
the company id of this journal feed

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: JournalFeedModel
Sets the company id of this journal feed.

Specified by:
setCompanyId in interface JournalFeedModel
Parameters:
companyId - the company id of this journal feed

getUserId

public long getUserId()
Description copied from interface: JournalFeedModel
Gets the user id of this journal feed.

Specified by:
getUserId in interface JournalFeedModel
Returns:
the user id of this journal feed

setUserId

public void setUserId(long userId)
Description copied from interface: JournalFeedModel
Sets the user id of this journal feed.

Specified by:
setUserId in interface JournalFeedModel
Parameters:
userId - the user id of this journal feed

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: JournalFeedModel
Gets the user uuid of this journal feed.

Specified by:
getUserUuid in interface JournalFeedModel
Returns:
the user uuid of this journal feed
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: JournalFeedModel
Sets the user uuid of this journal feed.

Specified by:
setUserUuid in interface JournalFeedModel
Parameters:
userUuid - the user uuid of this journal feed

getUserName

public String getUserName()
Description copied from interface: JournalFeedModel
Gets the user name of this journal feed.

Specified by:
getUserName in interface JournalFeedModel
Returns:
the user name of this journal feed

setUserName

public void setUserName(String userName)
Description copied from interface: JournalFeedModel
Sets the user name of this journal feed.

Specified by:
setUserName in interface JournalFeedModel
Parameters:
userName - the user name of this journal feed

getCreateDate

public Date getCreateDate()
Description copied from interface: JournalFeedModel
Gets the create date of this journal feed.

Specified by:
getCreateDate in interface JournalFeedModel
Returns:
the create date of this journal feed

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: JournalFeedModel
Sets the create date of this journal feed.

Specified by:
setCreateDate in interface JournalFeedModel
Parameters:
createDate - the create date of this journal feed

getModifiedDate

public Date getModifiedDate()
Description copied from interface: JournalFeedModel
Gets the modified date of this journal feed.

Specified by:
getModifiedDate in interface JournalFeedModel
Returns:
the modified date of this journal feed

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: JournalFeedModel
Sets the modified date of this journal feed.

Specified by:
setModifiedDate in interface JournalFeedModel
Parameters:
modifiedDate - the modified date of this journal feed

getFeedId

public String getFeedId()
Description copied from interface: JournalFeedModel
Gets the feed id of this journal feed.

Specified by:
getFeedId in interface JournalFeedModel
Returns:
the feed id of this journal feed

setFeedId

public void setFeedId(String feedId)
Description copied from interface: JournalFeedModel
Sets the feed id of this journal feed.

Specified by:
setFeedId in interface JournalFeedModel
Parameters:
feedId - the feed id of this journal feed

getName

public String getName()
Description copied from interface: JournalFeedModel
Gets the name of this journal feed.

Specified by:
getName in interface JournalFeedModel
Returns:
the name of this journal feed

setName

public void setName(String name)
Description copied from interface: JournalFeedModel
Sets the name of this journal feed.

Specified by:
setName in interface JournalFeedModel
Parameters:
name - the name of this journal feed

getDescription

public String getDescription()
Description copied from interface: JournalFeedModel
Gets the description of this journal feed.

Specified by:
getDescription in interface JournalFeedModel
Returns:
the description of this journal feed

setDescription

public void setDescription(String description)
Description copied from interface: JournalFeedModel
Sets the description of this journal feed.

Specified by:
setDescription in interface JournalFeedModel
Parameters:
description - the description of this journal feed

getType

public String getType()
Description copied from interface: JournalFeedModel
Gets the type of this journal feed.

Specified by:
getType in interface JournalFeedModel
Returns:
the type of this journal feed

setType

public void setType(String type)
Description copied from interface: JournalFeedModel
Sets the type of this journal feed.

Specified by:
setType in interface JournalFeedModel
Parameters:
type - the type of this journal feed

getStructureId

public String getStructureId()
Description copied from interface: JournalFeedModel
Gets the structure id of this journal feed.

Specified by:
getStructureId in interface JournalFeedModel
Returns:
the structure id of this journal feed

setStructureId

public void setStructureId(String structureId)
Description copied from interface: JournalFeedModel
Sets the structure id of this journal feed.

Specified by:
setStructureId in interface JournalFeedModel
Parameters:
structureId - the structure id of this journal feed

getTemplateId

public String getTemplateId()
Description copied from interface: JournalFeedModel
Gets the template id of this journal feed.

Specified by:
getTemplateId in interface JournalFeedModel
Returns:
the template id of this journal feed

setTemplateId

public void setTemplateId(String templateId)
Description copied from interface: JournalFeedModel
Sets the template id of this journal feed.

Specified by:
setTemplateId in interface JournalFeedModel
Parameters:
templateId - the template id of this journal feed

getRendererTemplateId

public String getRendererTemplateId()
Description copied from interface: JournalFeedModel
Gets the renderer template id of this journal feed.

Specified by:
getRendererTemplateId in interface JournalFeedModel
Returns:
the renderer template id of this journal feed

setRendererTemplateId

public void setRendererTemplateId(String rendererTemplateId)
Description copied from interface: JournalFeedModel
Sets the renderer template id of this journal feed.

Specified by:
setRendererTemplateId in interface JournalFeedModel
Parameters:
rendererTemplateId - the renderer template id of this journal feed

getDelta

public int getDelta()
Description copied from interface: JournalFeedModel
Gets the delta of this journal feed.

Specified by:
getDelta in interface JournalFeedModel
Returns:
the delta of this journal feed

setDelta

public void setDelta(int delta)
Description copied from interface: JournalFeedModel
Sets the delta of this journal feed.

Specified by:
setDelta in interface JournalFeedModel
Parameters:
delta - the delta of this journal feed

getOrderByCol

public String getOrderByCol()
Description copied from interface: JournalFeedModel
Gets the order by col of this journal feed.

Specified by:
getOrderByCol in interface JournalFeedModel
Returns:
the order by col of this journal feed

setOrderByCol

public void setOrderByCol(String orderByCol)
Description copied from interface: JournalFeedModel
Sets the order by col of this journal feed.

Specified by:
setOrderByCol in interface JournalFeedModel
Parameters:
orderByCol - the order by col of this journal feed

getOrderByType

public String getOrderByType()
Description copied from interface: JournalFeedModel
Gets the order by type of this journal feed.

Specified by:
getOrderByType in interface JournalFeedModel
Returns:
the order by type of this journal feed

setOrderByType

public void setOrderByType(String orderByType)
Description copied from interface: JournalFeedModel
Sets the order by type of this journal feed.

Specified by:
setOrderByType in interface JournalFeedModel
Parameters:
orderByType - the order by type of this journal feed

getTargetLayoutFriendlyUrl

public String getTargetLayoutFriendlyUrl()
Description copied from interface: JournalFeedModel
Gets the target layout friendly url of this journal feed.

Specified by:
getTargetLayoutFriendlyUrl in interface JournalFeedModel
Returns:
the target layout friendly url of this journal feed

setTargetLayoutFriendlyUrl

public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
Description copied from interface: JournalFeedModel
Sets the target layout friendly url of this journal feed.

Specified by:
setTargetLayoutFriendlyUrl in interface JournalFeedModel
Parameters:
targetLayoutFriendlyUrl - the target layout friendly url of this journal feed

getTargetPortletId

public String getTargetPortletId()
Description copied from interface: JournalFeedModel
Gets the target portlet id of this journal feed.

Specified by:
getTargetPortletId in interface JournalFeedModel
Returns:
the target portlet id of this journal feed

setTargetPortletId

public void setTargetPortletId(String targetPortletId)
Description copied from interface: JournalFeedModel
Sets the target portlet id of this journal feed.

Specified by:
setTargetPortletId in interface JournalFeedModel
Parameters:
targetPortletId - the target portlet id of this journal feed

getContentField

public String getContentField()
Description copied from interface: JournalFeedModel
Gets the content field of this journal feed.

Specified by:
getContentField in interface JournalFeedModel
Returns:
the content field of this journal feed

setContentField

public void setContentField(String contentField)
Description copied from interface: JournalFeedModel
Sets the content field of this journal feed.

Specified by:
setContentField in interface JournalFeedModel
Parameters:
contentField - the content field of this journal feed

getFeedType

public String getFeedType()
Description copied from interface: JournalFeedModel
Gets the feed type of this journal feed.

Specified by:
getFeedType in interface JournalFeedModel
Returns:
the feed type of this journal feed

setFeedType

public void setFeedType(String feedType)
Description copied from interface: JournalFeedModel
Sets the feed type of this journal feed.

Specified by:
setFeedType in interface JournalFeedModel
Parameters:
feedType - the feed type of this journal feed

getFeedVersion

public double getFeedVersion()
Description copied from interface: JournalFeedModel
Gets the feed version of this journal feed.

Specified by:
getFeedVersion in interface JournalFeedModel
Returns:
the feed version of this journal feed

setFeedVersion

public void setFeedVersion(double feedVersion)
Description copied from interface: JournalFeedModel
Sets the feed version of this journal feed.

Specified by:
setFeedVersion in interface JournalFeedModel
Parameters:
feedVersion - the feed version of this journal feed

toEscapedModel

public JournalFeed toEscapedModel()
Description copied from interface: JournalFeedModel
Gets a copy of this journal feed as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalFeedModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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<JournalFeed>
Specified by:
isNew in interface JournalFeedModel
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<JournalFeed>
Specified by:
setNew in interface JournalFeedModel
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<JournalFeed>
Specified by:
isCachedModel in interface JournalFeedModel
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<JournalFeed>
Specified by:
setCachedModel in interface JournalFeedModel
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 is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalFeed>
Specified by:
isEscapedModel in interface JournalFeedModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalFeed>
Specified by:
setEscapedModel in interface JournalFeedModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalFeed>
Specified by:
getPrimaryKeyObj in interface JournalFeedModel
Returns:
the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<JournalFeed>
Specified by:
getExpandoBridge in interface JournalFeedModel
Returns:
the expando bridge for this model instance

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<JournalFeed>
Specified by:
setExpandoBridgeAttributes in interface JournalFeedModel
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<JournalFeed>
Specified by:
clone in interface JournalFeedModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(JournalFeed journalFeed)
Specified by:
compareTo in interface JournalFeedModel
Specified by:
compareTo in interface Comparable<JournalFeed>

hashCode

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

toString

public String toString()
Specified by:
toString in interface JournalFeedModel
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<JournalFeed>
Specified by:
toXmlString in interface JournalFeedModel
Returns:
the XML representation of this model instance

getWrappedJournalFeed

public JournalFeed getWrappedJournalFeed()

Liferay 6.0.5