Liferay 6.1.2-ce-ga3

com.liferay.portlet.blogs.model
Class BlogsEntryWrapper

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

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

Constructor Summary
BlogsEntryWrapper(BlogsEntry blogsEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsEntry blogsEntry)
           
 boolean equals(Object obj)
           
 boolean getAllowPingbacks()
          Returns the allow pingbacks of this blogs entry.
 boolean getAllowTrackbacks()
          Returns the allow trackbacks of this blogs entry.
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 long getCompanyId()
          Returns the company ID of this blogs entry.
 String getContent()
          Returns the content of this blogs entry.
 Date getCreateDate()
          Returns the create date of this blogs entry.
 String getDescription()
          Returns the description of this blogs entry.
 Date getDisplayDate()
          Returns the display date of this blogs entry.
 long getEntryId()
          Returns the entry ID of this blogs entry.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this blogs entry.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this blogs entry.
 long getPrimaryKey()
          Returns the primary key of this blogs entry.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getSmallImage()
          Returns the small image of this blogs entry.
 long getSmallImageId()
          Returns the small image ID of this blogs entry.
 String getSmallImageType()
           
 String getSmallImageURL()
          Returns the small image u r l of this blogs entry.
 int getStatus()
          Returns the status of this blogs entry.
 long getStatusByUserId()
          Returns the status by user ID of this blogs entry.
 String getStatusByUserName()
          Returns the status by user name of this blogs entry.
 String getStatusByUserUuid()
          Returns the status by user uuid of this blogs entry.
 Date getStatusDate()
          Returns the status date of this blogs entry.
 String getTitle()
          Returns the title of this blogs entry.
 String getTrackbacks()
          Returns the trackbacks of this blogs entry.
 String getUrlTitle()
          Returns the url title of this blogs entry.
 long getUserId()
          Returns the user ID of this blogs entry.
 String getUserName()
          Returns the user name of this blogs entry.
 String getUserUuid()
          Returns the user uuid of this blogs entry.
 String getUuid()
          Returns the uuid of this blogs entry.
 BlogsEntry getWrappedBlogsEntry()
          Deprecated. Renamed to getWrappedModel()
 BlogsEntry getWrappedModel()
           
 int hashCode()
           
 boolean isAllowPingbacks()
          Returns true if this blogs entry is allow pingbacks.
 boolean isAllowTrackbacks()
          Returns true if this blogs entry is allow trackbacks.
 boolean isApproved()
          Returns true if this blogs entry is approved.
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isDenied()
          Returns true if this blogs entry is denied.
 boolean isDraft()
          Returns true if this blogs entry is a draft.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isExpired()
          Returns true if this blogs entry is expired.
 boolean isInactive()
          Returns true if this blogs entry is inactive.
 boolean isIncomplete()
          Returns true if this blogs entry is incomplete.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPending()
          Returns true if this blogs entry is pending.
 boolean isScheduled()
          Returns true if this blogs entry is scheduled.
 boolean isSmallImage()
          Returns true if this blogs entry is small image.
 boolean isVisible()
           
 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 setAllowPingbacks(boolean allowPingbacks)
          Sets whether this blogs entry is allow pingbacks.
 void setAllowTrackbacks(boolean allowTrackbacks)
          Sets whether this blogs entry 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 setDescription(String description)
          Sets the description 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 setModelAttributes(Map<String,Object> attributes)
           
 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 primaryKey)
          Sets the primary key of this blogs entry.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSmallImage(boolean smallImage)
          Sets whether this blogs entry is small image.
 void setSmallImageId(long smallImageId)
          Sets the small image ID of this blogs entry.
 void setSmallImageType(String smallImageType)
           
 void setSmallImageURL(String smallImageURL)
          Sets the small image u r l 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.
 CacheModel<BlogsEntry> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 BlogsEntry toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 BlogsEntry 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

BlogsEntryWrapper

public BlogsEntryWrapper(BlogsEntry blogsEntry)
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<BlogsEntry>

setModelAttributes

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

getPrimaryKey

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

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

getUuid

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

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

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this blogs entry.

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

getCompanyId

public long getCompanyId()
Returns the company ID of this blogs entry.

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

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this blogs entry.

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

getUserId

public long getUserId()
Returns the user ID of this blogs entry.

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

setUserId

public void setUserId(long userId)
Sets the user ID of this blogs entry.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this blogs entry.

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

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

getUserName

public String getUserName()
Returns the user name of this blogs entry.

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

setUserName

public void setUserName(String userName)
Sets the user name of this blogs entry.

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

getCreateDate

public Date getCreateDate()
Returns the create date of this blogs entry.

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

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this blogs entry.

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

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this blogs entry.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this blogs entry.

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

getTitle

public String getTitle()
Returns 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)
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()
Returns 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)
Sets the url title of this blogs entry.

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

getDescription

public String getDescription()
Returns the description of this blogs entry.

Specified by:
getDescription in interface BlogsEntryModel
Returns:
the description of this blogs entry

setDescription

public void setDescription(String description)
Sets the description of this blogs entry.

Specified by:
setDescription in interface BlogsEntryModel
Parameters:
description - the description of this blogs entry

