|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.wiki.model.WikiPageWrapper
public class WikiPageWrapper
This class is a wrapper for WikiPage
.
WikiPage
,
Serialized FormConstructor Summary | |
---|---|
WikiPageWrapper(WikiPage wikiPage)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getAttachmentsDir()
|
String[] |
getAttachmentsFiles()
|
List<WikiPage> |
getChildPages()
|
long |
getCompanyId()
Gets the company id of this wiki page. |
String |
getContent()
Gets the content of this wiki page. |
Date |
getCreateDate()
Gets the create date of this wiki page. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFormat()
Gets the format of this wiki page. |
long |
getGroupId()
Gets the group id of this wiki page. |
boolean |
getHead()
Gets the head of this wiki page. |
boolean |
getMinorEdit()
Gets the minor edit of this wiki page. |
Date |
getModifiedDate()
Gets the modified date of this wiki page. |
WikiNode |
getNode()
|
long |
getNodeId()
Gets the node id of this wiki page. |
long |
getPageId()
Gets the page id of this wiki page. |
WikiPage |
getParentPage()
|
List<WikiPage> |
getParentPages()
|
String |
getParentTitle()
Gets the parent title of this wiki page. |
long |
getPrimaryKey()
Gets the primary key of this wiki page. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
WikiPage |
getRedirectPage()
|
String |
getRedirectTitle()
Gets the redirect title of this wiki page. |
long |
getResourcePrimKey()
Gets the resource prim key of this wiki page. |
int |
getStatus()
Gets the status of this wiki page. |
long |
getStatusByUserId()
Gets the status by user id of this wiki page. |
String |
getStatusByUserName()
Gets the status by user name of this wiki page. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this wiki page. |
Date |
getStatusDate()
Gets the status date of this wiki page. |
String |
getSummary()
Gets the summary of this wiki page. |
String |
getTitle()
Gets the title of this wiki page. |
long |
getUserId()
Gets the user id of this wiki page. |
String |
getUserName()
Gets the user name of this wiki page. |
String |
getUserUuid()
Gets the user uuid of this wiki page. |
String |
getUuid()
Gets the uuid of this wiki page. |
double |
getVersion()
Gets the version of this wiki page. |
WikiPage |
getWrappedWikiPage()
|
int |
hashCode()
|
boolean |
isApproved()
Determines whether this wiki page is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines whether this wiki page is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines whether this wiki page is expired. |
boolean |
isHead()
Determines whether this wiki page is head. |
boolean |
isMinorEdit()
Determines whether this wiki page is minor edit. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines whether this wiki page is pending. |
void |
setAttachmentsDir(String attachmentsDir)
|
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 wiki page. |
void |
setContent(String content)
Sets the content of this wiki page. |
void |
setCreateDate(Date createDate)
Sets the create date of this wiki page. |
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 |
setFormat(String format)
Sets the format of this wiki page. |
void |
setGroupId(long groupId)
Sets the group id of this wiki page. |
void |
setHead(boolean head)
Sets whether this {$entity.humanName} is head. |
void |
setMinorEdit(boolean minorEdit)
Sets whether this {$entity.humanName} is minor edit. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this wiki page. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNodeId(long nodeId)
Sets the node id of this wiki page. |
void |
setPageId(long pageId)
Sets the page id of this wiki page. |
void |
setParentTitle(String parentTitle)
Sets the parent title of this wiki page. |
void |
setPrimaryKey(long pk)
Sets the primary key of this wiki page |
void |
setRedirectTitle(String redirectTitle)
Sets the redirect title of this wiki page. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this wiki page. |
void |
setStatus(int status)
Sets the status of this wiki page. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user id of this wiki page. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this wiki page. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this wiki page. |
void |
setStatusDate(Date statusDate)
Sets the status date of this wiki page. |
void |
setSummary(String summary)
Sets the summary of this wiki page. |
void |
setTitle(String title)
Sets the title of this wiki page. |
void |
setUserId(long userId)
Sets the user id of this wiki page. |
void |
setUserName(String userName)
Sets the user name of this wiki page. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this wiki page. |
void |
setUuid(String uuid)
Sets the uuid of this wiki page. |
void |
setVersion(double version)
Sets the version of this wiki page. |
WikiPage |
toEscapedModel()
Gets a copy of this entity 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 WikiPageWrapper(WikiPage wikiPage)
Method Detail |
---|
public long getPrimaryKey()
getPrimaryKey
in interface WikiPageModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface WikiPageModel
pk
- the primary key of this wiki pagepublic String getUuid()
getUuid
in interface WikiPageModel
public void setUuid(String uuid)
setUuid
in interface WikiPageModel
uuid
- the uuid of this wiki pagepublic long getPageId()
getPageId
in interface WikiPageModel
public void setPageId(long pageId)
setPageId
in interface WikiPageModel
pageId
- the page id of this wiki pagepublic long getResourcePrimKey()
getResourcePrimKey
in interface WikiPageModel
public void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey
in interface WikiPageModel
resourcePrimKey
- the resource prim key of this wiki pagepublic long getGroupId()
getGroupId
in interface WikiPageModel
public void setGroupId(long groupId)
setGroupId
in interface WikiPageModel
groupId
- the group id of this wiki pagepublic long getCompanyId()
getCompanyId
in interface WikiPageModel
public void setCompanyId(long companyId)
setCompanyId
in interface WikiPageModel
companyId
- the company id of this wiki pagepublic long getUserId()
getUserId
in interface WikiPageModel
public void setUserId(long userId)
setUserId
in interface WikiPageModel
userId
- the user id of this wiki pagepublic String getUserUuid() throws SystemException
getUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface WikiPageModel
userUuid
- the user uuid of this wiki pagepublic String getUserName()
getUserName
in interface WikiPageModel
public void setUserName(String userName)
setUserName
in interface WikiPageModel
userName
- the user name of this wiki pagepublic Date getCreateDate()
getCreateDate
in interface WikiPageModel
public void setCreateDate(Date createDate)
setCreateDate
in interface WikiPageModel
createDate
- the create date of this wiki pagepublic Date getModifiedDate()
getModifiedDate
in interface WikiPageModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface WikiPageModel
modifiedDate
- the modified date of this wiki pagepublic long getNodeId()
getNodeId
in interface WikiPageModel
public void setNodeId(long nodeId)
setNodeId
in interface WikiPageModel
nodeId
- the node id of this wiki pagepublic String getTitle()
getTitle
in interface WikiPageModel
public void setTitle(String title)
setTitle
in interface WikiPageModel
title
- the title of this wiki pagepublic double getVersion()
getVersion
in interface WikiPageModel
public void setVersion(double version)
setVersion
in interface WikiPageModel
version
- the version of this wiki pagepublic boolean getMinorEdit()
getMinorEdit
in interface WikiPageModel
public boolean isMinorEdit()
isMinorEdit
in interface WikiPageModel
public void setMinorEdit(boolean minorEdit)
setMinorEdit
in interface WikiPageModel
minorEdit
- the minor edit of this wiki pagepublic String getContent()
getContent
in interface WikiPageModel
public void setContent(String content)
setContent
in interface WikiPageModel
content
- the content of this wiki pagepublic String getSummary()
getSummary
in interface WikiPageModel
public void setSummary(String summary)
setSummary
in interface WikiPageModel
summary
- the summary of this wiki pagepublic String getFormat()
getFormat
in interface WikiPageModel
public void setFormat(String format)
setFormat
in interface WikiPageModel
format
- the format of this wiki pagepublic boolean getHead()
getHead
in interface WikiPageModel
public boolean isHead()
isHead
in interface WikiPageModel
public void setHead(boolean head)
setHead
in interface WikiPageModel
head
- the head of this wiki pagepublic String getParentTitle()
getParentTitle
in interface WikiPageModel
public void setParentTitle(String parentTitle)
setParentTitle
in interface WikiPageModel
parentTitle
- the parent title of this wiki pagepublic String getRedirectTitle()
getRedirectTitle
in interface WikiPageModel
public void setRedirectTitle(String redirectTitle)
setRedirectTitle
in interface WikiPageModel
redirectTitle
- the redirect title of this wiki pagepublic int getStatus()
getStatus
in interface WikiPageModel
public void setStatus(int status)
setStatus
in interface WikiPageModel
status
- the status of this wiki pagepublic long getStatusByUserId()
getStatusByUserId
in interface WikiPageModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WikiPageModel
statusByUserId
- the status by user id of this wiki pagepublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WikiPageModel
statusByUserUuid
- the status by user uuid of this wiki pagepublic String getStatusByUserName()
getStatusByUserName
in interface WikiPageModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WikiPageModel
statusByUserName
- the status by user name of this wiki pagepublic Date getStatusDate()
getStatusDate
in interface WikiPageModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WikiPageModel
statusDate
- the status date of this wiki pagepublic boolean getApproved()
isApproved()
getApproved
in interface WikiPageModel
public boolean isApproved()
isApproved
in interface WikiPageModel
public boolean isDraft()
isDraft
in interface WikiPageModel
public boolean isExpired()
isExpired
in interface WikiPageModel
public boolean isPending()
isPending
in interface WikiPageModel
public boolean isNew()
BaseModel
isNew
in interface BaseModel<WikiPage>
isNew
in interface WikiPageModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WikiPage>
setNew
in interface WikiPageModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<WikiPage>
isCachedModel
in interface WikiPageModel
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<WikiPage>
setCachedModel
in interface WikiPageModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<WikiPage>
isEscapedModel
in interface WikiPageModel
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<WikiPage>
setEscapedModel
in interface WikiPageModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiPage>
getPrimaryKeyObj
in interface WikiPageModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPage>
getExpandoBridge
in interface WikiPageModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiPage>
setExpandoBridgeAttributes
in interface WikiPageModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WikiPage>
clone
in interface WikiPageModel
clone
in class Object
public int compareTo(WikiPage wikiPage)
compareTo
in interface WikiPageModel
compareTo
in interface Comparable<WikiPage>
public int hashCode()
hashCode
in interface WikiPageModel
hashCode
in class Object
public WikiPage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WikiPage>
toEscapedModel
in interface WikiPageModel
AutoEscapeBeanHandler
public String toString()
toString
in interface WikiPageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiPage>
toXmlString
in interface WikiPageModel
public String getAttachmentsDir()
getAttachmentsDir
in interface WikiPage
public String[] getAttachmentsFiles() throws PortalException, SystemException
getAttachmentsFiles
in interface WikiPage
PortalException
SystemException
public List<WikiPage> getChildPages()
getChildPages
in interface WikiPage
public WikiNode getNode()
getNode
in interface WikiPage
public WikiPage getParentPage()
getParentPage
in interface WikiPage
public List<WikiPage> getParentPages()
getParentPages
in interface WikiPage
public WikiPage getRedirectPage()
getRedirectPage
in interface WikiPage
public void setAttachmentsDir(String attachmentsDir)
setAttachmentsDir
in interface WikiPage
public WikiPage getWrappedWikiPage()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |