|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlogsEntryModel
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 com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.blogs.model.impl.BlogsEntryImpl.
Never modify or reference this interface directly. All methods that expect a blogs entry model instance should use the BlogsEntry interface instead.
BlogsEntry,
com.liferay.portlet.blogs.model.impl.BlogsEntryImpl,
com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl| Method Summary | |
|---|---|
java.lang.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. |
java.lang.String |
getContent()
Gets the content of this blogs entry. |
java.util.Date |
getCreateDate()
Gets the create date of this blogs entry. |
java.util.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. |
java.util.Date |
getModifiedDate()
Gets the modified date of this blogs entry. |
long |
getPrimaryKey()
Gets the primary key of this blogs entry. |
java.io.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. |
java.lang.String |
getStatusByUserName()
Gets the status by user name of this blogs entry. |
java.lang.String |
getStatusByUserUuid()
Gets the status by user uuid of this blogs entry. |
java.util.Date |
getStatusDate()
Gets the status date of this blogs entry. |
java.lang.String |
getTitle()
Gets the title of this blogs entry. |
java.lang.String |
getTrackbacks()
Gets the trackbacks of this blogs entry. |
java.lang.String |
getUrlTitle()
Gets the url title of this blogs entry. |
long |
getUserId()
Gets the user id of this blogs entry. |
java.lang.String |
getUserName()
Gets the user name of this blogs entry. |
java.lang.String |
getUserUuid()
Gets the user uuid of this blogs entry. |
java.lang.String |
getUuid()
Gets the uuid of this blogs entry. |
int |
hashCode()
|
boolean |
isAllowPingbacks()
Determines if this blogs entry is allow pingbacks. |
boolean |
isAllowTrackbacks()
Determines if this blogs entry is allow trackbacks. |
boolean |
isApproved()
Determines if this blogs entry is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines if this blogs entry is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines if this blogs entry is expired. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines if 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(java.lang.String content)
Sets the content of this blogs entry. |
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this blogs entry. |
void |
setDisplayDate(java.util.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(java.util.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(java.lang.String statusByUserName)
Sets the status by user name of this blogs entry. |
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this blogs entry. |
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this blogs entry. |
void |
setTitle(java.lang.String title)
Sets the title of this blogs entry. |
void |
setTrackbacks(java.lang.String trackbacks)
Sets the trackbacks of this blogs entry. |
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this blogs entry. |
void |
setUserId(long userId)
Sets the user id of this blogs entry. |
void |
setUserName(java.lang.String userName)
Sets the user name of this blogs entry. |
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this blogs entry. |
void |
setUuid(java.lang.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. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this blogs entry@AutoEscape java.lang.String getUuid()
void setUuid(java.lang.String uuid)
uuid - the uuid of this blogs entrylong getEntryId()
void setEntryId(long entryId)
entryId - the entry id of this blogs entrylong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this blogs entrylong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this blogs entrylong getUserId()
void setUserId(long userId)
userId - the user id of this blogs entry
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(java.lang.String userUuid)
userUuid - the user uuid of this blogs entry@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName - the user name of this blogs entryjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate - the create date of this blogs entryjava.util.Date getModifiedDate()
void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - the modified date of this blogs entry@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this blogs entry@AutoEscape java.lang.String getUrlTitle()
void setUrlTitle(java.lang.String urlTitle)
urlTitle - the url title of this blogs entry@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this blogs entryjava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate - the display date of this blogs entryboolean getAllowPingbacks()
boolean isAllowPingbacks()
true if this blogs entry is allow pingbacks; false otherwisevoid setAllowPingbacks(boolean allowPingbacks)
allowPingbacks - the allow pingbacks of this blogs entryboolean getAllowTrackbacks()
boolean isAllowTrackbacks()
true if this blogs entry is allow trackbacks; false otherwisevoid setAllowTrackbacks(boolean allowTrackbacks)
allowTrackbacks - the allow trackbacks of this blogs entry@AutoEscape java.lang.String getTrackbacks()
void setTrackbacks(java.lang.String trackbacks)
trackbacks - the trackbacks of this blogs entryint getStatus()
void setStatus(int status)
status - the status of this blogs entrylong getStatusByUserId()
void setStatusByUserId(long statusByUserId)
statusByUserId - the status by user id of this blogs entry
java.lang.String getStatusByUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
statusByUserUuid - the status by user uuid of this blogs entry@AutoEscape java.lang.String getStatusByUserName()
void setStatusByUserName(java.lang.String statusByUserName)
statusByUserName - the status by user name of this blogs entryjava.util.Date getStatusDate()
void setStatusDate(java.util.Date statusDate)
statusDate - the status date of this blogs entryboolean isApproved()
true if this blogs entry is approved; false otherwiseboolean isDraft()
true if this blogs entry is a draft; false otherwiseboolean isExpired()
true if this blogs entry is expired; false otherwiseboolean isPending()
true if this blogs entry is pending; false otherwiseBlogsEntry toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<BlogsEntry>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<BlogsEntry>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<BlogsEntry>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<BlogsEntry>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<BlogsEntry>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<BlogsEntry>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerjava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<BlogsEntry>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<BlogsEntry>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<BlogsEntry>int compareTo(BlogsEntry blogsEntry)
compareTo in interface java.lang.Comparable<BlogsEntry>int hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<BlogsEntry>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||