Liferay 6.1.2-ce-ga3

com.liferay.portlet.wiki.model
Class WikiPageWrapper

java.lang.Object
  extended by com.liferay.portlet.wiki.model.WikiPageWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<WikiPage>, ClassedModel, GroupedModel, ModelWrapper<WikiPage>, PersistedModel, ResourcedModel, WorkflowedModel, WikiPage, WikiPageModel, Serializable, Cloneable, Comparable<WikiPage>

public class WikiPageWrapper
extends Object
implements WikiPage, ModelWrapper<WikiPage>

This class is a wrapper for WikiPage.

See Also:
WikiPage, Serialized Form

Constructor Summary
WikiPageWrapper(WikiPage wikiPage)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(WikiPage wikiPage)
           
 boolean equals(Object obj)
           
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 String getAttachmentsDir()
           
 String[] getAttachmentsFiles()
           
 List<WikiPage> getChildPages()
           
 long getCompanyId()
          Returns the company ID of this wiki page.
 String getContent()
          Returns the content of this wiki page.
 Date getCreateDate()
          Returns the create date of this wiki page.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFormat()
          Returns the format of this wiki page.
 long getGroupId()
          Returns the group ID of this wiki page.
 boolean getHead()
          Returns the head of this wiki page.
 boolean getMinorEdit()
          Returns the minor edit of this wiki page.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this wiki page.
 WikiNode getNode()
           
 long getNodeId()
          Returns the node ID of this wiki page.
 long getPageId()
          Returns the page ID of this wiki page.
 WikiPage getParentPage()
           
 List<WikiPage> getParentPages()
           
 String getParentTitle()
          Returns the parent title of this wiki page.
 long getPrimaryKey()
          Returns the primary key of this wiki page.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 WikiPage getRedirectPage()
           
 String getRedirectTitle()
          Returns the redirect title of this wiki page.
 long getResourcePrimKey()
          Returns the resource prim key of this wiki page.
 int getStatus()
          Returns the status of this wiki page.
 long getStatusByUserId()
          Returns the status by user ID of this wiki page.
 String getStatusByUserName()
          Returns the status by user name of this wiki page.
 String getStatusByUserUuid()
          Returns the status by user uuid of this wiki page.
 Date getStatusDate()
          Returns the status date of this wiki page.
 String getSummary()
          Returns the summary of this wiki page.
 String getTitle()
          Returns the title of this wiki page.
 long getUserId()
          Returns the user ID of this wiki page.
 String getUserName()
          Returns the user name of this wiki page.
 String getUserUuid()
          Returns the user uuid of this wiki page.
 String getUuid()
          Returns the uuid of this wiki page.
 double getVersion()
          Returns the version of this wiki page.
 List<WikiPage> getViewableChildPages()
           
 WikiPage getViewableParentPage()
           
 List<WikiPage> getViewableParentPages()
           
 WikiPage getWrappedModel()
           
 WikiPage getWrappedWikiPage()
          Deprecated. Renamed to getWrappedModel()
 int hashCode()
           
 boolean isApproved()
          Returns true if this wiki page is approved.
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isDenied()
          Returns true if this wiki page is denied.
 boolean isDraft()
          Returns true if this wiki page is a draft.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isExpired()
          Returns true if this wiki page is expired.
 boolean isHead()
          Returns true if this wiki page is head.
 boolean isInactive()
          Returns true if this wiki page is inactive.
 boolean isIncomplete()
          Returns true if this wiki page is incomplete.
 boolean isMinorEdit()
          Returns true if this wiki page is minor edit.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPending()
          Returns true if this wiki page is pending.
 boolean isResourceMain()
           
 boolean isScheduled()
          Returns true if this wiki page is scheduled.
 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 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 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 wiki page is head.
 void setMinorEdit(boolean minorEdit)
          Sets whether this wiki page is minor edit.
 void setModelAttributes(Map<String,Object> attributes)
           
 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 primaryKey)
          Sets the primary key of this wiki page.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 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.
 CacheModel<WikiPage> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 WikiPage toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 WikiPage 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

WikiPageWrapper

public WikiPageWrapper(WikiPage wikiPage)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<WikiPage>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<WikiPage>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this wiki page.

Specified by:
getPrimaryKey in interface WikiPageModel
Returns:
the primary key of this wiki page

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this wiki page.

Specified by:
setPrimaryKey in interface WikiPageModel
Parameters:
primaryKey - the primary key of this wiki page

getUuid

public String getUuid()
Returns the uuid of this wiki page.

Specified by:
getUuid in interface WikiPageModel
Returns:
the uuid of this wiki page

setUuid

