Liferay 6.0.3

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()
           
 boolean getAllowTrackbacks()
           
 long getCompanyId()
           
 String getContent()
           
 Date getCreateDate()
           
 Date getDisplayDate()
           
 long getEntryId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 String getTitle()
           
 String getTrackbacks()
           
 String getUrlTitle()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 BlogsEntry getWrappedBlogsEntry()
           
 int hashCode()
           
 boolean isAllowPingbacks()
           
 boolean isAllowTrackbacks()
           
 boolean isApproved()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isExpired()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
           
 void setAllowPingbacks(boolean allowPingbacks)
           
 void setAllowTrackbacks(boolean allowTrackbacks)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setContent(String content)
           
 void setCreateDate(Date createDate)
           
 void setDisplayDate(Date displayDate)
           
 void setEntryId(long entryId)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(String statusByUserName)
           
 void setStatusByUserUuid(String statusByUserUuid)
           
 void setStatusDate(Date statusDate)
           
 void setTitle(String title)
           
 void setTrackbacks(String trackbacks)
           
 void setUrlTitle(String urlTitle)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 BlogsEntry toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlogsEntryWrapper

public BlogsEntryWrapper(BlogsEntry blogsEntry)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getUuid

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

setUuid

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

getEntryId

public long getEntryId()
Specified by:
getEntryId in interface BlogsEntryModel

setEntryId

public void setEntryId(long entryId)
Specified by:
setEntryId in interface BlogsEntryModel

getGroupId

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

setGroupId

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

getCompanyId

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

setCompanyId

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

getUserId

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

setUserId

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

getUserUuid

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

setUserUuid

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

getUserName

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

setUserName

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

getCreateDate

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

setCreateDate

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

getModifiedDate

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

setModifiedDate

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

getTitle

public String getTitle()
Specified by:
getTitle in interface BlogsEntryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface BlogsEntryModel

getUrlTitle

public String getUrlTitle()
Specified by:
getUrlTitle in interface BlogsEntryModel

setUrlTitle

public void setUrlTitle(String urlTitle)
Specified by:
setUrlTitle in interface BlogsEntryModel

getContent

public String getContent()
Specified by:
getContent in interface BlogsEntryModel

setContent

public void setContent(String content)
Specified by:
setContent in interface BlogsEntryModel

getDisplayDate

public Date getDisplayDate()
Specified by:
getDisplayDate in interface BlogsEntryModel

setDisplayDate

public void setDisplayDate(Date displayDate)
Specified by:
setDisplayDate in interface BlogsEntryModel

getAllowPingbacks

public boolean getAllowPingbacks()
Specified by:
getAllowPingbacks in interface BlogsEntryModel

isAllowPingbacks

public boolean isAllowPingbacks()
Specified by:
isAllowPingbacks in interface BlogsEntryModel

setAllowPingbacks

public void setAllowPingbacks(boolean allowPingbacks)
Specified by:
setAllowPingbacks in interface BlogsEntryModel

getAllowTrackbacks

public boolean getAllowTrackbacks()
Specified by:
getAllowTrackbacks in interface BlogsEntryModel

isAllowTrackbacks

public boolean isAllowTrackbacks()
Specified by:
isAllowTrackbacks in interface BlogsEntryModel

setAllowTrackbacks

public void setAllowTrackbacks(boolean allowTrackbacks)
Specified by:
setAllowTrackbacks in interface BlogsEntryModel

getTrackbacks

public String getTrackbacks()
Specified by:
getTrackbacks in interface BlogsEntryModel

setTrackbacks

public void setTrackbacks(String trackbacks)
Specified by:
setTrackbacks in interface BlogsEntryModel

getStatus

public int getStatus()
Specified by:
getStatus in interface BlogsEntryModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface BlogsEntryModel

getStatusByUserId

public long getStatusByUserId()
Specified by:
getStatusByUserId in interface BlogsEntryModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface BlogsEntryModel

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Specified by:
getStatusByUserUuid in interface BlogsEntryModel
Throws:
SystemException

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface BlogsEntryModel

getStatusByUserName

public String getStatusByUserName()
Specified by:
getStatusByUserName in interface BlogsEntryModel

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Specified by:
setStatusByUserName in interface BlogsEntryModel

getStatusDate

public Date getStatusDate()
Specified by:
getStatusDate in interface BlogsEntryModel

setStatusDate

public void setStatusDate(Date statusDate)
Specified by:
setStatusDate in interface BlogsEntryModel

isApproved

public boolean isApproved()
Specified by:
isApproved in interface BlogsEntryModel

isDraft

public boolean isDraft()
Specified by:
isDraft in interface BlogsEntryModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface BlogsEntryModel

isPending

public boolean isPending()
Specified by:
isPending in interface BlogsEntryModel

toEscapedModel

public BlogsEntry toEscapedModel()
Specified by:
toEscapedModel in interface BlogsEntryModel

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

Specified by:
isEscapedModel in interface BaseModel<BlogsEntry>
Specified by:
isEscapedModel in interface BlogsEntryModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<BlogsEntry>
Specified by:
setEscapedModel in interface BlogsEntryModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<BlogsEntry>
Specified by:
getPrimaryKeyObj in interface BlogsEntryModel
Returns:
the primary key

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<BlogsEntry>
Specified by:
getExpandoBridge in interface BlogsEntryModel
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<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 clone

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