Liferay 6.0.5

com.liferay.portlet.blogs.model.impl
Class BlogsEntryModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<BlogsEntry>
      extended by com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
All Implemented Interfaces:
BaseModel<BlogsEntry>, BlogsEntryModel, Serializable, Cloneable, Comparable<BlogsEntry>
Direct Known Subclasses:
BlogsEntryImpl

public class BlogsEntryModelImpl
extends BaseModelImpl<BlogsEntry>
implements BlogsEntryModel

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

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

Never modify or reference this class directly. All methods that expect a blogs entry model instance should use the BlogsEntry interface instead.

See Also:
BlogsEntryImpl, BlogsEntry, BlogsEntryModel, 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
BlogsEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsEntry blogsEntry)
           
 boolean equals(Object obj)
           
 boolean getAllowPingbacks()
          Gets the allow pingbacks of this blogs entry.
 boolean getAllowTrackbacks()
          Gets the allow trackbacks of this blogs entry.
 long getCompanyId()
          Gets the company id of this blogs entry.
 String getContent()
          Gets the content of this blogs entry.
 Date getCreateDate()
          Gets the create date of this blogs entry.
 Date getDisplayDate()
          Gets the display date of this blogs entry.
 long getEntryId()
          Gets the entry id of this blogs entry.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this blogs entry.
 Date getModifiedDate()
          Gets the modified date of this blogs entry.
 long getOriginalGroupId()
           
 String getOriginalUrlTitle()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Gets the primary key of this blogs entry.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getStatus()
          Gets the status of this blogs entry.
 long getStatusByUserId()
          Gets the status by user id of this blogs entry.
 String getStatusByUserName()
          Gets the status by user name of this blogs entry.
 String getStatusByUserUuid()
          Gets the status by user uuid of this blogs entry.
 Date getStatusDate()
          Gets the status date of this blogs entry.
 String getTitle()
          Gets the title of this blogs entry.
 String getTrackbacks()
          Gets the trackbacks of this blogs entry.
 String getUrlTitle()
          Gets the url title of this blogs entry.
 long getUserId()
          Gets the user id of this blogs entry.
 String getUserName()
          Gets the user name of this blogs entry.
 String getUserUuid()
          Gets the user uuid of this blogs entry.
 String getUuid()
          Gets the uuid of this blogs entry.
 int hashCode()
           
 boolean isAllowPingbacks()
          Determines whether this blogs entry is allow pingbacks.
 boolean isAllowTrackbacks()
          Determines whether this blogs entry is allow trackbacks.
 boolean isApproved()
          Determines whether this blogs entry is approved.
 boolean isDraft()
          Determines whether this blogs entry is a draft.
 boolean isExpired()
          Determines whether this blogs entry is expired.
 boolean isPending()
          Determines whether this blogs entry is pending.
 void setAllowPingbacks(boolean allowPingbacks)
          Sets whether this {$entity.humanName} is allow pingbacks.
 void setAllowTrackbacks(boolean allowTrackbacks)
          Sets whether this {$entity.humanName} is allow trackbacks.
 void setCompanyId(long companyId)
          Sets the company id of this blogs entry.
 void setContent(String content)
          Sets the content of this blogs entry.
 void setCreateDate(Date createDate)
          Sets the create date of this blogs entry.
 void setDisplayDate(Date displayDate)
          Sets the display date of this blogs entry.
 void setEntryId(long entryId)
          Sets the entry id of this blogs entry.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group id of this blogs entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this blogs entry.
 void setPrimaryKey(long pk)
          Sets the primary key of this blogs entry
 void setStatus(int status)
          Sets the status of this blogs entry.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user id of this blogs entry.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this blogs entry.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this blogs entry.
 void setStatusDate(Date statusDate)
          Sets the status date of this blogs entry.
 void setTitle(String title)
          Sets the title of this blogs entry.
 void setTrackbacks(String trackbacks)
          Sets the trackbacks of this blogs entry.
 void setUrlTitle(String urlTitle)
          Sets the url title of this blogs entry.
 void setUserId(long userId)
          Sets the user id of this blogs entry.
 void setUserName(String userName)
          Sets the user name of this blogs entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this blogs entry.
 void setUuid(String uuid)
          Sets the uuid of this blogs entry.
 BlogsEntry toEscapedModel()
          Gets a copy of this blogs entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static BlogsEntry toModel(BlogsEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<BlogsEntry> toModels(BlogsEntrySoap[] 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.blogs.model.BlogsEntryModel
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

BlogsEntryModelImpl

public BlogsEntryModelImpl()
Method Detail

toModel

public static BlogsEntry toModel(BlogsEntrySoap 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<BlogsEntry> toModels(BlogsEntrySoap[] 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: BlogsEntryModel
Gets the primary key of this blogs entry.

Specified by:
getPrimaryKey in interface BlogsEntryModel
Returns:
the primary key of this blogs entry

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: BlogsEntryModel
Sets the primary key of this blogs entry

Specified by:
setPrimaryKey in interface BlogsEntryModel
Parameters:
pk - the primary key of this blogs entry

getPrimaryKeyObj

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

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

getUuid

public String getUuid()
Description copied from interface: BlogsEntryModel
Gets the uuid of this blogs entry.

Specified by:
getUuid in interface BlogsEntryModel
Returns:
the uuid of this blogs entry

setUuid

public void setUuid(String uuid)
Description copied from interface: BlogsEntryModel
Sets the uuid of this blogs entry.

Specified by:
setUuid in interface BlogsEntryModel
Parameters:
uuid - the uuid of this blogs entry

getOriginalUuid

public String getOriginalUuid()

getEntryId

public long getEntryId()
Description copied from interface: BlogsEntryModel
Gets the entry id of this blogs entry.

Specified by:
getEntryId in interface BlogsEntryModel
Returns:
the entry id of this blogs entry

setEntryId

public void setEntryId(long entryId)
Description copied from interface: BlogsEntryModel
Sets the entry id of this blogs entry.

Specified by:
setEntryId in interface BlogsEntryModel
Parameters:
entryId - the entry id of this blogs entry

getGroupId

public long getGroupId()
Description copied from interface: BlogsEntryModel
Gets the group id of this blogs entry.

Specified by:
getGroupId in interface BlogsEntryModel
Returns:
the group id of this blogs entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: BlogsEntryModel
Sets the group id of this blogs entry.

Specified by:
setGroupId in interface BlogsEntryModel
Parameters:
groupId - the group id of this blogs entry

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: BlogsEntryModel
Gets the company id of this blogs entry.

Specified by:
getCompanyId in interface BlogsEntryModel
Returns:
the company id of this blogs entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: BlogsEntryModel
Sets the company id of this blogs entry.

Specified by:
setCompanyId in interface BlogsEntryModel
Parameters:
companyId - the company id of this blogs entry

getUserId

public long getUserId()
Description copied from interface: BlogsEntryModel
Gets the user id of this blogs entry.

Specified by:
getUserId in interface BlogsEntryModel
Returns:
the user id of this blogs entry

setUserId

public void setUserId(long userId)
Description copied from interface: BlogsEntryModel
Sets the user id of this blogs entry.

Specified by:
setUserId in interface BlogsEntryModel
Parameters:
userId - the user id of this blogs entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: BlogsEntryModel
Gets the user uuid of this blogs entry.

Specified by:
getUserUuid in interface BlogsEntryModel
Returns:
the user uuid of this blogs entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: BlogsEntryModel
Sets the user uuid of this blogs entry.

Specified by:
setUserUuid in interface BlogsEntryModel
Parameters:
userUuid - the user uuid of this blogs entry

getUserName

public String getUserName()
Description copied from interface: BlogsEntryModel
Gets the user name of this blogs entry.

Specified by:
getUserName in interface BlogsEntryModel
Returns:
the user name of this blogs entry

setUserName

public void setUserName(String userName)
Description copied from interface: BlogsEntryModel
Sets the user name of this blogs entry.

Specified by:
setUserName in interface BlogsEntryModel
Parameters:
userName - the user name of this blogs entry

getCreateDate

public Date getCreateDate()
Description copied from interface: BlogsEntryModel
Gets the create date of this blogs entry.

Specified by:
getCreateDate in interface BlogsEntryModel
Returns:
the create date of this blogs entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: BlogsEntryModel
Sets the create date of this blogs entry.

Specified by:
setCreateDate in interface BlogsEntryModel
Parameters:
createDate - the create date of this blogs entry

getModifiedDate

public Date getModifiedDate()
Description copied from interface: BlogsEntryModel
Gets the modified date of this blogs entry.

Specified by:
getModifiedDate in interface BlogsEntryModel
Returns:
the modified date of this blogs entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: BlogsEntryModel
Sets the modified date of this blogs entry.

Specified by:
setModifiedDate in interface BlogsEntryModel
Parameters:
modifiedDate - the modified date of this blogs entry

getTitle

public String getTitle()
Description copied from interface: BlogsEntryModel
Gets the title of this blogs entry.

Specified by:
getTitle in interface BlogsEntryModel
Returns:
the title of this blogs entry

setTitle

public void setTitle(String title)
Description copied from interface: BlogsEntryModel
Sets the title of this blogs entry.

Specified by:
setTitle in interface BlogsEntryModel
Parameters:
title - the title of this blogs entry

getUrlTitle

public String getUrlTitle()
Description copied from interface: BlogsEntryModel
Gets the url title of this blogs entry.

Specified by:
getUrlTitle in interface BlogsEntryModel
Returns:
the url title of this blogs entry

setUrlTitle

public void setUrlTitle(String urlTitle)
Description copied from interface: BlogsEntryModel
Sets the url title of this blogs entry.

Specified by:
setUrlTitle in interface BlogsEntryModel
Parameters:
urlTitle - the url title of this blogs entry

getOriginalUrlTitle

public String getOriginalUrlTitle()

getContent

public String getContent()
Description copied from interface: BlogsEntryModel
Gets the content of this blogs entry.

Specified by:
getContent in interface BlogsEntryModel
Returns:
the content of this blogs entry

setContent

public void setContent(String content)
Description copied from interface: BlogsEntryModel
Sets the content of this blogs entry.

Specified by:
setContent in interface BlogsEntryModel
Parameters:
content - the content of this blogs entry

getDisplayDate

public Date getDisplayDate()
Description copied from interface: BlogsEntryModel
Gets the display date of this blogs entry.

Specified by:
getDisplayDate in interface BlogsEntryModel
Returns:
the display date of this blogs entry

setDisplayDate

public void setDisplayDate(Date displayDate)
Description copied from interface: BlogsEntryModel
Sets the display date of this blogs entry.

Specified by:
setDisplayDate in interface BlogsEntryModel
Parameters:
displayDate - the display date of this blogs entry

getAllowPingbacks

public boolean getAllowPingbacks()
Description copied from interface: BlogsEntryModel
Gets the allow pingbacks of this blogs entry.

Specified by:
getAllowPingbacks in interface BlogsEntryModel
Returns:
the allow pingbacks of this blogs entry

isAllowPingbacks

public boolean isAllowPingbacks()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is allow pingbacks.

Specified by:
isAllowPingbacks in interface BlogsEntryModel
Returns:
whether this blogs entry is allow pingbacks

setAllowPingbacks

public void setAllowPingbacks(boolean allowPingbacks)
Description copied from interface: BlogsEntryModel
Sets whether this {$entity.humanName} is allow pingbacks.

Specified by:
setAllowPingbacks in interface BlogsEntryModel
Parameters:
allowPingbacks - the allow pingbacks of this blogs entry

getAllowTrackbacks

public boolean getAllowTrackbacks()
Description copied from interface: BlogsEntryModel
Gets the allow trackbacks of this blogs entry.

Specified by:
getAllowTrackbacks in interface BlogsEntryModel
Returns:
the allow trackbacks of this blogs entry

isAllowTrackbacks

public boolean isAllowTrackbacks()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is allow trackbacks.

Specified by:
isAllowTrackbacks in interface BlogsEntryModel
Returns:
whether this blogs entry is allow trackbacks

setAllowTrackbacks

public void setAllowTrackbacks(boolean allowTrackbacks)
Description copied from interface: BlogsEntryModel
Sets whether this {$entity.humanName} is allow trackbacks.

Specified by:
setAllowTrackbacks in interface BlogsEntryModel
Parameters:
allowTrackbacks - the allow trackbacks of this blogs entry

getTrackbacks

public String getTrackbacks()
Description copied from interface: BlogsEntryModel
Gets the trackbacks of this blogs entry.

Specified by:
getTrackbacks in interface BlogsEntryModel
Returns:
the trackbacks of this blogs entry

setTrackbacks

public void setTrackbacks(String trackbacks)
Description copied from interface: BlogsEntryModel
Sets the trackbacks of this blogs entry.

Specified by:
setTrackbacks in interface BlogsEntryModel
Parameters:
trackbacks - the trackbacks of this blogs entry

getStatus

public int getStatus()
Description copied from interface: BlogsEntryModel
Gets the status of this blogs entry.

Specified by:
getStatus in interface BlogsEntryModel
Returns:
the status of this blogs entry

setStatus

public void setStatus(int status)
Description copied from interface: BlogsEntryModel
Sets the status of this blogs entry.

Specified by:
setStatus in interface BlogsEntryModel
Parameters:
status - the status of this blogs entry

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: BlogsEntryModel
Gets the status by user id of this blogs entry.

Specified by:
getStatusByUserId in interface BlogsEntryModel
Returns:
the status by user id of this blogs entry

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: BlogsEntryModel
Sets the status by user id of this blogs entry.

Specified by:
setStatusByUserId in interface BlogsEntryModel
Parameters:
statusByUserId - the status by user id of this blogs entry

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: BlogsEntryModel
Gets the status by user uuid of this blogs entry.

Specified by:
getStatusByUserUuid in interface BlogsEntryModel
Returns:
the status by user uuid of this blogs entry
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: BlogsEntryModel
Sets the status by user uuid of this blogs entry.

Specified by:
setStatusByUserUuid in interface BlogsEntryModel
Parameters:
statusByUserUuid - the status by user uuid of this blogs entry

getStatusByUserName

public String getStatusByUserName()
Description copied from interface: BlogsEntryModel
Gets the status by user name of this blogs entry.

Specified by:
getStatusByUserName in interface BlogsEntryModel
Returns:
the status by user name of this blogs entry

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: BlogsEntryModel
Sets the status by user name of this blogs entry.

Specified by:
setStatusByUserName in interface BlogsEntryModel
Parameters:
statusByUserName - the status by user name of this blogs entry

getStatusDate

public Date getStatusDate()
Description copied from interface: BlogsEntryModel
Gets the status date of this blogs entry.

Specified by:
getStatusDate in interface BlogsEntryModel
Returns:
the status date of this blogs entry

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: BlogsEntryModel
Sets the status date of this blogs entry.

Specified by:
setStatusDate in interface BlogsEntryModel
Parameters:
statusDate - the status date of this blogs entry

isApproved

public boolean isApproved()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is approved.

Specified by:
isApproved in interface BlogsEntryModel
Returns:
true if this blogs entry is approved; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is a draft.

Specified by:
isDraft in interface BlogsEntryModel
Returns:
true if this blogs entry is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is expired.

Specified by:
isExpired in interface BlogsEntryModel
Returns:
true if this blogs entry is expired; false otherwise

isPending

public boolean isPending()
Description copied from interface: BlogsEntryModel
Determines whether this blogs entry is pending.

Specified by:
isPending in interface BlogsEntryModel
Returns:
true if this blogs entry is pending; false otherwise

toEscapedModel

public BlogsEntry toEscapedModel()
Description copied from interface: BlogsEntryModel
Gets a copy of this blogs entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
getExpandoBridge in interface BlogsEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<BlogsEntry>
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<BlogsEntry>
Specified by:
setExpandoBridgeAttributes in interface BlogsEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<BlogsEntry>
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<BlogsEntry>
Specified by:
clone in interface BlogsEntryModel
Specified by:
clone in class BaseModelImpl<BlogsEntry>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(BlogsEntry blogsEntry)
Specified by:
compareTo in interface BlogsEntryModel
Specified by:
compareTo in interface Comparable<BlogsEntry>

equals

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

hashCode

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

toString

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

Liferay 6.0.5