public void setUuid(String uuid)
Sets the uuid of this wiki page.

Specified by:
setUuid in interface WikiPageModel
Parameters:
uuid - the uuid of this wiki page

getPageId

public long getPageId()
Returns the page ID of this wiki page.

Specified by:
getPageId in interface WikiPageModel
Returns:
the page ID of this wiki page

setPageId

public void setPageId(long pageId)
Sets the page ID of this wiki page.

Specified by:
setPageId in interface WikiPageModel
Parameters:
pageId - the page ID of this wiki page

getResourcePrimKey

public long getResourcePrimKey()
Returns the resource prim key of this wiki page.

Specified by:
getResourcePrimKey in interface ResourcedModel
Specified by:
getResourcePrimKey in interface WikiPageModel
Returns:
the resource prim key of this wiki page

setResourcePrimKey

public void setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this wiki page.

Specified by:
setResourcePrimKey in interface WikiPageModel
Parameters:
resourcePrimKey - the resource prim key of this wiki page

isResourceMain

public boolean isResourceMain()
Specified by:
isResourceMain in interface ResourcedModel
Specified by:
isResourceMain in interface WikiPage
Specified by:
isResourceMain in interface WikiPageModel

getGroupId

public long getGroupId()
Returns the group ID of this wiki page.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface WikiPageModel
Returns:
the group ID of this wiki page

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this wiki page.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface WikiPageModel
Parameters:
groupId - the group ID of this wiki page

getCompanyId

public long getCompanyId()
Returns the company ID of this wiki page.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface WikiPageModel
Returns:
the company ID of this wiki page

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this wiki page.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface WikiPageModel
Parameters:
companyId - the company ID of this wiki page

getUserId

public long getUserId()
Returns the user ID of this wiki page.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface WikiPageModel
Returns:
the user ID of this wiki page

setUserId

public void setUserId(long userId)
Sets the user ID of this wiki page.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface WikiPageModel
Parameters:
userId - the user ID of this wiki page

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this wiki page.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface WikiPageModel
Returns:
the user uuid of this wiki page
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this wiki page.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface WikiPageModel
Parameters:
userUuid - the user uuid of this wiki page

getUserName

public String getUserName()
Returns the user name of this wiki page.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface WikiPageModel
Returns:
the user name of this wiki page

setUserName

public void setUserName(String userName)
Sets the user name of this wiki page.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface WikiPageModel
Parameters:
userName - the user name of this wiki page

getCreateDate

public Date getCreateDate()
Returns the create date of this wiki page.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface WikiPageModel
Returns:
the create date of this wiki page

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this wiki page.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface WikiPageModel
Parameters:
createDate - the create date of this wiki page

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this wiki page.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface WikiPageModel
Returns:
the modified date of this wiki page

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this wiki page.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface WikiPageModel
Parameters:
modifiedDate - the modified date of this wiki page

getNodeId

public long getNodeId()
Returns the node ID of this wiki page.

Specified by:
getNodeId in interface WikiPageModel
Returns:
the node ID of this wiki page

setNodeId

public void setNodeId(long nodeId)
Sets the node ID of this wiki page.

Specified by:
setNodeId in interface WikiPageModel
Parameters:
nodeId - the node ID of this wiki page

getTitle

public String getTitle()
Returns the title of this wiki page.

Specified by:
getTitle in interface WikiPageModel
Returns:
the title of this wiki page

setTitle

public void setTitle(String title)
Sets the title of this wiki page.

Specified by:
setTitle in interface WikiPageModel
Parameters:
title - the title of this wiki page

getVersion

public double getVersion()
Returns the version of this wiki page.

Specified by:
getVersion in interface WikiPageModel
Returns:
the version of this wiki page

setVersion

public void setVersion(double version)
Sets the version of this wiki page.

Specified by:
setVersion in interface WikiPageModel
Parameters:
version - the version of this wiki page

getMinorEdit

public boolean getMinorEdit()
Returns the minor edit of this wiki page.

Specified by:
getMinorEdit in interface WikiPageModel
Returns:
the minor edit of this wiki page

isMinorEdit

public boolean isMinorEdit()
Returns true if this wiki page is minor edit.

Specified by:
isMinorEdit in interface WikiPageModel
Returns:
true if this wiki page is minor edit; false otherwise

setMinorEdit

public void setMinorEdit(boolean minorEdit)
Sets whether this wiki page is minor edit.

Specified by:
setMinorEdit in interface WikiPageModel
Parameters:
minorEdit - the minor edit of this wiki page

getContent

public String getContent()
Returns the content of this wiki page.

Specified by:
getContent in interface WikiPageModel
Returns:
the content of this wiki page

setContent

public void setContent(String content)
Sets the content of this wiki page.

Specified by:
setContent in interface WikiPageModel
Parameters:
content - the content of this wiki page

getSummary

public String getSummary()
Returns the summary of this wiki page.

Specified by:
getSummary in interface WikiPageModel
Returns:
the summary of this wiki page

setSummary

public void setSummary(String summary)
Sets the summary of this wiki page.

Specified by:
setSummary in interface WikiPageModel
Parameters:
summary - the summary of this wiki page

getFormat

public String getFormat()
Returns the format of this wiki page.

Specified by:
getFormat in interface WikiPageModel
Returns:
the format of this wiki page

setFormat

public void setFormat(String format)
Sets the format of this wiki page.

Specified by:
setFormat in interface WikiPageModel
Parameters:
format - the format of this wiki page

getHead

public boolean getHead()
Returns the head of this wiki page.

Specified by:
getHead in interface WikiPageModel
Returns:
the head of this wiki page

isHead

public boolean isHead()
Returns true if this wiki page is head.

Specified by:
isHead in interface WikiPageModel
Returns:
true if this wiki page is head; false otherwise

setHead

public void setHead(boolean head)
Sets whether this wiki page is head.

Specified by:
setHead in interface WikiPageModel
Parameters:
head - the head of this wiki page

getParentTitle

public String getParentTitle()
Returns the parent title of this wiki page.

Specified by:
getParentTitle in interface WikiPageModel
Returns:
the parent title of this wiki page

setParentTitle

public void setParentTitle(String parentTitle)
Sets the parent title of this wiki page.

Specified by:
setParentTitle in interface WikiPageModel
Parameters:
parentTitle - the parent title of this wiki page

getRedirectTitle

public String getRedirectTitle()
Returns the redirect title of this wiki page.

Specified by:
getRedirectTitle in interface WikiPageModel
Returns:
the redirect title of this wiki page

setRedirectTitle

public void setRedirectTitle(String redirectTitle)
Sets the redirect title of this wiki page.

Specified by:
setRedirectTitle in interface WikiPageModel
Parameters:
redirectTitle - the redirect title of this wiki page

getStatus

public int getStatus()
Returns the status of this wiki page.

Specified by:
getStatus in interface WorkflowedModel
Specified by:
getStatus in interface WikiPageModel
Returns:
the status of this wiki page

setStatus

public void setStatus(int status)
Sets the status of this wiki page.

Specified by:
setStatus in interface WorkflowedModel
Specified by:
setStatus in interface WikiPageModel
Parameters:
status - the status of this wiki page

getStatusByUserId

public long getStatusByUserId()
Returns the status by user ID of this wiki page.

Specified by:
getStatusByUserId in interface WorkflowedModel
Specified by:
getStatusByUserId in interface WikiPageModel
Returns:
the status by user ID of this wiki page

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this wiki page.

Specified by:
setStatusByUserId in interface WorkflowedModel
Specified by:
setStatusByUserId in interface WikiPageModel
Parameters:
statusByUserId - the status by user ID of this wiki page

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Returns the status by user uuid of this wiki page.

Specified by:
getStatusByUserUuid in interface WikiPageModel
Returns:
the status by user uuid of this wiki page
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this wiki page.

Specified by:
setStatusByUserUuid in interface WikiPageModel
Parameters:
statusByUserUuid - the status by user uuid of this wiki page

getStatusByUserName

public String getStatusByUserName()
Returns the status by user name of this wiki page.

Specified by:
getStatusByUserName in interface WorkflowedModel
Specified by:
getStatusByUserName in interface WikiPageModel
Returns:
the status by user name of this wiki page

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Sets the status by user name of this wiki page.

Specified by:
setStatusByUserName in interface WorkflowedModel
Specified by:
setStatusByUserName in interface WikiPageModel
Parameters:
statusByUserName - the status by user name of this wiki page

getStatusDate

public Date getStatusDate()
Returns the status date of this wiki page.

Specified by:
getStatusDate in interface WorkflowedModel
Specified by:
getStatusDate in interface WikiPageModel
Returns:
the status date of this wiki page

setStatusDate

public void setStatusDate(Date statusDate)
Sets the status date of this wiki page.

Specified by:
setStatusDate in interface WorkflowedModel
Specified by:
setStatusDate in interface WikiPageModel
Parameters:
statusDate - the status date of this wiki page

getApproved

public boolean getApproved()
Deprecated. Renamed to isApproved()

Specified by:
getApproved in interface WikiPageModel

isApproved