getContent

public String getContent()
Returns 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)
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()
Returns 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)
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()
Returns 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()
Returns true if this blogs entry is allow pingbacks.

Specified by:
isAllowPingbacks in interface BlogsEntryModel
Returns:
true if this blogs entry is allow pingbacks; false otherwise

setAllowPingbacks

public void setAllowPingbacks(boolean allowPingbacks)
Sets whether this blogs entry is allow pingbacks.

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

getAllowTrackbacks

public boolean getAllowTrackbacks()
Returns 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()
Returns true if this blogs entry is allow trackbacks.

Specified by:
isAllowTrackbacks in interface BlogsEntryModel
Returns:
true if this blogs entry is allow trackbacks; false otherwise

setAllowTrackbacks

public void setAllowTrackbacks(boolean allowTrackbacks)
Sets whether this blogs entry is allow trackbacks.

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

getTrackbacks

public String getTrackbacks()
Returns 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)
Sets the trackbacks of this blogs entry.

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

getSmallImage

public boolean getSmallImage()
Returns the small image of this blogs entry.

Specified by:
getSmallImage in interface BlogsEntryModel
Returns:
the small image of this blogs entry

isSmallImage

public boolean isSmallImage()
Returns true if this blogs entry is small image.

Specified by:
isSmallImage in interface BlogsEntryModel
Returns:
true if this blogs entry is small image; false otherwise

setSmallImage

public void setSmallImage(boolean smallImage)
Sets whether this blogs entry is small image.

Specified by:
setSmallImage in interface BlogsEntryModel
Parameters:
smallImage - the small image of this blogs entry

getSmallImageId

public long getSmallImageId()
Returns the small image ID of this blogs entry.

Specified by:
getSmallImageId in interface BlogsEntryModel
Returns:
the small image ID of this blogs entry

setSmallImageId

public void setSmallImageId(long smallImageId)
Sets the small image ID of this blogs entry.

Specified by:
setSmallImageId in interface BlogsEntryModel
Parameters:
smallImageId - the small image ID of this blogs entry

getSmallImageURL

public String getSmallImageURL()
Returns the small image u r l of this blogs entry.

Specified by:
getSmallImageURL in interface BlogsEntryModel
Returns:
the small image u r l of this blogs entry

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Sets the small image u r l of this blogs entry.

Specified by:
setSmallImageURL in interface BlogsEntryModel
Parameters:
smallImageURL - the small image u r l of this blogs entry

getStatus

public int getStatus()
Returns the status of this blogs entry.

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

setStatus

public void setStatus(int status)
Sets the status of this blogs entry.

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

getStatusByUserId

public long getStatusByUserId()
Returns the status by user ID of this blogs entry.

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

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this blogs entry.

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

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Returns 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)
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()
Returns the status by user name of this blogs entry.

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

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Sets the status by user name of this blogs entry.

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

getStatusDate

public Date getStatusDate()
Returns the status date of this blogs entry.

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

setStatusDate

public void setStatusDate(Date statusDate)
Sets the status date of this blogs entry.

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

getApproved

public boolean getApproved()
Deprecated. Renamed to isApproved()

Specified by:
getApproved in interface BlogsEntryModel

isApproved

public boolean isApproved()
Returns true if this blogs entry is approved.

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

isDenied

public boolean isDenied()
Returns true if this blogs entry is denied.

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

isDraft

public boolean isDraft()
Returns true if this blogs entry is a draft.

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

isExpired

public boolean isExpired()
Returns true if this blogs entry is expired.

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

isInactive

public boolean isInactive()
Returns true if this blogs entry is inactive.

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

isIncomplete

public boolean isIncomplete()
Returns true if this blogs entry is incomplete.

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

isPending

public boolean isPending()
Returns true if this blogs entry is pending.

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

isScheduled

public boolean isScheduled()
Returns true if this blogs entry is scheduled.

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

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<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
Returns true 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
Returns true 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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<BlogsEntry>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
getExpandoBridge in interface ClassedModel
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
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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<BlogsEntry>
Specified by:
toCacheModel in interface BlogsEntryModel
Returns:
the cache model object

toEscapedModel

public BlogsEntry 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<BlogsEntry>
Specified by:
toEscapedModel in interface BlogsEntryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public BlogsEntry toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<BlogsEntry>
Specified by:
toUnescapedModel in interface BlogsEntryModel

toString

public String toString()
Specified by:
toString in interface BlogsEntryModel
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<BlogsEntry>
Specified by:
toXmlString in interface BlogsEntryModel
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

getSmallImageType

public String getSmallImageType()
                         throws PortalException,
                                SystemException
Specified by:
getSmallImageType in interface BlogsEntry
Throws:
PortalException
SystemException

isVisible

public boolean isVisible()
Specified by:
isVisible in interface BlogsEntry

setSmallImageType

public void setSmallImageType(String smallImageType)
Specified by:
setSmallImageType in interface BlogsEntry

equals

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

getWrappedBlogsEntry

public BlogsEntry getWrappedBlogsEntry()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<BlogsEntry>

Liferay 6.1.2-ce-ga3