|
Liferay 6.0.5 | |||||||||
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
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 |
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. |
BlogsEntry |
getWrappedBlogsEntry()
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlogsEntryWrapper(BlogsEntry blogsEntry)
Method Detail |
---|
public long getPrimaryKey()
BlogsEntryModel
getPrimaryKey
in interface BlogsEntryModel
public void setPrimaryKey(long pk)
BlogsEntryModel
setPrimaryKey
in interface BlogsEntryModel
pk
- the primary key of this blogs entrypublic String getUuid()
BlogsEntryModel
getUuid
in interface BlogsEntryModel
public void setUuid(String uuid)
BlogsEntryModel
setUuid
in interface BlogsEntryModel
uuid
- the uuid of this blogs entrypublic long getEntryId()
BlogsEntryModel
getEntryId
in interface BlogsEntryModel
public void setEntryId(long entryId)
BlogsEntryModel
setEntryId
in interface BlogsEntryModel
entryId
- the entry id of this blogs entrypublic long getGroupId()
BlogsEntryModel
getGroupId
in interface BlogsEntryModel
public void setGroupId(long groupId)
BlogsEntryModel
setGroupId
in interface BlogsEntryModel
groupId
- the group id of this blogs entrypublic long getCompanyId()
BlogsEntryModel
getCompanyId
in interface BlogsEntryModel
public void setCompanyId(long companyId)
BlogsEntryModel
setCompanyId
in interface BlogsEntryModel
companyId
- the company id of this blogs entrypublic long getUserId()
BlogsEntryModel
getUserId
in interface BlogsEntryModel
public void setUserId(long userId)
BlogsEntryModel
setUserId
in interface BlogsEntryModel
userId
- the user id of this blogs entrypublic String getUserUuid() throws SystemException
BlogsEntryModel
getUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
BlogsEntryModel
setUserUuid
in interface BlogsEntryModel
userUuid
- the user uuid of this blogs entrypublic String getUserName()
BlogsEntryModel
getUserName
in interface BlogsEntryModel
public void setUserName(String userName)
BlogsEntryModel
setUserName
in interface BlogsEntryModel
userName
- the user name of this blogs entrypublic Date getCreateDate()
BlogsEntryModel
getCreateDate
in interface BlogsEntryModel
public void setCreateDate(Date createDate)
BlogsEntryModel
setCreateDate
in interface BlogsEntryModel
createDate
- the create date of this blogs entrypublic Date getModifiedDate()
BlogsEntryModel
getModifiedDate
in interface BlogsEntryModel
public void setModifiedDate(Date modifiedDate)
BlogsEntryModel
setModifiedDate
in interface BlogsEntryModel
modifiedDate
- the modified date of this blogs entrypublic String getTitle()
BlogsEntryModel
getTitle
in interface BlogsEntryModel
public void setTitle(String title)
BlogsEntryModel
setTitle
in interface BlogsEntryModel
title
- the title of this blogs entrypublic String getUrlTitle()
BlogsEntryModel
getUrlTitle
in interface BlogsEntryModel
public void setUrlTitle(String urlTitle)
BlogsEntryModel
setUrlTitle
in interface BlogsEntryModel
urlTitle
- the url title of this blogs entrypublic String getContent()
BlogsEntryModel
getContent
in interface BlogsEntryModel
public void setContent(String content)
BlogsEntryModel
setContent
in interface BlogsEntryModel
content
- the content of this blogs entrypublic Date getDisplayDate()
BlogsEntryModel
getDisplayDate
in interface BlogsEntryModel
public void setDisplayDate(Date displayDate)
BlogsEntryModel
setDisplayDate
in interface BlogsEntryModel
displayDate
- the display date of this blogs entrypublic boolean getAllowPingbacks()
BlogsEntryModel
getAllowPingbacks
in interface BlogsEntryModel
public boolean isAllowPingbacks()
BlogsEntryModel
isAllowPingbacks
in interface BlogsEntryModel
public void setAllowPingbacks(boolean allowPingbacks)
BlogsEntryModel
setAllowPingbacks
in interface BlogsEntryModel
allowPingbacks
- the allow pingbacks of this blogs entrypublic boolean getAllowTrackbacks()
BlogsEntryModel
getAllowTrackbacks
in interface BlogsEntryModel
public boolean isAllowTrackbacks()
BlogsEntryModel
isAllowTrackbacks
in interface BlogsEntryModel
public void setAllowTrackbacks(boolean allowTrackbacks)
BlogsEntryModel
setAllowTrackbacks
in interface BlogsEntryModel
allowTrackbacks
- the allow trackbacks of this blogs entrypublic String getTrackbacks()
BlogsEntryModel
getTrackbacks
in interface BlogsEntryModel
public void setTrackbacks(String trackbacks)
BlogsEntryModel
setTrackbacks
in interface BlogsEntryModel
trackbacks
- the trackbacks of this blogs entrypublic int getStatus()
BlogsEntryModel
getStatus
in interface BlogsEntryModel
public void setStatus(int status)
BlogsEntryModel
setStatus
in interface BlogsEntryModel
status
- the status of this blogs entrypublic long getStatusByUserId()
BlogsEntryModel
getStatusByUserId
in interface BlogsEntryModel
public void setStatusByUserId(long statusByUserId)
BlogsEntryModel
setStatusByUserId
in interface BlogsEntryModel
statusByUserId
- the status by user id of this blogs entrypublic String getStatusByUserUuid() throws SystemException
BlogsEntryModel
getStatusByUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
BlogsEntryModel
setStatusByUserUuid
in interface BlogsEntryModel
statusByUserUuid
- the status by user uuid of this blogs entrypublic String getStatusByUserName()
BlogsEntryModel
getStatusByUserName
in interface BlogsEntryModel
public void setStatusByUserName(String statusByUserName)
BlogsEntryModel
setStatusByUserName
in interface BlogsEntryModel
statusByUserName
- the status by user name of this blogs entrypublic Date getStatusDate()
BlogsEntryModel
getStatusDate
in interface BlogsEntryModel
public void setStatusDate(Date statusDate)
BlogsEntryModel
setStatusDate
in interface BlogsEntryModel
statusDate
- the status date of this blogs entrypublic boolean isApproved()
BlogsEntryModel
isApproved
in interface BlogsEntryModel
public boolean isDraft()
BlogsEntryModel
isDraft
in interface BlogsEntryModel
public boolean isExpired()
BlogsEntryModel
isExpired
in interface BlogsEntryModel
public boolean isPending()
BlogsEntryModel
isPending
in interface BlogsEntryModel
public BlogsEntry toEscapedModel()
BlogsEntryModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BlogsEntryModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<BlogsEntry>
isEscapedModel
in interface BlogsEntryModel
true
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 BlogsEntryModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<BlogsEntry>
getPrimaryKeyObj
in interface BlogsEntryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<BlogsEntry>
getExpandoBridge
in interface BlogsEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsEntry>
setExpandoBridgeAttributes
in interface BlogsEntryModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<BlogsEntry>
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 String toString()
toString
in interface BlogsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<BlogsEntry>
toXmlString
in interface BlogsEntryModel
public BlogsEntry getWrappedBlogsEntry()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |