|
Liferay 6.2.0-ce-b3 | |||||||||
| 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 | |
|---|---|
Folder |
addAttachmentsFolder()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
List<FileEntry> |
getAttachmentsFileEntries()
|
List<FileEntry> |
getAttachmentsFileEntries(int start,
int end)
|
int |
getAttachmentsFileEntriesCount()
|
long |
getAttachmentsFolderId()
|
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. |
List<FileEntry> |
getDeletedAttachmentsFileEntries()
|
List<FileEntry> |
getDeletedAttachmentsFileEntries(int start,
int end)
|
int |
getDeletedAttachmentsFileEntriesCount()
|
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 |
getNodeAttachmentsFolderId()
|
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. |
StagedModelType |
getStagedModelType()
|
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. |
WikiNode |
getTrashContainer()
|
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. As of 6.1.0, replaced by 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 |
isInTrash()
Returns true if this wiki page is in the Recycle Bin. |
boolean |
isInTrashContainer()
|
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 |
setAttachmentsFolderId(long attachmentsFolderId)
|
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
|---|
public WikiPageWrapper(WikiPage wikiPage)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WikiPage>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WikiPage>public long getPrimaryKey()
getPrimaryKey in interface WikiPageModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiPageModelprimaryKey - the primary key of this wiki pagepublic String getUuid()
getUuid in interface StagedModelgetUuid in interface WikiPageModelpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface WikiPageModeluuid - the uuid of this wiki pagepublic long getPageId()
getPageId in interface WikiPageModelpublic void setPageId(long pageId)
setPageId in interface WikiPageModelpageId - the page ID of this wiki pagepublic long getResourcePrimKey()
getResourcePrimKey in interface ResourcedModelgetResourcePrimKey in interface WikiPageModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface ResourcedModelsetResourcePrimKey in interface WikiPageModelresourcePrimKey - the resource prim key of this wiki pagepublic boolean isResourceMain()
isResourceMain in interface ResourcedModelisResourceMain in interface WikiPageModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WikiPageModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WikiPageModelgroupId - the group ID of this wiki pagepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface WikiPageModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface WikiPageModelcompanyId - the company ID of this wiki pagepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WikiPageModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WikiPageModeluserId - the user ID of this wiki page
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WikiPageModeluserUuid - the user uuid of this wiki pagepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WikiPageModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WikiPageModeluserName - the user name of this wiki pagepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface WikiPageModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface WikiPageModelcreateDate - the create date of this wiki pagepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface WikiPageModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface WikiPageModelmodifiedDate - the modified date of this wiki pagepublic long getNodeId()
getNodeId in interface WikiPageModelpublic void setNodeId(long nodeId)
setNodeId in interface WikiPageModelnodeId - the node ID of this wiki pagepublic String getTitle()
getTitle in interface WikiPageModelpublic void setTitle(String title)
setTitle in interface WikiPageModeltitle - the title of this wiki pagepublic double getVersion()
getVersion in interface WikiPageModelpublic void setVersion(double version)
setVersion in interface WikiPageModelversion - the version of this wiki pagepublic boolean getMinorEdit()
getMinorEdit in interface WikiPageModelpublic boolean isMinorEdit()
true if this wiki page is minor edit.
isMinorEdit in interface WikiPageModeltrue if this wiki page is minor edit; false otherwisepublic void setMinorEdit(boolean minorEdit)
setMinorEdit in interface WikiPageModelminorEdit - the minor edit of this wiki pagepublic String getContent()
getContent in interface WikiPageModelpublic void setContent(String content)
setContent in interface WikiPageModelcontent - the content of this wiki pagepublic String getSummary()
getSummary in interface WikiPageModelpublic void setSummary(String summary)
setSummary in interface WikiPageModelsummary - the summary of this wiki pagepublic String getFormat()
getFormat in interface WikiPageModelpublic void setFormat(String format)
setFormat in interface WikiPageModelformat - the format of this wiki pagepublic boolean getHead()
getHead in interface WikiPageModelpublic boolean isHead()
true if this wiki page is head.
isHead in interface WikiPageModeltrue if this wiki page is head; false otherwisepublic void setHead(boolean head)
setHead in interface WikiPageModelhead - the head of this wiki pagepublic String getParentTitle()
getParentTitle in interface WikiPageModelpublic void setParentTitle(String parentTitle)
setParentTitle in interface WikiPageModelparentTitle - the parent title of this wiki pagepublic String getRedirectTitle()
getRedirectTitle in interface WikiPageModelpublic void setRedirectTitle(String redirectTitle)
setRedirectTitle in interface WikiPageModelredirectTitle - the redirect title of this wiki pagepublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface WikiPageModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface WikiPageModelstatus - the status of this wiki pagepublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface WikiPageModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface WikiPageModelstatusByUserId - the status by user ID of this wiki page
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface WikiPageModelstatusByUserUuid - the status by user uuid of this wiki pagepublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface WikiPageModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface WikiPageModelstatusByUserName - the status by user name of this wiki pagepublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface WikiPageModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface WikiPageModelstatusDate - the status date of this wiki pagepublic boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface WikiPageModelpublic boolean isApproved()
true if this wiki page is approved.
isApproved in interface WorkflowedModelisApproved in interface WikiPageModeltrue if this wiki page is approved; false otherwisepublic boolean isDenied()
true if this wiki page is denied.
isDenied in interface WorkflowedModelisDenied in interface WikiPageModeltrue if this wiki page is denied; false otherwisepublic boolean isDraft()
true if this wiki page is a draft.
isDraft in interface WorkflowedModelisDraft in interface WikiPageModeltrue if this wiki page is a draft; false otherwisepublic boolean isExpired()
true if this wiki page is expired.
isExpired in interface WorkflowedModelisExpired in interface WikiPageModeltrue if this wiki page is expired; false otherwisepublic boolean isInactive()
true if this wiki page is inactive.
isInactive in interface WorkflowedModelisInactive in interface WikiPageModeltrue if this wiki page is inactive; false otherwisepublic boolean isIncomplete()
true if this wiki page is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface WikiPageModeltrue if this wiki page is incomplete; false otherwisepublic boolean isInTrash()
true if this wiki page is in the Recycle Bin.
isInTrash in interface WorkflowedModelisInTrash in interface WikiPageModeltrue if this wiki page is in the Recycle Bin; false otherwisepublic boolean isPending()
true if this wiki page is pending.
isPending in interface WorkflowedModelisPending in interface WikiPageModeltrue if this wiki page is pending; false otherwisepublic boolean isScheduled()
true if this wiki page is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface WikiPageModeltrue if this wiki page is scheduled; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<WikiPage>isEscapedModel in interface WikiPageModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiPage>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiPageModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiPage>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiPageModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiPage>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiPageModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<WikiPage>setExpandoBridgeAttributes in interface WikiPageModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<WikiPage>setExpandoBridgeAttributes in interface WikiPageModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiPage>setExpandoBridgeAttributes in interface WikiPageModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WikiPage>clone in interface StagedModelclone 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 CacheModel<WikiPage> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<WikiPage>toCacheModel in interface WikiPageModelpublic WikiPage toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WikiPage>toEscapedModel in interface WikiPageModelAutoEscapeBeanHandlerpublic WikiPage toUnescapedModel()
toUnescapedModel in interface BaseModel<WikiPage>toUnescapedModel in interface WikiPageModelpublic String toString()
toString in interface WikiPageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiPage>toXmlString in interface WikiPageModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public Folder addAttachmentsFolder()
throws PortalException,
SystemException
addAttachmentsFolder in interface WikiPagePortalException
SystemException
public List<FileEntry> getAttachmentsFileEntries()
throws SystemException
getAttachmentsFileEntries in interface WikiPageSystemException
public List<FileEntry> getAttachmentsFileEntries(int start,
int end)
throws SystemException
getAttachmentsFileEntries in interface WikiPageSystemException
public int getAttachmentsFileEntriesCount()
throws SystemException
getAttachmentsFileEntriesCount in interface WikiPageSystemException
public long getAttachmentsFolderId()
throws SystemException
getAttachmentsFolderId in interface WikiPageSystemExceptionpublic List<WikiPage> getChildPages()
getChildPages in interface WikiPage
public List<FileEntry> getDeletedAttachmentsFileEntries()
throws SystemException
getDeletedAttachmentsFileEntries in interface WikiPageSystemException
public List<FileEntry> getDeletedAttachmentsFileEntries(int start,
int end)
throws SystemException
getDeletedAttachmentsFileEntries in interface WikiPageSystemException
public int getDeletedAttachmentsFileEntriesCount()
throws SystemException
getDeletedAttachmentsFileEntriesCount in interface WikiPageSystemExceptionpublic WikiNode getNode()
getNode in interface WikiPage
public long getNodeAttachmentsFolderId()
throws SystemException
getNodeAttachmentsFolderId in interface WikiPageSystemExceptionpublic WikiPage getParentPage()
getParentPage in interface WikiPagepublic List<WikiPage> getParentPages()
getParentPages in interface WikiPagepublic WikiPage getRedirectPage()
getRedirectPage in interface WikiPagepublic WikiNode getTrashContainer()
getTrashContainer in interface WikiPagepublic List<WikiPage> getViewableChildPages()
getViewableChildPages in interface WikiPagepublic WikiPage getViewableParentPage()
getViewableParentPage in interface WikiPagepublic List<WikiPage> getViewableParentPages()
getViewableParentPages in interface WikiPagepublic boolean isInTrashContainer()
isInTrashContainer in interface WikiPagepublic void setAttachmentsFolderId(long attachmentsFolderId)
setAttachmentsFolderId in interface WikiPagepublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic WikiPage getWrappedWikiPage()
getWrappedModel()
public WikiPage getWrappedModel()
getWrappedModel in interface ModelWrapper<WikiPage>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<WikiPage>
|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||