Package com.liferay.wiki.model
Interface WikiPageModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<WikiPage>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<WikiPage>
,com.liferay.portal.kernel.model.ContainerModel
,com.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.ResourcedModel
,Serializable
,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
- All Known Subinterfaces:
WikiPage
- All Known Implementing Classes:
WikiPageWrapper
@ProviderType
public interface WikiPageModel
extends com.liferay.portal.kernel.model.BaseModel<WikiPage>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ResourcedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the WikiPage service. Represents a row in the "WikiPage" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.wiki.model.impl.WikiPageModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.wiki.model.impl.WikiPageImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlong
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.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.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.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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this wiki page.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Returns:
- the primary key of this wiki page
-
setPrimaryKey
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>
- Parameters:
primaryKey
- the primary key of this wiki page
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this wiki page.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this wiki page
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this wiki page.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this wiki page
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this wiki page.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiPage>
- Returns:
- the ct collection ID of this wiki page
-
setCtCollectionId
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>
- Parameters:
ctCollectionId
- the ct collection ID of this wiki page
-
getUuid
Returns the uuid of this wiki page.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this wiki page
-
setUuid
Sets the uuid of this wiki page.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this wiki page
-
getPageId
long getPageId()Returns the page ID of this wiki page.- Returns:
- the page ID of this wiki page
-
setPageId
void setPageId(long pageId) Sets the page ID of this wiki page.- Parameters:
pageId
- the page ID of this wiki page
-
getResourcePrimKey
long getResourcePrimKey()Returns the resource prim key of this wiki page.- Specified by:
getResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Returns:
- the resource prim key of this wiki page
-
setResourcePrimKey
void setResourcePrimKey(long resourcePrimKey) Sets the resource prim key of this wiki page.- Specified by:
setResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Parameters:
resourcePrimKey
- the resource prim key of this wiki page
-
isResourceMain
boolean isResourceMain()- Specified by:
isResourceMain
in interfacecom.liferay.portal.kernel.model.ResourcedModel
-
getGroupId
long getGroupId()Returns the group ID of this wiki page.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this wiki page
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this wiki page.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this wiki page
-
getCompanyId
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
- Returns:
- the company ID of this wiki page
-
setCompanyId
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
- Parameters:
companyId
- the company ID of this wiki page
-
getUserId
long getUserId()Returns the user ID of this wiki page.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this wiki page
-
setUserId
void setUserId(long userId) Sets the user ID of this wiki page.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this wiki page
-
getUserUuid
String getUserUuid()Returns the user uuid of this wiki page.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this wiki page
-
setUserUuid
Sets the user uuid of this wiki page.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this wiki page
-
getUserName
Returns the user name of this wiki page.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this wiki page
-
setUserName
Sets the user name of this wiki page.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this wiki page
-
getCreateDate
Date 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
- Returns:
- the create date 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
- Parameters:
createDate
- the create date of this wiki page
-
getModifiedDate
Date 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
- Returns:
- the modified date 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
- Parameters:
modifiedDate
- the modified date of this wiki page
-
getExternalReferenceCode
Returns the external reference code of this wiki page.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this wiki page
-
setExternalReferenceCode
Sets the external reference code of this wiki page.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this wiki page
-
getNodeId
long getNodeId()Returns the node ID of this wiki page.- Returns:
- the node ID of this wiki page
-
setNodeId
void setNodeId(long nodeId) Sets the node ID of this wiki page.- Parameters:
nodeId
- the node ID of this wiki page
-
getTitle
Returns the title of this wiki page.- Returns:
- the title of this wiki page
-
setTitle
Sets the title of this wiki page.- Parameters:
title
- the title of this wiki page
-
getVersion
double getVersion()Returns the version of this wiki page.- Returns:
- the version of this wiki page
-
setVersion
void setVersion(double version) Sets the version of this wiki page.- Parameters:
version
- the version of this wiki page
-
getMinorEdit
boolean getMinorEdit()Returns the minor edit of this wiki page.- Returns:
- the minor edit of this wiki page
-
isMinorEdit
boolean isMinorEdit()Returnstrue
if this wiki page is minor edit.- Returns:
true
if this wiki page is minor edit;false
otherwise
-
setMinorEdit
void setMinorEdit(boolean minorEdit) Sets whether this wiki page is minor edit.- Parameters:
minorEdit
- the minor edit of this wiki page
-
getContent
Returns the content of this wiki page.- Returns:
- the content of this wiki page
-
setContent
Sets the content of this wiki page.- Parameters:
content
- the content of this wiki page
-
getSummary
Returns the summary of this wiki page.- Returns:
- the summary of this wiki page
-
setSummary
Sets the summary of this wiki page.- Parameters:
summary
- the summary of this wiki page
-
getFormat
Returns the format of this wiki page.- Returns:
- the format of this wiki page
-
setFormat
Sets the format of this wiki page.- Parameters:
format
- the format of this wiki page
-
getHead
boolean getHead()Returns the head of this wiki page.- Returns:
- the head of this wiki page
-
isHead
boolean isHead()Returnstrue
if this wiki page is head.- Returns:
true
if this wiki page is head;false
otherwise
-
setHead
void setHead(boolean head) Sets whether this wiki page is head.- Parameters:
head
- the head of this wiki page
-
getParentTitle
Returns the parent title of this wiki page.- Returns:
- the parent title of this wiki page
-
setParentTitle
Sets the parent title of this wiki page.- Parameters:
parentTitle
- the parent title of this wiki page
-
getRedirectTitle
Returns the redirect title of this wiki page.- Returns:
- the redirect title of this wiki page
-
setRedirectTitle
Sets the redirect title of this wiki page.- Parameters:
redirectTitle
- the redirect title of this wiki page
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this wiki page.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this wiki page
-
setLastPublishDate
Sets the last publish date of this wiki page.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this wiki page
-
getStatus
int getStatus()Returns the status of this wiki page.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this wiki page
-
setStatus
void setStatus(int status) Sets the status of this wiki page.- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this wiki page
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this wiki page.- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this wiki page
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this wiki page.- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this wiki page
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this wiki page.- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this wiki page
-
setStatusByUserUuid
Sets the status by user uuid of this wiki page.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this wiki page
-
getStatusByUserName
Returns the status by user name of this wiki page.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this wiki page
-
setStatusByUserName
Sets the status by user name of this wiki page.- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this wiki page
-
getStatusDate
Date getStatusDate()Returns the status date of this wiki page.- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this wiki page
-
setStatusDate
Sets the status date of this wiki page.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this wiki page
-
getTrashEntryClassPK
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
- Returns:
- the class primary key of the trash entry for this wiki page
-
isInTrash
boolean isInTrash()Returnstrue
if this wiki page is in the Recycle Bin.- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
true
if this wiki page is in the Recycle Bin;false
otherwise
-
isApproved
boolean isApproved()Returnstrue
if this wiki page is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this wiki page is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this wiki page is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this wiki page is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this wiki page is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this wiki page is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this wiki page is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this wiki page is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this wiki page is scheduled;false
otherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this wiki page.- Specified by:
getContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the container model ID of this wiki page
-
setContainerModelId
void setContainerModelId(long containerModelId) Sets the container model ID of this wiki page.- Specified by:
setContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Parameters:
containerModelId
- the container model ID of this wiki page
-
getContainerModelName
String getContainerModelName()Returns the container name of this wiki page.- Specified by:
getContainerModelName
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the container name of this wiki page
-
getParentContainerModelId
long getParentContainerModelId()Returns the parent container model ID of this wiki page.- Specified by:
getParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the parent container model ID of this wiki page
-
setParentContainerModelId
void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this wiki page.- Specified by:
setParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Parameters:
parentContainerModelId
- the parent container model ID of this wiki page
-
cloneWithOriginalValues
WikiPage cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<WikiPage>
-
toXmlString
-