Liferay 6.1.2-ce-ga3

com.liferay.portlet.blogs.model
Interface BlogsEntryModel

All Superinterfaces:
AuditedModel, BaseModel<BlogsEntry>, ClassedModel, Cloneable, Comparable<BlogsEntry>, GroupedModel, Serializable, WorkflowedModel
All Known Subinterfaces:
BlogsEntry
All Known Implementing Classes:
BlogsEntryBaseImpl, BlogsEntryImpl, BlogsEntryModelImpl, BlogsEntryWrapper

public interface BlogsEntryModel
extends BaseModel<BlogsEntry>, GroupedModel, WorkflowedModel

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

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

See Also:
BlogsEntry, BlogsEntryImpl, BlogsEntryModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsEntry blogsEntry)
           
 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.
 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 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.
 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.
 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 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 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 interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this blogs entry.

Returns:
the primary key of this blogs entry

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this blogs entry.

Parameters:
primaryKey - the primary key of this blogs entry

getUuid

@AutoEscape
String getUuid()
Returns the uuid of this blogs entry.

Returns:
the uuid of this blogs entry

setUuid

void setUuid(String uuid)
Sets the uuid of this blogs entry.

Parameters:
uuid - the uuid of this blogs entry

getEntryId

long getEntryId()
Returns the entry ID of this blogs entry.

Returns:
the entry ID of this blogs entry

setEntryId

void setEntryId(long entryId)
Sets the entry ID of this blogs entry.

Parameters:
entryId - the entry ID of this blogs entry

getGroupId

long getGroupId()
Returns the group ID of this blogs entry.

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

setGroupId

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

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

getCompanyId

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

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

setCompanyId

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

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

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this blogs entry.

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

getUserName

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

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

setUserName

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

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

getCreateDate

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

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

setCreateDate

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

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

getModifiedDate

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

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

setModifiedDate

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

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

getTitle

@AutoEscape
String getTitle()
Returns the title of this blogs entry.

Returns:
the title of this blogs entry

setTitle

void setTitle(String title)
Sets the title of this blogs entry.

Parameters:
title - the title of this blogs entry

getUrlTitle

@AutoEscape
String getUrlTitle()
Returns the url title of this blogs entry.

Returns:
the url title of this blogs entry

setUrlTitle

void setUrlTitle(String urlTitle)
Sets the url title of this blogs entry.

Parameters:
urlTitle - the url title of this blogs entry

getDescription

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

Returns:
the description of this blogs entry

setDescription

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

Parameters:
description - the description of this blogs entry

getContent

@AutoEscape
String getContent()
Returns the content of this blogs entry.

Returns:
the content of this blogs entry

setContent

void setContent(String content)
Sets the content of this blogs entry.

Parameters:
content - the content of this blogs entry

getDisplayDate

Date getDisplayDate()
Returns the display date of this blogs entry.

Returns:
the display date of this blogs entry

setDisplayDate

void setDisplayDate(Date displayDate)
Sets the display date of this blogs entry.

Parameters:
displayDate - the display date of this blogs entry

getAllowPingbacks

boolean getAllowPingbacks()
Returns the allow pingbacks of this blogs entry.

Returns:
the allow pingbacks of this blogs entry

isAllowPingbacks

boolean isAllowPingbacks()
Returns true if this blogs entry is allow pingbacks.

Returns:
true if this blogs entry is allow pingbacks; false otherwise

setAllowPingbacks

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

Parameters:
allowPingbacks - the allow pingbacks of this blogs entry

getAllowTrackbacks

boolean getAllowTrackbacks()
Returns the allow trackbacks of this blogs entry.

Returns:
the allow trackbacks of this blogs entry

isAllowTrackbacks

boolean isAllowTrackbacks()
Returns true if this blogs entry is allow trackbacks.

Returns:
true if this blogs entry is allow trackbacks; false otherwise

setAllowTrackbacks

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

Parameters:
allowTrackbacks - the allow trackbacks of this blogs entry

getTrackbacks

@AutoEscape
String getTrackbacks()
Returns the trackbacks of this blogs entry.

Returns:
the trackbacks of this blogs entry

setTrackbacks

void setTrackbacks(String trackbacks)
Sets the trackbacks of this blogs entry.

Parameters:
trackbacks - the trackbacks of this blogs entry

getSmallImage

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

Returns:
the small image of this blogs entry

isSmallImage

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

Returns:
true if this blogs entry is small image; false otherwise

setSmallImage

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

Parameters:
smallImage - the small image of this blogs entry

getSmallImageId

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

Returns:
the small image ID of this blogs entry

setSmallImageId

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

Parameters:
smallImageId - the small image ID of this blogs entry

getSmallImageURL

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

Returns:
the small image u r l of this blogs entry

setSmallImageURL

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

Parameters:
smallImageURL - the small image u r l of this blogs entry

getStatus

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

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

setStatus

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

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

getStatusByUserId

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

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

setStatusByUserId

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

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

getStatusByUserUuid

String getStatusByUserUuid()
                           throws SystemException
Returns the status by user uuid of this blogs entry.

Returns:
the status by user uuid of this blogs entry
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

void setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this blogs entry.

Parameters:
statusByUserUuid - the status by user uuid of this blogs entry

getStatusByUserName

@AutoEscape
String getStatusByUserName()
Returns the status by user name of this blogs entry.

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

setStatusByUserName

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

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

getStatusDate

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

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

setStatusDate

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

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

getApproved

boolean getApproved()
Deprecated. Renamed to isApproved()


isApproved

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

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

isDenied

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

Returns:
true if this blogs entry is denied; false otherwise

isDraft

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

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

isExpired

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

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

isInactive

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

Returns:
true if this blogs entry is inactive; false otherwise

isIncomplete

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

Returns:
true if this blogs entry is incomplete; false otherwise

isPending

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

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

isScheduled

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

Returns:
true if this blogs entry is scheduled; false otherwise

isNew

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>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

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>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

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>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<BlogsEntry>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

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
Returns:
the primary key of this model instance

setPrimaryKeyObj

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
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

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>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<BlogsEntry>
Returns:
the shallow clone of this model instance

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

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>
Returns:
the cache model object

toEscapedModel

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>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

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

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<BlogsEntry>
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3