Liferay 6.0.5

com.liferay.portlet.journal.model.impl
Class JournalFeedModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<JournalFeed>
      extended by com.liferay.portlet.journal.model.impl.JournalFeedModelImpl
All Implemented Interfaces:
BaseModel<JournalFeed>, JournalFeedModel, Serializable, Cloneable, Comparable<JournalFeed>
Direct Known Subclasses:
JournalFeedImpl

public class JournalFeedModelImpl
extends BaseModelImpl<JournalFeed>
implements JournalFeedModel

The base model implementation for the JournalFeed service. Represents a row in the "JournalFeed" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface JournalFeedModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalFeedImpl.

Never modify or reference this class directly. All methods that expect a journal feed model instance should use the JournalFeed interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
JournalFeedModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalFeed journalFeed)
           
 boolean equals(Object obj)
           
 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.
 String getOriginalFeedId()
           
 long getOriginalGroupId()
           
 String getOriginalUuid()
           
 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.
 int hashCode()
           
 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 setModifiedDate(Date modifiedDate)
          Sets the modified date of this journal feed.
 void setName(String name)
          Sets the name of this journal feed.
 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.
static JournalFeed toModel(JournalFeedSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<JournalFeed> toModels(JournalFeedSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.journal.model.JournalFeedModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

JournalFeedModelImpl

public JournalFeedModelImpl()
Method Detail

toModel

public static JournalFeed toModel(JournalFeedSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<JournalFeed> toModels(JournalFeedSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

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

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

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

getOriginalUuid

public String getOriginalUuid()

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

getOriginalGroupId

public long getOriginalGroupId()

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

getOriginalFeedId

public String getOriginalFeedId()

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

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
Overrides:
getExpandoBridge in class BaseModelImpl<JournalFeed>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<JournalFeed>
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
Specified by:
clone in class BaseModelImpl<JournalFeed>
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>

equals

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

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

Liferay 6.0.5