|
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.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)
|
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 wiki page 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()
WikiPageModel
getPrimaryKey
in interface WikiPageModel
public void setPrimaryKey(long pk)
WikiPageModel
setPrimaryKey
in interface WikiPageModel
pk
- the primary key of this wiki pagepublic String getUuid()
WikiPageModel
getUuid
in interface WikiPageModel
public void setUuid(String uuid)
WikiPageModel
setUuid
in interface WikiPageModel
uuid
- the uuid of this wiki pagepublic long getPageId()
WikiPageModel
getPageId
in interface WikiPageModel
public void setPageId(long pageId)
WikiPageModel
setPageId
in interface WikiPageModel
pageId
- the page id of this wiki pagepublic long getResourcePrimKey()
WikiPageModel
getResourcePrimKey
in interface WikiPageModel
public void setResourcePrimKey(long resourcePrimKey)
WikiPageModel
setResourcePrimKey
in interface WikiPageModel
resourcePrimKey
- the resource prim key of this wiki pagepublic long getGroupId()
WikiPageModel
getGroupId
in interface WikiPageModel
public void setGroupId(long groupId)
WikiPageModel
setGroupId
in interface WikiPageModel
groupId
- the group id of this wiki pagepublic long getCompanyId()
WikiPageModel
getCompanyId
in interface WikiPageModel
public void setCompanyId(long companyId)
WikiPageModel
setCompanyId
in interface WikiPageModel
companyId
- the company id of this wiki pagepublic long getUserId()
WikiPageModel
getUserId
in interface WikiPageModel
public void setUserId(long userId)
WikiPageModel
setUserId
in interface WikiPageModel
userId
- the user id of this wiki pagepublic String getUserUuid() throws SystemException
WikiPageModel
getUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WikiPageModel
setUserUuid
in interface WikiPageModel
userUuid
- the user uuid of this wiki pagepublic String getUserName()
WikiPageModel
getUserName
in interface WikiPageModel
public void setUserName(String userName)
WikiPageModel
setUserName
in interface WikiPageModel
userName
- the user name of this wiki pagepublic Date getCreateDate()
WikiPageModel
getCreateDate
in interface WikiPageModel
public void setCreateDate(Date createDate)
WikiPageModel
setCreateDate
in interface WikiPageModel
createDate
- the create date of this wiki pagepublic Date getModifiedDate()
WikiPageModel
getModifiedDate
in interface WikiPageModel
public void setModifiedDate(Date modifiedDate)
WikiPageModel
setModifiedDate
in interface WikiPageModel
modifiedDate
- the modified date of this wiki pagepublic long getNodeId()
WikiPageModel
getNodeId
in interface WikiPageModel
public void setNodeId(long nodeId)
WikiPageModel
setNodeId
in interface WikiPageModel
nodeId
- the node id of this wiki pagepublic String getTitle()
WikiPageModel
getTitle
in interface WikiPageModel
public void setTitle(String title)
WikiPageModel
setTitle
in interface WikiPageModel
title
- the title of this wiki pagepublic double getVersion()
WikiPageModel
getVersion
in interface WikiPageModel
public void setVersion(double version)
WikiPageModel
setVersion
in interface WikiPageModel
version
- the version of this wiki pagepublic boolean getMinorEdit()
WikiPageModel
getMinorEdit
in interface WikiPageModel
public boolean isMinorEdit()
WikiPageModel
isMinorEdit
in interface WikiPageModel
public void setMinorEdit(boolean minorEdit)
WikiPageModel
setMinorEdit
in interface WikiPageModel
minorEdit
- the minor edit of this wiki pagepublic String getContent()
WikiPageModel
getContent
in interface WikiPageModel
public void setContent(String content)
WikiPageModel
setContent
in interface WikiPageModel
content
- the content of this wiki pagepublic String getSummary()
WikiPageModel
getSummary
in interface WikiPageModel
public void setSummary(String summary)
WikiPageModel
setSummary
in interface WikiPageModel
summary
- the summary of this wiki pagepublic String getFormat()
WikiPageModel
getFormat
in interface WikiPageModel
public void setFormat(String format)
WikiPageModel
setFormat
in interface WikiPageModel
format
- the format of this wiki pagepublic boolean getHead()
WikiPageModel
getHead
in interface WikiPageModel
public boolean isHead()
WikiPageModel
isHead
in interface WikiPageModel
public void setHead(boolean head)
WikiPageModel
setHead
in interface WikiPageModel
head
- the head of this wiki pagepublic String getParentTitle()
WikiPageModel
getParentTitle
in interface WikiPageModel
public void setParentTitle(String parentTitle)
WikiPageModel
setParentTitle
in interface WikiPageModel
parentTitle
- the parent title of this wiki pagepublic String getRedirectTitle()
WikiPageModel
getRedirectTitle
in interface WikiPageModel
public void setRedirectTitle(String redirectTitle)
WikiPageModel
setRedirectTitle
in interface WikiPageModel
redirectTitle
- the redirect title of this wiki pagepublic int getStatus()
WikiPageModel
getStatus
in interface WikiPageModel
public void setStatus(int status)
WikiPageModel
setStatus
in interface WikiPageModel
status
- the status of this wiki pagepublic long getStatusByUserId()
WikiPageModel
getStatusByUserId
in interface WikiPageModel
public void setStatusByUserId(long statusByUserId)
WikiPageModel
setStatusByUserId
in interface WikiPageModel
statusByUserId
- the status by user id of this wiki pagepublic String getStatusByUserUuid() throws SystemException
WikiPageModel
getStatusByUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
WikiPageModel
setStatusByUserUuid
in interface WikiPageModel
statusByUserUuid
- the status by user uuid of this wiki pagepublic String getStatusByUserName()
WikiPageModel
getStatusByUserName
in interface WikiPageModel
public void setStatusByUserName(String statusByUserName)
WikiPageModel
setStatusByUserName
in interface WikiPageModel
statusByUserName
- the status by user name of this wiki pagepublic Date getStatusDate()
WikiPageModel
getStatusDate
in interface WikiPageModel
public void setStatusDate(Date statusDate)
WikiPageModel
setStatusDate
in interface WikiPageModel
statusDate
- the status date of this wiki pagepublic boolean isApproved()
WikiPageModel
isApproved
in interface WikiPageModel
public boolean isDraft()
WikiPageModel
isDraft
in interface WikiPageModel
public boolean isExpired()
WikiPageModel
isExpired
in interface WikiPageModel
public boolean isPending()
WikiPageModel
isPending
in interface WikiPageModel
public WikiPage toEscapedModel()
WikiPageModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WikiPageModel
AutoEscapeBeanHandler
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 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.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |