Liferay 6.0.5

com.liferay.portlet.blogs.model
Class BlogsEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.blogs.model.BlogsEntryWrapper
All Implemented Interfaces:
BaseModel<BlogsEntry>, BlogsEntry, BlogsEntryModel, Serializable, Cloneable, Comparable<BlogsEntry>

public class BlogsEntryWrapper
extends Object
implements BlogsEntry

This class is a wrapper for BlogsEntry.

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

Constructor Summary
BlogsEntryWrapper(BlogsEntry blogsEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsEntry blogsEntry)
           
 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 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.
 BlogsEntry getWrappedBlogsEntry()
           
 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 isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
          Determines whether this blogs entry is a draft.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isExpired()
          Determines whether this blogs entry is expired.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 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 setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 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 setGroupId(long groupId)
          Sets the group id of this blogs entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this blogs entry.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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.
 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

BlogsEntryWrapper

public BlogsEntryWrapper(BlogsEntry blogsEntry)
Method Detail

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

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

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

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

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

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<BlogsEntry>
Specified by:
isNew in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
setNew in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
isCachedModel in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
setCachedModel in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
isEscapedModel in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
setEscapedModel in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
getPrimaryKeyObj in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
getExpandoBridge in interface BlogsEntryModel
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
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
Overrides:
clone in class Object
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>

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

getWrappedBlogsEntry

public BlogsEntry getWrappedBlogsEntry()

Liferay 6.0.5