|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.blogs.model.BlogsEntryWrapper
public class BlogsEntryWrapper
This class is a wrapper for BlogsEntry.
BlogsEntry,
Serialized Form| Constructor Summary | |
|---|---|
BlogsEntryWrapper(BlogsEntry blogsEntry)
|
|
| 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. |
boolean |
getApproved()
Deprecated. isApproved() |
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()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Gets the group ID of this blogs entry. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this blogs entry. |
long |
getPrimaryKey()
Gets the primary key of this blogs entry. |
Serializable |
getPrimaryKeyObj()
Returns 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. |
BlogsEntry |
getWrappedBlogsEntry()
|
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()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDraft()
Determines if this blogs entry is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Determines if this blogs entry is expired. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Determines if this blogs entry is pending. |
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 |
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 primaryKey)
Sets the primary key of this blogs entry |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlogsEntryWrapper(BlogsEntry blogsEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface BlogsEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface BlogsEntryModelprimaryKey - the primary key of this blogs entrypublic String getUuid()
getUuid in interface BlogsEntryModelpublic void setUuid(String uuid)
setUuid in interface BlogsEntryModeluuid - the uuid of this blogs entrypublic long getEntryId()
getEntryId in interface BlogsEntryModelpublic void setEntryId(long entryId)
setEntryId in interface BlogsEntryModelentryId - the entry ID of this blogs entrypublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface BlogsEntryModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface BlogsEntryModelgroupId - the group ID of this blogs entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface BlogsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface BlogsEntryModelcompanyId - the company ID of this blogs entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface BlogsEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface BlogsEntryModeluserId - the user ID of this blogs entry
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface BlogsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface BlogsEntryModeluserUuid - the user uuid of this blogs entrypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface BlogsEntryModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface BlogsEntryModeluserName - the user name of this blogs entrypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface BlogsEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface BlogsEntryModelcreateDate - the create date of this blogs entrypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface BlogsEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface BlogsEntryModelmodifiedDate - the modified date of this blogs entrypublic String getTitle()
getTitle in interface BlogsEntryModelpublic void setTitle(String title)
setTitle in interface BlogsEntryModeltitle - the title of this blogs entrypublic String getUrlTitle()
getUrlTitle in interface BlogsEntryModelpublic void setUrlTitle(String urlTitle)
setUrlTitle in interface BlogsEntryModelurlTitle - the url title of this blogs entrypublic String getContent()
getContent in interface BlogsEntryModelpublic void setContent(String content)
setContent in interface BlogsEntryModelcontent - the content of this blogs entrypublic Date getDisplayDate()
getDisplayDate in interface BlogsEntryModelpublic void setDisplayDate(Date displayDate)
setDisplayDate in interface BlogsEntryModeldisplayDate - the display date of this blogs entrypublic boolean getAllowPingbacks()
getAllowPingbacks in interface BlogsEntryModelpublic boolean isAllowPingbacks()
isAllowPingbacks in interface BlogsEntryModeltrue if this blogs entry is allow pingbacks; false otherwisepublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks in interface BlogsEntryModelallowPingbacks - the allow pingbacks of this blogs entrypublic boolean getAllowTrackbacks()
getAllowTrackbacks in interface BlogsEntryModelpublic boolean isAllowTrackbacks()
isAllowTrackbacks in interface BlogsEntryModeltrue if this blogs entry is allow trackbacks; false otherwisepublic void setAllowTrackbacks(boolean allowTrackbacks)
setAllowTrackbacks in interface BlogsEntryModelallowTrackbacks - the allow trackbacks of this blogs entrypublic String getTrackbacks()
getTrackbacks in interface BlogsEntryModelpublic void setTrackbacks(String trackbacks)
setTrackbacks in interface BlogsEntryModeltrackbacks - the trackbacks of this blogs entrypublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface BlogsEntryModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface BlogsEntryModelstatus - the status of this blogs entrypublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface BlogsEntryModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface BlogsEntryModelstatusByUserId - the status by user ID of this blogs entry
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface BlogsEntryModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface BlogsEntryModelstatusByUserUuid - the status by user uuid of this blogs entrypublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface BlogsEntryModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface BlogsEntryModelstatusByUserName - the status by user name of this blogs entrypublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface BlogsEntryModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface BlogsEntryModelstatusDate - the status date of this blogs entrypublic boolean getApproved()
isApproved()
getApproved in interface BlogsEntryModelpublic boolean isApproved()
isApproved in interface WorkflowedModelisApproved in interface BlogsEntryModeltrue if this blogs entry is approved; false otherwisepublic boolean isDraft()
isDraft in interface WorkflowedModelisDraft in interface BlogsEntryModeltrue if this blogs entry is a draft; false otherwisepublic boolean isExpired()
isExpired in interface WorkflowedModelisExpired in interface BlogsEntryModeltrue if this blogs entry is expired; false otherwisepublic boolean isPending()
isPending in interface WorkflowedModelisPending in interface BlogsEntryModeltrue if this blogs entry is pending; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<BlogsEntry>isNew in interface BlogsEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<BlogsEntry>setNew in interface BlogsEntryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<BlogsEntry>isCachedModel in interface BlogsEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<BlogsEntry>setCachedModel in interface BlogsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<BlogsEntry>isEscapedModel in interface BlogsEntryModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public 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>setEscapedModel in interface BlogsEntryModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<BlogsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface BlogsEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<BlogsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface BlogsEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<BlogsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface BlogsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>setExpandoBridgeAttributes in interface BlogsEntryModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<BlogsEntry>clone in interface BlogsEntryModelclone in class Objectpublic int compareTo(BlogsEntry blogsEntry)
compareTo in interface BlogsEntryModelcompareTo in interface Comparable<BlogsEntry>public int hashCode()
hashCode in interface BlogsEntryModelhashCode in class Objectpublic CacheModel<BlogsEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<BlogsEntry>toCacheModel in interface BlogsEntryModelpublic BlogsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<BlogsEntry>toEscapedModel in interface BlogsEntryModelAutoEscapeBeanHandlerpublic String toString()
toString in interface BlogsEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<BlogsEntry>toXmlString in interface BlogsEntryModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic BlogsEntry getWrappedBlogsEntry()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<BlogsEntry>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||