|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.blogs.model.BlogsEntryWrapper
@ProviderType public class BlogsEntryWrapper
This class is a wrapper for BlogsEntry
.
BlogsEntry
,
Serialized FormConstructor 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. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this blogs entry was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this blogs entry. |
TrashHandler |
getTrashHandler()
Returns the trash handler for 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 |
isInTrashContainer()
Returns true if the parent of this blogs entry is in the Recycle Bin. |
boolean |
isInTrashExplicitly()
|
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 BlogsEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface BlogsEntryModel
primaryKey
- the primary key of this blogs entrypublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface BlogsEntryModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface BlogsEntryModel
uuid
- the uuid of this blogs entrypublic long getEntryId()
getEntryId
in interface BlogsEntryModel
public void setEntryId(long entryId)
setEntryId
in interface BlogsEntryModel
entryId
- the entry ID of this blogs entrypublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface BlogsEntryModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface BlogsEntryModel
groupId
- the group ID of this blogs entrypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface BlogsEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface BlogsEntryModel
companyId
- the company ID of this blogs entrypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface BlogsEntryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface BlogsEntryModel
userId
- the user ID of this blogs entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface BlogsEntryModel
userUuid
- the user uuid of this blogs entrypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface BlogsEntryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface BlogsEntryModel
userName
- the user name of this blogs entrypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface BlogsEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface BlogsEntryModel
createDate
- the create date of this blogs entrypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface BlogsEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface BlogsEntryModel
modifiedDate
- the modified date of this blogs entrypublic String getTitle()
getTitle
in interface BlogsEntryModel
public void setTitle(String title)
setTitle
in interface BlogsEntryModel
title
- the title of this blogs entrypublic String getUrlTitle()
getUrlTitle
in interface BlogsEntryModel
public void setUrlTitle(String urlTitle)
setUrlTitle
in interface BlogsEntryModel
urlTitle
- the url title of this blogs entrypublic String getDescription()
getDescription
in interface BlogsEntryModel
public void setDescription(String description)
setDescription
in interface BlogsEntryModel
description
- the description of this blogs entrypublic String getContent()
getContent
in interface BlogsEntryModel
public void setContent(String content)
setContent
in interface BlogsEntryModel
content
- the content of this blogs entrypublic Date getDisplayDate()
getDisplayDate
in interface BlogsEntryModel
public void setDisplayDate(Date displayDate)
setDisplayDate
in interface BlogsEntryModel
displayDate
- the display date of this blogs entrypublic boolean getAllowPingbacks()
getAllowPingbacks
in interface BlogsEntryModel
public boolean isAllowPingbacks()
true
if this blogs entry is allow pingbacks.
isAllowPingbacks
in interface BlogsEntryModel
true
if this blogs entry is allow pingbacks; false
otherwisepublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks
in interface BlogsEntryModel
allowPingbacks
- the allow pingbacks of this blogs entrypublic boolean getAllowTrackbacks()
getAllowTrackbacks
in interface BlogsEntryModel
public boolean isAllowTrackbacks()
true
if this blogs entry is allow trackbacks.
isAllowTrackbacks
in interface BlogsEntryModel
true
if this blogs entry is allow trackbacks; false
otherwisepublic void setAllowTrackbacks(boolean allowTrackbacks)
setAllowTrackbacks
in interface BlogsEntryModel
allowTrackbacks
- the allow trackbacks of this blogs entrypublic String getTrackbacks()
getTrackbacks
in interface BlogsEntryModel
public void setTrackbacks(String trackbacks)
setTrackbacks
in interface BlogsEntryModel
trackbacks
- the trackbacks of this blogs entrypublic boolean getSmallImage()
getSmallImage
in interface BlogsEntryModel
public boolean isSmallImage()
true
if this blogs entry is small image.
isSmallImage
in interface BlogsEntryModel
true
if this blogs entry is small image; false
otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage
in interface BlogsEntryModel
smallImage
- the small image of this blogs entrypublic long getSmallImageId()
getSmallImageId
in interface BlogsEntryModel
public void setSmallImageId(long smallImageId)
setSmallImageId
in interface BlogsEntryModel
smallImageId
- the small image ID of this blogs entrypublic String getSmallImageURL()
getSmallImageURL
in interface BlogsEntryModel
public void setSmallImageURL(String smallImageURL)
setSmallImageURL
in interface BlogsEntryModel
smallImageURL
- the small image u r l of this blogs entrypublic int getStatus()
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface BlogsEntryModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface BlogsEntryModel
status
- the status of this blogs entrypublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface BlogsEntryModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface BlogsEntryModel
statusByUserId
- the status by user ID of this blogs entrypublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface BlogsEntryModel
statusByUserUuid
- the status by user uuid of this blogs entrypublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface BlogsEntryModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface BlogsEntryModel
statusByUserName
- the status by user name of this blogs entrypublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface BlogsEntryModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface BlogsEntryModel
statusDate
- the status date of this blogs entrypublic TrashEntry getTrashEntry() throws PortalException, SystemException
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface BlogsEntryModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface BlogsEntryModel
public TrashHandler getTrashHandler()
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface BlogsEntryModel
public boolean isInTrash()
true
if this blogs entry is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface BlogsEntryModel
true
if this blogs entry is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
true
if the parent of this blogs entry is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
isInTrashContainer
in interface BlogsEntryModel
true
if the parent of this blogs entry is in the Recycle Bin; false
otherwise
SystemException
- if a system exception occurredpublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface BlogsEntryModel
public boolean isApproved()
true
if this blogs entry is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface BlogsEntryModel
true
if this blogs entry is approved; false
otherwisepublic boolean isDenied()
true
if this blogs entry is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface BlogsEntryModel
true
if this blogs entry is denied; false
otherwisepublic boolean isDraft()
true
if this blogs entry is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface BlogsEntryModel
true
if this blogs entry is a draft; false
otherwisepublic boolean isExpired()
true
if this blogs entry is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface BlogsEntryModel
true
if this blogs entry is expired; false
otherwisepublic boolean isInactive()
true
if this blogs entry is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface BlogsEntryModel
true
if this blogs entry is inactive; false
otherwisepublic boolean isIncomplete()
true
if this blogs entry is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface BlogsEntryModel
true
if this blogs entry is incomplete; false
otherwisepublic boolean isPending()
true
if this blogs entry is pending.
isPending
in interface WorkflowedModel
isPending
in interface BlogsEntryModel
true
if this blogs entry is pending; false
otherwisepublic boolean isScheduled()
true
if this blogs entry is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface BlogsEntryModel
true
if this blogs entry is scheduled; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<BlogsEntry>
isNew
in interface BlogsEntryModel
true
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 BlogsEntryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<BlogsEntry>
isCachedModel
in interface BlogsEntryModel
true
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 BlogsEntryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<BlogsEntry>
isEscapedModel
in interface BlogsEntryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<BlogsEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface BlogsEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<BlogsEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface BlogsEntryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<BlogsEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface BlogsEntryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<BlogsEntry>
setExpandoBridgeAttributes
in interface BlogsEntryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<BlogsEntry>
setExpandoBridgeAttributes
in interface BlogsEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsEntry>
setExpandoBridgeAttributes
in interface BlogsEntryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<BlogsEntry>
clone
in interface StagedModel
clone
in interface BlogsEntryModel
clone
in class Object
public int compareTo(BlogsEntry blogsEntry)
compareTo
in interface BlogsEntryModel
compareTo
in interface Comparable<BlogsEntry>
public int hashCode()
hashCode
in interface BlogsEntryModel
hashCode
in class Object
public CacheModel<BlogsEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<BlogsEntry>
toCacheModel
in interface BlogsEntryModel
public BlogsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<BlogsEntry>
toEscapedModel
in interface BlogsEntryModel
AutoEscapeBeanHandler
public BlogsEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<BlogsEntry>
toUnescapedModel
in interface BlogsEntryModel
public String toString()
toString
in interface BlogsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<BlogsEntry>
toXmlString
in interface BlogsEntryModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String getEntryImageURL(ThemeDisplay themeDisplay)
getEntryImageURL
in interface BlogsEntry
public String getSmallImageType() throws PortalException, SystemException
getSmallImageType
in interface BlogsEntry
PortalException
SystemException
public boolean isInTrashExplicitly() throws SystemException
isInTrashExplicitly
in interface BlogsEntry
SystemException
public boolean isVisible()
isVisible
in interface BlogsEntry
public void setSmallImageType(String smallImageType)
setSmallImageType
in interface BlogsEntry
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public BlogsEntry getWrappedBlogsEntry()
getWrappedModel()
public BlogsEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<BlogsEntry>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<BlogsEntry>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |