Package com.liferay.wiki.model
Class WikiPageWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiPage>
com.liferay.wiki.model.WikiPageWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<WikiPage>
,com.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ContainerModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<WikiPage>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ResourcedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TrashedModel
,com.liferay.portal.kernel.model.WorkflowedModel
,WikiPage
,WikiPageModel
,Serializable
,Cloneable
,Comparable<WikiPage>
public class WikiPageWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiPage>
implements com.liferay.portal.kernel.model.ModelWrapper<WikiPage>, WikiPage
This class is a wrapper for WikiPage
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.wiki.model.WikiPage
PAGE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.repository.model.Folder
List<com.liferay.portal.kernel.repository.model.FileEntry>
List<com.liferay.portal.kernel.repository.model.FileEntry>
getAttachmentsFileEntries
(int start, int end) List<com.liferay.portal.kernel.repository.model.FileEntry>
getAttachmentsFileEntries
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) List<com.liferay.portal.kernel.repository.model.FileEntry>
getAttachmentsFileEntries
(String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) int
int
getAttachmentsFileEntriesCount
(String[] mimeTypes) com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentsFileEntryByExternalReferenceCode
(long groupId, String externalReferenceCode) long
long
Returns the company ID of this wiki page.long
Returns the container model ID of this wiki page.Returns the container name of this wiki page.Returns the content of this wiki page.Returns the create date of this wiki page.long
Returns the ct collection ID of this wiki page.List<com.liferay.portal.kernel.repository.model.FileEntry>
List<com.liferay.portal.kernel.repository.model.FileEntry>
getDeletedAttachmentsFileEntries
(int start, int end) int
Returns the external reference code of this wiki page.Returns the format of this wiki page.long
Returns the group ID of this wiki page.boolean
getHead()
Returns the head of this wiki page.Returns the last publish date of this wiki page.boolean
Returns the minor edit of this wiki page.Returns the modified date of this wiki page.long
Returns the mvcc version of this wiki page.getNode()
long
long
Returns the node ID of this wiki page.long
Returns the page ID of this wiki page.long
Returns the parent container model ID of this wiki page.Returns the parent title of this wiki page.long
Returns the primary key of this wiki page.Returns the redirect title of this wiki page.long
Returns the resource prim key of this wiki page.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this wiki page.long
Returns the status by user ID of this wiki page.Returns the status by user name of this wiki page.Returns the status by user uuid of this wiki page.Returns the status date of this wiki page.Returns the summary of this wiki page.getTitle()
Returns the title of this wiki page.long
Returns the class primary key of the trash entry for this wiki page.long
Returns the user ID of this wiki page.Returns the user name of this wiki page.Returns the user uuid of this wiki page.getUuid()
Returns the uuid of this wiki page.double
Returns the version of this wiki page.boolean
Returnstrue
if this wiki page is approved.boolean
isDenied()
Returnstrue
if this wiki page is denied.boolean
isDraft()
Returnstrue
if this wiki page is a draft.boolean
Returnstrue
if this wiki page is expired.boolean
isHead()
Returnstrue
if this wiki page is head.boolean
Returnstrue
if this wiki page is inactive.boolean
Returnstrue
if this wiki page is incomplete.boolean
Returnstrue
if this wiki page is in the Recycle Bin.boolean
Returnstrue
if this wiki page is minor edit.boolean
Returnstrue
if this wiki page is pending.boolean
boolean
Returnstrue
if this wiki page is scheduled.void
persist()
void
setAttachmentsFolderId
(long attachmentsFolderId) void
setCompanyId
(long companyId) Sets the company ID of this wiki page.void
setContainerModelId
(long containerModelId) Sets the container model 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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this wiki page.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this wiki page.void
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
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this wiki page.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
setMvccVersion
(long mvccVersion) Sets the mvcc version of this wiki page.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
setParentContainerModelId
(long parentContainerModelId) Sets the parent container model 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
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
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
Sets the uuid of this wiki page.void
setVersion
(double version) Sets the version of this wiki page.protected WikiPageWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ContainerModel
getModelClass, getModelClassName
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
WikiPageWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
-
addAttachmentsFolder
public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addAttachmentsFolder
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
- Specified by:
cloneWithOriginalValues
in interfaceWikiPageModel
-
fetchParentPage
- Specified by:
fetchParentPage
in interfaceWikiPage
-
fetchRedirectPage
- Specified by:
fetchRedirectPage
in interfaceWikiPage
-
getAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntriesCount
public int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentsFileEntriesCount
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntriesCount
public int getAttachmentsFileEntriesCount(String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAttachmentsFileEntriesCount
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntryByExternalReferenceCode
public com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAttachmentsFileEntryByExternalReferenceCode
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
public long getAttachmentsFolderId()- Specified by:
getAttachmentsFolderId
in interfaceWikiPage
-
getChildPages
- Specified by:
getChildPages
in interfaceWikiPage
-
getCompanyId
public long getCompanyId()Returns the company ID of this wiki page.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getCompanyId
in interfaceWikiPageModel
- Returns:
- the company ID of this wiki page
-
getContainerModelId
public long getContainerModelId()Returns the container model ID of this wiki page.- Specified by:
getContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Specified by:
getContainerModelId
in interfaceWikiPageModel
- Returns:
- the container model ID of this wiki page
-
getContainerModelName
Returns the container name of this wiki page.- Specified by:
getContainerModelName
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Specified by:
getContainerModelName
in interfaceWikiPageModel
- Returns:
- the container name of this wiki page
-
getContent
Returns the content of this wiki page.- Specified by:
getContent
in interfaceWikiPageModel
- Returns:
- the content of this wiki page
-
getCreateDate
Returns the create date of this wiki page.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getCreateDate
in interfaceWikiPageModel
- Returns:
- the create date of this wiki page
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this wiki page.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Specified by:
getCtCollectionId
in interfaceWikiPageModel
- Returns:
- the ct collection ID of this wiki page
-
getDeletedAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDeletedAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDeletedAttachmentsFileEntries
public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDeletedAttachmentsFileEntries
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDeletedAttachmentsFileEntriesCount
public int getDeletedAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDeletedAttachmentsFileEntriesCount
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExternalReferenceCode
Returns the external reference code of this wiki page.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceWikiPageModel
- Returns:
- the external reference code of this wiki page
-
getFormat
Returns the format of this wiki page.- Specified by:
getFormat
in interfaceWikiPageModel
- Returns:
- the format of this wiki page
-
getGroupId
public long getGroupId()Returns the group ID of this wiki page.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceWikiPageModel
- Returns:
- the group ID of this wiki page
-
getHead
public boolean getHead()Returns the head of this wiki page.- Specified by:
getHead
in interfaceWikiPageModel
- Returns:
- the head of this wiki page
-
getLastPublishDate
Returns the last publish date of this wiki page.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Specified by:
getLastPublishDate
in interfaceWikiPageModel
- Returns:
- the last publish date of this wiki page
-
getMinorEdit
public boolean getMinorEdit()Returns the minor edit of this wiki page.- Specified by:
getMinorEdit
in interfaceWikiPageModel
- Returns:
- the minor edit of this wiki page
-
getModifiedDate
Returns the modified date of this wiki page.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getModifiedDate
in interfaceWikiPageModel
- Returns:
- the modified date of this wiki page
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this wiki page.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceWikiPageModel
- Returns:
- the mvcc version of this wiki page
-
getNode
-
getNodeAttachmentsFolderId
public long getNodeAttachmentsFolderId()- Specified by:
getNodeAttachmentsFolderId
in interfaceWikiPage
-
getNodeId
public long getNodeId()Returns the node ID of this wiki page.- Specified by:
getNodeId
in interfaceWikiPageModel
- Returns:
- the node ID of this wiki page
-
getPageId
public long getPageId()Returns the page ID of this wiki page.- Specified by:
getPageId
in interfaceWikiPageModel
- Returns:
- the page ID of this wiki page
-
getParentContainerModelId
public long getParentContainerModelId()Returns the parent container model ID of this wiki page.- Specified by:
getParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Specified by:
getParentContainerModelId
in interfaceWikiPageModel
- Returns:
- the parent container model ID of this wiki page
-
getParentPage
- Specified by:
getParentPage
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentPages
- Specified by:
getParentPages
in interfaceWikiPage
-
getParentTitle
Returns the parent title of this wiki page.- Specified by:
getParentTitle
in interfaceWikiPageModel
- Returns:
- the parent title of this wiki page
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this wiki page.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Specified by:
getPrimaryKey
in interfaceWikiPageModel
- Returns:
- the primary key of this wiki page
-
getRedirectPage
- Specified by:
getRedirectPage
in interfaceWikiPage
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRedirectTitle
Returns the redirect title of this wiki page.- Specified by:
getRedirectTitle
in interfaceWikiPageModel
- Returns:
- the redirect title of this wiki page
-
getResourcePrimKey
public long getResourcePrimKey()Returns the resource prim key of this wiki page.- Specified by:
getResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Specified by:
getResourcePrimKey
in interfaceWikiPageModel
- Returns:
- the resource prim key of this wiki page
-
getStatus
public int getStatus()Returns the status of this wiki page.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfaceWikiPageModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this wiki page
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this wiki page.- Specified by:
getStatusByUserId
in interfaceWikiPageModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this wiki page
-
getStatusByUserName
Returns the status by user name of this wiki page.- Specified by:
getStatusByUserName
in interfaceWikiPageModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this wiki page
-
getStatusByUserUuid
Returns the status by user uuid of this wiki page.- Specified by:
getStatusByUserUuid
in interfaceWikiPageModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this wiki page
-
getStatusDate
Returns the status date of this wiki page.- Specified by:
getStatusDate
in interfaceWikiPageModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this wiki page
-
getSummary
Returns the summary of this wiki page.- Specified by:
getSummary
in interfaceWikiPageModel
- Returns:
- the summary of this wiki page
-
getTitle
Returns the title of this wiki page.- Specified by:
getTitle
in interfaceWikiPageModel
- Returns:
- the title of this wiki page
-
getTrashEntryClassPK
public long getTrashEntryClassPK()Returns the class primary key of the trash entry for this wiki page.- Specified by:
getTrashEntryClassPK
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getTrashEntryClassPK
in interfaceWikiPageModel
- Returns:
- the class primary key of the trash entry for this wiki page
-
getUserId
public long getUserId()Returns the user ID of this wiki page.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceWikiPageModel
- Returns:
- the user ID of this wiki page
-
getUserName
Returns the user name of this wiki page.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceWikiPageModel
- Returns:
- the user name of this wiki page
-
getUserUuid
Returns the user uuid of this wiki page.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceWikiPageModel
- Returns:
- the user uuid of this wiki page
-
getUuid
Returns the uuid of this wiki page.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getUuid
in interfaceWikiPageModel
- Returns:
- the uuid of this wiki page
-
getVersion
public double getVersion()Returns the version of this wiki page.- Specified by:
getVersion
in interfaceWikiPageModel
- Returns:
- the version of this wiki page
-
getViewableChildPages
- Specified by:
getViewableChildPages
in interfaceWikiPage
-
getViewableParentPage
- Specified by:
getViewableParentPage
in interfaceWikiPage
-
getViewableParentPages
- Specified by:
getViewableParentPages
in interfaceWikiPage
-
isApproved
public boolean isApproved()Returnstrue
if this wiki page is approved.- Specified by:
isApproved
in interfaceWikiPageModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this wiki page is denied.- Specified by:
isDenied
in interfaceWikiPageModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this wiki page is a draft.- Specified by:
isDraft
in interfaceWikiPageModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this wiki page is expired.- Specified by:
isExpired
in interfaceWikiPageModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is expired;false
otherwise
-
isHead
public boolean isHead()Returnstrue
if this wiki page is head.- Specified by:
isHead
in interfaceWikiPageModel
- Returns:
true
if this wiki page is head;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this wiki page is inactive.- Specified by:
isInactive
in interfaceWikiPageModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this wiki page is incomplete.- Specified by:
isIncomplete
in interfaceWikiPageModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is incomplete;false
otherwise
-
isInTrash
public boolean isInTrash()Returnstrue
if this wiki page is in the Recycle Bin.- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
isInTrash
in interfaceWikiPageModel
- Returns:
true
if this wiki page is in the Recycle Bin;false
otherwise
-
isMinorEdit
public boolean isMinorEdit()Returnstrue
if this wiki page is minor edit.- Specified by:
isMinorEdit
in interfaceWikiPageModel
- Returns:
true
if this wiki page is minor edit;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this wiki page is pending.- Specified by:
isPending
in interfaceWikiPageModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is pending;false
otherwise
-
isResourceMain
public boolean isResourceMain()- Specified by:
isResourceMain
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Specified by:
isResourceMain
in interfaceWikiPageModel
-
isScheduled
public boolean isScheduled()Returnstrue
if this wiki page is scheduled.- Specified by:
isScheduled
in interfaceWikiPageModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAttachmentsFolderId
public void setAttachmentsFolderId(long attachmentsFolderId) - Specified by:
setAttachmentsFolderId
in interfaceWikiPage
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this wiki page.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setCompanyId
in interfaceWikiPageModel
- Parameters:
companyId
- the company ID of this wiki page
-
setContainerModelId
public void setContainerModelId(long containerModelId) Sets the container model ID of this wiki page.- Specified by:
setContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Specified by:
setContainerModelId
in interfaceWikiPageModel
- Parameters:
containerModelId
- the container model ID of this wiki page
-
setContent
Sets the content of this wiki page.- Specified by:
setContent
in interfaceWikiPageModel
- Parameters:
content
- the content of this wiki page
-
setCreateDate
Sets the create date of this wiki page.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setCreateDate
in interfaceWikiPageModel
- Parameters:
createDate
- the create date of this wiki page
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this wiki page.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Specified by:
setCtCollectionId
in interfaceWikiPageModel
- Parameters:
ctCollectionId
- the ct collection ID of this wiki page
-
setExternalReferenceCode
Sets the external reference code of this wiki page.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceWikiPageModel
- Parameters:
externalReferenceCode
- the external reference code of this wiki page
-
setFormat
Sets the format of this wiki page.- Specified by:
setFormat
in interfaceWikiPageModel
- Parameters:
format
- the format of this wiki page
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this wiki page.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceWikiPageModel
- Parameters:
groupId
- the group ID of this wiki page
-
setHead
public void setHead(boolean head) Sets whether this wiki page is head.- Specified by:
setHead
in interfaceWikiPageModel
- Parameters:
head
- the head of this wiki page
-
setLastPublishDate
Sets the last publish date of this wiki page.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Specified by:
setLastPublishDate
in interfaceWikiPageModel
- Parameters:
lastPublishDate
- the last publish date of this wiki page
-
setMinorEdit
public void setMinorEdit(boolean minorEdit) Sets whether this wiki page is minor edit.- Specified by:
setMinorEdit
in interfaceWikiPageModel
- Parameters:
minorEdit
- the minor edit of this wiki page
-
setModifiedDate
Sets the modified date of this wiki page.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setModifiedDate
in interfaceWikiPageModel
- Parameters:
modifiedDate
- the modified date of this wiki page
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this wiki page.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceWikiPageModel
- Parameters:
mvccVersion
- the mvcc version of this wiki page
-
setNodeId
public void setNodeId(long nodeId) Sets the node ID of this wiki page.- Specified by:
setNodeId
in interfaceWikiPageModel
- Parameters:
nodeId
- the node ID of this wiki page
-
setPageId
public void setPageId(long pageId) Sets the page ID of this wiki page.- Specified by:
setPageId
in interfaceWikiPageModel
- Parameters:
pageId
- the page ID of this wiki page
-
setParentContainerModelId
public void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this wiki page.- Specified by:
setParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Specified by:
setParentContainerModelId
in interfaceWikiPageModel
- Parameters:
parentContainerModelId
- the parent container model ID of this wiki page
-
setParentTitle
Sets the parent title of this wiki page.- Specified by:
setParentTitle
in interfaceWikiPageModel
- Parameters:
parentTitle
- the parent title of this wiki page
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this wiki page.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Specified by:
setPrimaryKey
in interfaceWikiPageModel
- Parameters:
primaryKey
- the primary key of this wiki page
-
setRedirectTitle
Sets the redirect title of this wiki page.- Specified by:
setRedirectTitle
in interfaceWikiPageModel
- Parameters:
redirectTitle
- the redirect title of this wiki page
-
setResourcePrimKey
public void setResourcePrimKey(long resourcePrimKey) Sets the resource prim key of this wiki page.- Specified by:
setResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Specified by:
setResourcePrimKey
in interfaceWikiPageModel
- Parameters:
resourcePrimKey
- the resource prim key of this wiki page
-
setStatus
public void setStatus(int status) Sets the status of this wiki page.- Specified by:
setStatus
in interfaceWikiPageModel
- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this wiki page
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this wiki page.- Specified by:
setStatusByUserId
in interfaceWikiPageModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this wiki page
-
setStatusByUserName
Sets the status by user name of this wiki page.- Specified by:
setStatusByUserName
in interfaceWikiPageModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this wiki page
-
setStatusByUserUuid
Sets the status by user uuid of this wiki page.- Specified by:
setStatusByUserUuid
in interfaceWikiPageModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this wiki page
-
setStatusDate
Sets the status date of this wiki page.- Specified by:
setStatusDate
in interfaceWikiPageModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this wiki page
-
setSummary
Sets the summary of this wiki page.- Specified by:
setSummary
in interfaceWikiPageModel
- Parameters:
summary
- the summary of this wiki page
-
setTitle
Sets the title of this wiki page.- Specified by:
setTitle
in interfaceWikiPageModel
- Parameters:
title
- the title of this wiki page
-
setUserId
public void setUserId(long userId) Sets the user ID of this wiki page.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceWikiPageModel
- Parameters:
userId
- the user ID of this wiki page
-
setUserName
Sets the user name of this wiki page.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceWikiPageModel
- Parameters:
userName
- the user name of this wiki page
-
setUserUuid
Sets the user uuid of this wiki page.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceWikiPageModel
- Parameters:
userUuid
- the user uuid of this wiki page
-
setUuid
Sets the uuid of this wiki page.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setUuid
in interfaceWikiPageModel
- Parameters:
uuid
- the uuid of this wiki page
-
setVersion
public void setVersion(double version) Sets the version of this wiki page.- Specified by:
setVersion
in interfaceWikiPageModel
- Parameters:
version
- the version of this wiki page
-
toXmlString
- Specified by:
toXmlString
in interfaceWikiPageModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiPage>
-