|
Liferay 6.0.6 | |||||||||
| 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 Form| Constructor 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 if this wiki page is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines if this wiki page is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines if this wiki page is expired. |
boolean |
isHead()
Determines if this wiki page is head. |
boolean |
isMinorEdit()
Determines if this wiki page is minor edit. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines if 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 WikiPageModelpublic void setPrimaryKey(long pk)
WikiPageModel
setPrimaryKey in interface WikiPageModelpk - the primary key of this wiki pagepublic String getUuid()
WikiPageModel
getUuid in interface WikiPageModelpublic void setUuid(String uuid)
WikiPageModel
setUuid in interface WikiPageModeluuid - the uuid of this wiki pagepublic long getPageId()
WikiPageModel
getPageId in interface WikiPageModelpublic void setPageId(long pageId)
WikiPageModel
setPageId in interface WikiPageModelpageId - the page id of this wiki pagepublic long getResourcePrimKey()
WikiPageModel
getResourcePrimKey in interface WikiPageModelpublic void setResourcePrimKey(long resourcePrimKey)
WikiPageModel
setResourcePrimKey in interface WikiPageModelresourcePrimKey - the resource prim key of this wiki pagepublic long getGroupId()
WikiPageModel
getGroupId in interface WikiPageModelpublic void setGroupId(long groupId)
WikiPageModel
setGroupId in interface WikiPageModelgroupId - the group id of this wiki pagepublic long getCompanyId()
WikiPageModel
getCompanyId in interface WikiPageModelpublic void setCompanyId(long companyId)
WikiPageModel
setCompanyId in interface WikiPageModelcompanyId - the company id of this wiki pagepublic long getUserId()
WikiPageModel
getUserId in interface WikiPageModelpublic void setUserId(long userId)
WikiPageModel
setUserId in interface WikiPageModeluserId - the user id of this wiki page
public String getUserUuid()
throws SystemException
WikiPageModel
getUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
WikiPageModel
setUserUuid in interface WikiPageModeluserUuid - the user uuid of this wiki pagepublic String getUserName()
WikiPageModel
getUserName in interface WikiPageModelpublic void setUserName(String userName)
WikiPageModel
setUserName in interface WikiPageModeluserName - the user name of this wiki pagepublic Date getCreateDate()
WikiPageModel
getCreateDate in interface WikiPageModelpublic void setCreateDate(Date createDate)
WikiPageModel
setCreateDate in interface WikiPageModelcreateDate - the create date of this wiki pagepublic Date getModifiedDate()
WikiPageModel
getModifiedDate in interface WikiPageModelpublic void setModifiedDate(Date modifiedDate)
WikiPageModel
setModifiedDate in interface WikiPageModelmodifiedDate - the modified date of this wiki pagepublic long getNodeId()
WikiPageModel
getNodeId in interface WikiPageModelpublic void setNodeId(long nodeId)
WikiPageModel
setNodeId in interface WikiPageModelnodeId - the node id of this wiki pagepublic String getTitle()
WikiPageModel
getTitle in interface WikiPageModelpublic void setTitle(String title)
WikiPageModel
setTitle in interface WikiPageModeltitle - the title of this wiki pagepublic double getVersion()
WikiPageModel
getVersion in interface WikiPageModelpublic void setVersion(double version)
WikiPageModel
setVersion in interface WikiPageModelversion - the version of this wiki pagepublic boolean getMinorEdit()
WikiPageModel
getMinorEdit in interface WikiPageModelpublic boolean isMinorEdit()
WikiPageModel
isMinorEdit in interface WikiPageModeltrue if this wiki page is minor edit; false otherwisepublic void setMinorEdit(boolean minorEdit)
WikiPageModel
setMinorEdit in interface WikiPageModelminorEdit - the minor edit of this wiki pagepublic String getContent()
WikiPageModel
getContent in interface WikiPageModelpublic void setContent(String content)
WikiPageModel
setContent in interface WikiPageModelcontent - the content of this wiki pagepublic String getSummary()
WikiPageModel
getSummary in interface WikiPageModelpublic void setSummary(String summary)
WikiPageModel
setSummary in interface WikiPageModelsummary - the summary of this wiki pagepublic String getFormat()
WikiPageModel
getFormat in interface WikiPageModelpublic void setFormat(String format)
WikiPageModel
setFormat in interface WikiPageModelformat - the format of this wiki pagepublic boolean getHead()
WikiPageModel
getHead in interface WikiPageModelpublic boolean isHead()
WikiPageModel
isHead in interface WikiPageModeltrue if this wiki page is head; false otherwisepublic void setHead(boolean head)
WikiPageModel
setHead in interface WikiPageModelhead - the head of this wiki pagepublic String getParentTitle()
WikiPageModel
getParentTitle in interface WikiPageModelpublic void setParentTitle(String parentTitle)
WikiPageModel
setParentTitle in interface WikiPageModelparentTitle - the parent title of this wiki pagepublic String getRedirectTitle()
WikiPageModel
getRedirectTitle in interface WikiPageModelpublic void setRedirectTitle(String redirectTitle)
WikiPageModel
setRedirectTitle in interface WikiPageModelredirectTitle - the redirect title of this wiki pagepublic int getStatus()
WikiPageModel
getStatus in interface WikiPageModelpublic void setStatus(int status)
WikiPageModel
setStatus in interface WikiPageModelstatus - the status of this wiki pagepublic long getStatusByUserId()
WikiPageModel
getStatusByUserId in interface WikiPageModelpublic void setStatusByUserId(long statusByUserId)
WikiPageModel
setStatusByUserId in interface WikiPageModelstatusByUserId - the status by user id of this wiki page
public String getStatusByUserUuid()
throws SystemException
WikiPageModel
getStatusByUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
WikiPageModel
setStatusByUserUuid in interface WikiPageModelstatusByUserUuid - the status by user uuid of this wiki pagepublic String getStatusByUserName()
WikiPageModel
getStatusByUserName in interface WikiPageModelpublic void setStatusByUserName(String statusByUserName)
WikiPageModel
setStatusByUserName in interface WikiPageModelstatusByUserName - the status by user name of this wiki pagepublic Date getStatusDate()
WikiPageModel
getStatusDate in interface WikiPageModelpublic void setStatusDate(Date statusDate)
WikiPageModel
setStatusDate in interface WikiPageModelstatusDate - the status date of this wiki pagepublic boolean isApproved()
WikiPageModel
isApproved in interface WikiPageModeltrue if this wiki page is approved; false otherwisepublic boolean isDraft()
WikiPageModel
isDraft in interface WikiPageModeltrue if this wiki page is a draft; false otherwisepublic boolean isExpired()
WikiPageModel
isExpired in interface WikiPageModeltrue if this wiki page is expired; false otherwisepublic boolean isPending()
WikiPageModel
isPending in interface WikiPageModeltrue if this wiki page is pending; false otherwisepublic WikiPage toEscapedModel()
WikiPageModelAutoEscapeBeanHandler.
toEscapedModel in interface WikiPageModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<WikiPage>isNew in interface WikiPageModeltrue 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 WikiPageModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<WikiPage>isCachedModel in interface WikiPageModeltrue 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 WikiPageModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<WikiPage>isEscapedModel in interface WikiPageModeltrue 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 WikiPageModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiPage>getPrimaryKeyObj in interface WikiPageModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiPage>getExpandoBridge in interface WikiPageModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiPage>setExpandoBridgeAttributes in interface WikiPageModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WikiPage>clone in interface WikiPageModelclone in class Objectpublic int compareTo(WikiPage wikiPage)
compareTo in interface WikiPageModelcompareTo in interface Comparable<WikiPage>public int hashCode()
hashCode in interface WikiPageModelhashCode in class Objectpublic String toString()
toString in interface WikiPageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiPage>toXmlString in interface WikiPageModelpublic String getAttachmentsDir()
getAttachmentsDir in interface WikiPage
public String[] getAttachmentsFiles()
throws PortalException,
SystemException
getAttachmentsFiles in interface WikiPagePortalException
SystemExceptionpublic List<WikiPage> getChildPages()
getChildPages in interface WikiPagepublic WikiNode getNode()
getNode in interface WikiPagepublic WikiPage getParentPage()
getParentPage in interface WikiPagepublic List<WikiPage> getParentPages()
getParentPages in interface WikiPagepublic WikiPage getRedirectPage()
getRedirectPage in interface WikiPagepublic void setAttachmentsDir(String attachmentsDir)
setAttachmentsDir in interface WikiPagepublic WikiPage getWrappedWikiPage()
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||