Liferay 6.0.3

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()
           
 String getContentField()
           
 Date getCreateDate()
           
 int getDelta()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFeedId()
           
 String getFeedType()
           
 double getFeedVersion()
           
 long getGroupId()
           
 long getId()
           
 Date getModifiedDate()
           
 String getName()
           
 String getOrderByCol()
           
 String getOrderByType()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 String getRendererTemplateId()
           
 String getStructureId()
           
 String getTargetLayoutFriendlyUrl()
           
 String getTargetPortletId()
           
 String getTemplateId()
           
 String getType()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 JournalFeed getWrappedJournalFeed()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setContentField(String contentField)
           
 void setCreateDate(Date createDate)
           
 void setDelta(int delta)
           
 void setDescription(String description)
           
 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 setFeedId(String feedId)
           
 void setFeedType(String feedType)
           
 void setFeedVersion(double feedVersion)
           
 void setGroupId(long groupId)
           
 void setId(long id)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setOrderByCol(String orderByCol)
           
 void setOrderByType(String orderByType)
           
 void setPrimaryKey(long pk)
           
 void setRendererTemplateId(String rendererTemplateId)
           
 void setStructureId(String structureId)
           
 void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
           
 void setTargetPortletId(String targetPortletId)
           
 void setTemplateId(String templateId)
           
 void setType(String type)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 JournalFeed 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

JournalFeedWrapper

public JournalFeedWrapper(JournalFeed journalFeed)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getUuid

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

setUuid

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

getId

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

setId

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

getGroupId

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

setGroupId

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

getCompanyId

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

setCompanyId

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

getUserId

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

setUserId

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

getUserUuid

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

setUserUuid

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

getUserName

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

setUserName

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

getCreateDate

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

setCreateDate

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

getModifiedDate

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

setModifiedDate

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

getFeedId

public String getFeedId()
Specified by:
getFeedId in interface JournalFeedModel

setFeedId

public void setFeedId(String feedId)
Specified by:
setFeedId in interface JournalFeedModel

getName

public String getName()
Specified by:
getName in interface JournalFeedModel

setName

public void setName(String name)
Specified by:
setName in interface JournalFeedModel

getDescription

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

setDescription

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

getType

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

setType

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

getStructureId

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

setStructureId

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

getTemplateId

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

setTemplateId

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

getRendererTemplateId

public String getRendererTemplateId()
Specified by:
getRendererTemplateId in interface JournalFeedModel

setRendererTemplateId

public void setRendererTemplateId(String rendererTemplateId)
Specified by:
setRendererTemplateId in interface JournalFeedModel

getDelta

public int getDelta()
Specified by:
getDelta in interface JournalFeedModel

setDelta

public void setDelta(int delta)
Specified by:
setDelta in interface JournalFeedModel

getOrderByCol

public String getOrderByCol()
Specified by:
getOrderByCol in interface JournalFeedModel

setOrderByCol

public void setOrderByCol(String orderByCol)
Specified by:
setOrderByCol in interface JournalFeedModel

getOrderByType

public String getOrderByType()
Specified by:
getOrderByType in interface JournalFeedModel

setOrderByType

public void setOrderByType(String orderByType)
Specified by:
setOrderByType in interface JournalFeedModel

getTargetLayoutFriendlyUrl

public String getTargetLayoutFriendlyUrl()
Specified by:
getTargetLayoutFriendlyUrl in interface JournalFeedModel

setTargetLayoutFriendlyUrl

public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
Specified by:
setTargetLayoutFriendlyUrl in interface JournalFeedModel

getTargetPortletId

public String getTargetPortletId()
Specified by:
getTargetPortletId in interface JournalFeedModel

setTargetPortletId

public void setTargetPortletId(String targetPortletId)
Specified by:
setTargetPortletId in interface JournalFeedModel

getContentField

public String getContentField()
Specified by:
getContentField in interface JournalFeedModel

setContentField

public void setContentField(String contentField)
Specified by:
setContentField in interface JournalFeedModel

getFeedType

public String getFeedType()
Specified by:
getFeedType in interface JournalFeedModel

setFeedType

public void setFeedType(String feedType)
Specified by:
setFeedType in interface JournalFeedModel

getFeedVersion

public double getFeedVersion()
Specified by:
getFeedVersion in interface JournalFeedModel

setFeedVersion

public void setFeedVersion(double feedVersion)
Specified by:
setFeedVersion in interface JournalFeedModel

toEscapedModel

public JournalFeed toEscapedModel()
Specified by:
toEscapedModel in interface JournalFeedModel

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<JournalFeed>
Specified by:
isEscapedModel in interface JournalFeedModel
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<JournalFeed>
Specified by:
setEscapedModel in interface JournalFeedModel
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<JournalFeed>
Specified by:
getPrimaryKeyObj in interface JournalFeedModel
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<JournalFeed>
Specified by:
getExpandoBridge in interface JournalFeedModel
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<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 clone

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.3