|
Liferay 6.2.0-ce-b2 | |||||||||
| 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 |
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. As of 6.1.0, replaced by 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. |
String |
getEntryImageURL(ThemeDisplay themeDisplay)
|
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. |
StagedModelType |
getStagedModelType()
|
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. As of 6.1.0, replaced by 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 |
isInTrash()
Returns true if this blogs entry is in the Recycle Bin. |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
|---|
public BlogsEntryWrapper(BlogsEntry blogsEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<BlogsEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<BlogsEntry>public 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 StagedModelgetUuid in interface BlogsEntryModelpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid 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 StagedModelgetCompanyId in interface BlogsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId 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 StagedModelgetCreateDate in interface BlogsEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface BlogsEntryModelcreateDate - the create date of this blogs entrypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface BlogsEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate 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 getDescription()
getDescription in interface BlogsEntryModelpublic void setDescription(String description)
setDescription in interface BlogsEntryModeldescription - the description 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()
true if this blogs entry is allow pingbacks.
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()
true if this blogs entry is allow trackbacks.
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 boolean getSmallImage()
getSmallImage in interface BlogsEntryModelpublic boolean isSmallImage()
true if this blogs entry is small image.
isSmallImage in interface BlogsEntryModeltrue if this blogs entry is small image; false otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage in interface BlogsEntryModelsmallImage - the small image of this blogs entrypublic long getSmallImageId()
getSmallImageId in interface BlogsEntryModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface BlogsEntryModelsmallImageId - the small image ID of this blogs entrypublic String getSmallImageURL()
getSmallImageURL in interface BlogsEntryModelpublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface BlogsEntryModelsmallImageURL - the small image u r l 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 WorkflowedModelgetStatusByUserUuid in interface BlogsEntryModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid 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 WorkflowedModelgetApproved in interface BlogsEntryModelpublic boolean isApproved()
true if this blogs entry is approved.
isApproved in interface WorkflowedModelisApproved in interface BlogsEntryModeltrue if this blogs entry is approved; false otherwisepublic boolean isDenied()
true if this blogs entry is denied.
isDenied in interface WorkflowedModelisDenied in interface BlogsEntryModeltrue if this blogs entry is denied; false otherwisepublic boolean isDraft()
true if this blogs entry is a draft.
isDraft in interface WorkflowedModelisDraft in interface BlogsEntryModeltrue if this blogs entry is a draft; false otherwisepublic boolean isExpired()
true if this blogs entry is expired.
isExpired in interface WorkflowedModelisExpired in interface BlogsEntryModeltrue if this blogs entry is expired; false otherwisepublic boolean isInactive()
true if this blogs entry is inactive.
isInactive in interface WorkflowedModelisInactive in interface BlogsEntryModeltrue if this blogs entry is inactive; false otherwisepublic boolean isIncomplete()
true if this blogs entry is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface BlogsEntryModeltrue if this blogs entry is incomplete; false otherwisepublic boolean isInTrash()
true if this blogs entry is in the Recycle Bin.
isInTrash in interface WorkflowedModelisInTrash in interface BlogsEntryModeltrue if this blogs entry is in the Recycle Bin; false otherwisepublic boolean isPending()
true if this blogs entry is pending.
isPending in interface WorkflowedModelisPending in interface BlogsEntryModeltrue if this blogs entry is pending; false otherwisepublic boolean isScheduled()
true if this blogs entry is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface BlogsEntryModeltrue if this blogs entry is scheduled; 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 otherwisepublic 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(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>setExpandoBridgeAttributes in interface BlogsEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>setExpandoBridgeAttributes in interface BlogsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>setExpandoBridgeAttributes in interface BlogsEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<BlogsEntry>clone in interface StagedModelclone 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 BlogsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<BlogsEntry>toUnescapedModel in interface BlogsEntryModelpublic 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 String getEntryImageURL(ThemeDisplay themeDisplay)
getEntryImageURL in interface BlogsEntry
public String getSmallImageType()
throws PortalException,
SystemException
getSmallImageType in interface BlogsEntryPortalException
SystemExceptionpublic boolean isVisible()
isVisible in interface BlogsEntrypublic void setSmallImageType(String smallImageType)
setSmallImageType in interface BlogsEntrypublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic BlogsEntry getWrappedBlogsEntry()
getWrappedModel()
public BlogsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<BlogsEntry>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<BlogsEntry>
|
Liferay 6.2.0-ce-b2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||