Liferay 6.0.5

com.liferay.portlet.blogs.model
Interface BlogsEntryModel

All Superinterfaces:
BaseModel<BlogsEntry>, Cloneable, Comparable<BlogsEntry>, Serializable
All Known Subinterfaces:
BlogsEntry
All Known Implementing Classes:
BlogsEntryImpl, BlogsEntryModelImpl, BlogsEntryWrapper

public interface BlogsEntryModel
extends BaseModel<BlogsEntry>

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.

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

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

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

Method Detail

getPrimaryKey

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

Returns:
the primary key of this blogs entry

setPrimaryKey

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

Parameters:
pk - the primary key of this blogs entry

getUuid

@AutoEscape
String getUuid()
Gets 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()
Gets 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()
Gets the group id of this blogs entry.

Returns:
the group id of this blogs entry

setGroupId

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

Parameters:
groupId - the group id of this blogs entry

getCompanyId

long getCompanyId()
Gets the company id of this blogs entry.

Returns:
the company id of this blogs entry

setCompanyId

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

Parameters:
companyId - the company id of this blogs entry

getUserId

long getUserId()
Gets the user id of this blogs entry.

Returns:
the user id of this blogs entry

setUserId

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

Parameters:
userId - the user id of this blogs entry

getUserUuid

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

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.

Parameters:
userUuid - the user uuid of this blogs entry

getUserName

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

Returns:
the user name of this blogs entry

setUserName

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

Parameters:
userName - the user name of this blogs entry

getCreateDate

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

Returns:
the create date of this blogs entry

setCreateDate

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

Parameters:
createDate - the create date of this blogs entry

getModifiedDate

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

Returns:
the modified date of this blogs entry

setModifiedDate

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

Parameters:
modifiedDate - the modified date of this blogs entry

getTitle

@AutoEscape
String getTitle()
Gets 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()
Gets 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

getContent

@AutoEscape
String getContent()
Gets 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()
Gets 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()
Gets the allow pingbacks of this blogs entry.

Returns:
the allow pingbacks of this blogs entry

isAllowPingbacks

boolean isAllowPingbacks()
Determines whether this blogs entry is allow pingbacks.

Returns:
whether this blogs entry is allow pingbacks

setAllowPingbacks

void setAllowPingbacks(boolean allowPingbacks)
Sets whether this {$entity.humanName} is allow pingbacks.

Parameters:
allowPingbacks - the allow pingbacks of this blogs entry

getAllowTrackbacks

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

Returns:
the allow trackbacks of this blogs entry

isAllowTrackbacks

boolean isAllowTrackbacks()
Determines whether this blogs entry is allow trackbacks.

Returns:
whether this blogs entry is allow trackbacks

setAllowTrackbacks

void setAllowTrackbacks(boolean allowTrackbacks)
Sets whether this {$entity.humanName} is allow trackbacks.

Parameters:
allowTrackbacks - the allow trackbacks of this blogs entry

getTrackbacks

@AutoEscape
String getTrackbacks()
Gets 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

getStatus

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

Returns:
the status of this blogs entry

setStatus

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

Parameters:
status - the status of this blogs entry

getStatusByUserId

long getStatusByUserId()
Gets the status by user id of this blogs entry.

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.

Parameters:
statusByUserId - the status by user id of this blogs entry

getStatusByUserUuid

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

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.

Parameters:
statusByUserName - the status by user name of this blogs entry

getStatusDate

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

Returns:
the status date of this blogs entry

setStatusDate

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

Parameters:
statusDate - the status date of this blogs entry

isApproved

boolean isApproved()
Determines whether this blogs entry is approved.

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

isDraft

boolean isDraft()
Determines whether this blogs entry is a draft.

Returns:
true if this blogs entry is a draft; false otherwise

isExpired

boolean isExpired()
Determines whether this blogs entry is expired.

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

isPending

boolean isPending()
Determines whether this blogs entry is pending.

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

toEscapedModel

BlogsEntry toEscapedModel()
Gets a copy of this blogs entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

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>
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
Determines 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
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<BlogsEntry>
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

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>
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<BlogsEntry>
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 to retrieve the expando bridge attributes from
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

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.0.5