public boolean isApproved()
Returns true if this wiki page is approved.

Specified by:
isApproved in interface WorkflowedModel
Specified by:
isApproved in interface WikiPageModel
Returns:
true if this wiki page is approved; false otherwise

isDenied

public boolean isDenied()
Returns true if this wiki page is denied.

Specified by:
isDenied in interface WikiPageModel
Returns:
true if this wiki page is denied; false otherwise

isDraft

public boolean isDraft()
Returns true if this wiki page is a draft.

Specified by:
isDraft in interface WorkflowedModel
Specified by:
isDraft in interface WikiPageModel
Returns:
true if this wiki page is a draft; false otherwise

isExpired

public boolean isExpired()
Returns true if this wiki page is expired.

Specified by:
isExpired in interface WorkflowedModel
Specified by:
isExpired in interface WikiPageModel
Returns:
true if this wiki page is expired; false otherwise

isInactive

public boolean isInactive()
Returns true if this wiki page is inactive.

Specified by:
isInactive in interface WikiPageModel
Returns:
true if this wiki page is inactive; false otherwise

isIncomplete

public boolean isIncomplete()
Returns true if this wiki page is incomplete.

Specified by:
isIncomplete in interface WikiPageModel
Returns:
true if this wiki page is incomplete; false otherwise

isPending

public boolean isPending()
Returns true if this wiki page is pending.

Specified by:
isPending in interface WorkflowedModel
Specified by:
isPending in interface WikiPageModel
Returns:
true if this wiki page is pending; false otherwise

isScheduled

public boolean isScheduled()
Returns true if this wiki page is scheduled.

Specified by:
isScheduled in interface WikiPageModel
Returns:
true if this wiki page is scheduled; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<WikiPage>
Specified by:
isNew in interface WikiPageModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<WikiPage>
Specified by:
setNew in interface WikiPageModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<WikiPage>
Specified by:
isCachedModel in interface WikiPageModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<WikiPage>
Specified by:
setCachedModel in interface WikiPageModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<WikiPage>
Specified by:
isEscapedModel in interface WikiPageModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<WikiPage>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface WikiPageModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<WikiPage>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface WikiPageModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<WikiPage>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface WikiPageModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<WikiPage>
Specified by:
setExpandoBridgeAttributes in interface WikiPageModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<WikiPage>
Specified by:
clone in interface WikiPageModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(WikiPage wikiPage)
Specified by:
compareTo in interface WikiPageModel
Specified by:
compareTo in interface Comparable<WikiPage>

hashCode

public int hashCode()
Specified by:
hashCode in interface WikiPageModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<WikiPage> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<WikiPage>
Specified by:
toCacheModel in interface WikiPageModel
Returns:
the cache model object

toEscapedModel

public WikiPage toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<WikiPage>
Specified by:
toEscapedModel in interface WikiPageModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public WikiPage toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<WikiPage>
Specified by:
toUnescapedModel in interface WikiPageModel

toString

public String toString()
Specified by:
toString in interface WikiPageModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<WikiPage>
Specified by:
toXmlString in interface WikiPageModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getAttachmentsDir

public String getAttachmentsDir()
Specified by:
getAttachmentsDir in interface WikiPage

getAttachmentsFiles

public String[] getAttachmentsFiles()
                             throws PortalException,
                                    SystemException
Specified by:
getAttachmentsFiles in interface WikiPage
Throws:
PortalException
SystemException

getChildPages

public List<WikiPage> getChildPages()
Specified by:
getChildPages in interface WikiPage

getNode

public WikiNode getNode()
Specified by:
getNode in interface WikiPage

getParentPage

public WikiPage getParentPage()
Specified by:
getParentPage in interface WikiPage

getParentPages

public List<WikiPage> getParentPages()
Specified by:
getParentPages in interface WikiPage

getRedirectPage

public WikiPage getRedirectPage()
Specified by:
getRedirectPage in interface WikiPage

getViewableChildPages

public List<WikiPage> getViewableChildPages()
Specified by:
getViewableChildPages in interface WikiPage

getViewableParentPage

public WikiPage getViewableParentPage()
Specified by:
getViewableParentPage in interface WikiPage

getViewableParentPages

public List<WikiPage> getViewableParentPages()
Specified by:
getViewableParentPages in interface WikiPage

setAttachmentsDir

public void setAttachmentsDir(String attachmentsDir)
Specified by:
setAttachmentsDir in interface WikiPage

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedWikiPage

public WikiPage getWrappedWikiPage()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public WikiPage getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<WikiPage>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<WikiPage>

Liferay 6.1.2-ce-ga3