Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.model
Class JournalFeedWrapper

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

public class JournalFeedWrapper
extends Object
implements JournalFeed, ModelWrapper<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 it is generated.

Constructor Summary
JournalFeedWrapper(JournalFeed journalFeed)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalFeed journalFeed)
           
 boolean equals(Object obj)
           
 long getCompanyId()
          Returns the company ID of this journal feed.
 String getContentField()
          Returns the content field of this journal feed.
 Date getCreateDate()
          Returns the create date of this journal feed.
 int getDelta()
          Returns the delta of this journal feed.
 String getDescription()
          Returns the description of this journal feed.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFeedId()
          Returns the feed ID of this journal feed.
 String getFeedType()
          Returns the feed type of this journal feed.
 double getFeedVersion()
          Returns the feed version of this journal feed.
 long getGroupId()
          Returns the group ID of this journal feed.
 long getId()
          Returns the ID of this journal feed.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this journal feed.
 String getName()
          Returns the name of this journal feed.
 String getOrderByCol()
          Returns the order by col of this journal feed.
 String getOrderByType()
          Returns the order by type of this journal feed.
 long getPrimaryKey()
          Returns the primary key of this journal feed.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getRendererTemplateId()
          Returns the renderer template ID of this journal feed.
 String getStructureId()
          Returns the structure ID of this journal feed.
 String getTargetLayoutFriendlyUrl()
          Returns the target layout friendly url of this journal feed.
 String getTargetPortletId()
          Returns the target portlet ID of this journal feed.
 String getTemplateId()
          Returns the template ID of this journal feed.
 String getType()
          Returns the type of this journal feed.
 long getUserId()
          Returns the user ID of this journal feed.
 String getUserName()
          Returns the user name of this journal feed.
 String getUserUuid()
          Returns the user uuid of this journal feed.
 String getUuid()
          Returns the uuid of this journal feed.
 JournalFeed getWrappedJournalFeed()
          Deprecated. Renamed to getWrappedModel()
 JournalFeed getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 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 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 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 setModelAttributes(Map<String,Object> attributes)
           
 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 primaryKey)
          Sets the primary key of this journal feed.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 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.
 CacheModel<JournalFeed> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 JournalFeed toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 JournalFeed toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JournalFeedWrapper

public JournalFeedWrapper(JournalFeed journalFeed)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<JournalFeed>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<JournalFeed>

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this journal feed.

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

getUuid

public String getUuid()
Returns 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)
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()
Returns 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)
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()
Returns the group ID of this journal feed.

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

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this journal feed.

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

getCompanyId

public long getCompanyId()
Returns the company ID of this journal feed.

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

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this journal feed.

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

getUserId

public long getUserId()
Returns the user ID of this journal feed.

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

setUserId

public void setUserId(long userId)
Sets the user ID of this journal feed.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this journal feed.

Specified by:
getUserUuid in interface AuditedModel
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)
Sets the user uuid of this journal feed.

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

getUserName

public String getUserName()
Returns the user name of this journal feed.

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

setUserName

public void setUserName(String userName)
Sets the user name of this journal feed.

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

getCreateDate

public Date getCreateDate()
Returns the create date of this journal feed.

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

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this journal feed.

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

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this journal feed.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this journal feed.

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

getFeedId

public String getFeedId()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
Sets the feed version of this journal feed.

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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true 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
Returns true 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
Returns true 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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<JournalFeed>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface JournalFeedModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<JournalFeed>
Specified by:
getExpandoBridge in interface ClassedModel
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
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

toCacheModel

public CacheModel<JournalFeed> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<JournalFeed>
Specified by:
toCacheModel in interface JournalFeedModel
Returns:
the cache model object

toEscapedModel

public JournalFeed toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<JournalFeed>
Specified by:
toEscapedModel in interface JournalFeedModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public JournalFeed toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<JournalFeed>
Specified by:
toUnescapedModel in interface JournalFeedModel

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns 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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedJournalFeed

public JournalFeed getWrappedJournalFeed()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public JournalFeed getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<JournalFeed>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<JournalFeed>

Liferay 6.1.2-ce-ga3