Package com.liferay.wiki.model
Interface WikiNodeModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<WikiNode>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<WikiNode>,com.liferay.portal.kernel.model.ContainerModel,com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,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:
WikiNode
- All Known Implementing Classes:
WikiNodeWrapper
@ProviderType
public interface WikiNodeModel
extends com.liferay.portal.kernel.model.BaseModel<WikiNode>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, 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 WikiNode service. Represents a row in the "WikiNode" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.wiki.model.impl.WikiNodeModelImpl 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.WikiNodeImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this wiki node.longReturns the container model ID of this wiki node.Returns the container name of this wiki node.Returns the create date of this wiki node.longReturns the ct collection ID of this wiki node.Returns the description of this wiki node.Returns the external reference code of this wiki node.longReturns the group ID of this wiki node.Returns the last post date of this wiki node.Returns the last publish date of this wiki node.Returns the modified date of this wiki node.longReturns the mvcc version of this wiki node.getName()Returns the name of this wiki node.longReturns the node ID of this wiki node.longReturns the parent container model ID of this wiki node.longReturns the primary key of this wiki node.intReturns the status of this wiki node.longReturns the status by user ID of this wiki node.Returns the status by user name of this wiki node.Returns the status by user uuid of this wiki node.Returns the status date of this wiki node.longReturns the class primary key of the trash entry for this wiki node.longReturns the user ID of this wiki node.Returns the user name of this wiki node.Returns the user uuid of this wiki node.getUuid()Returns the uuid of this wiki node.booleanReturnstrueif this wiki node is approved.booleanisDenied()Returnstrueif this wiki node is denied.booleanisDraft()Returnstrueif this wiki node is a draft.booleanReturnstrueif this wiki node is expired.booleanReturnstrueif this wiki node is inactive.booleanReturnstrueif this wiki node is incomplete.booleanReturnstrueif this wiki node is in the Recycle Bin.booleanReturnstrueif this wiki node is pending.booleanReturnstrueif this wiki node is scheduled.voidsetCompanyId(long companyId) Sets the company ID of this wiki node.voidsetContainerModelId(long containerModelId) Sets the container model ID of this wiki node.voidsetCreateDate(Date createDate) Sets the create date of this wiki node.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this wiki node.voidsetDescription(String description) Sets the description of this wiki node.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this wiki node.voidsetGroupId(long groupId) Sets the group ID of this wiki node.voidsetLastPostDate(Date lastPostDate) Sets the last post date of this wiki node.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this wiki node.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this wiki node.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this wiki node.voidSets the name of this wiki node.voidsetNodeId(long nodeId) Sets the node ID of this wiki node.voidsetParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this wiki node.voidsetPrimaryKey(long primaryKey) Sets the primary key of this wiki node.voidsetStatus(int status) Sets the status of this wiki node.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this wiki node.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this wiki node.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this wiki node.voidsetStatusDate(Date statusDate) Sets the status date of this wiki node.voidsetUserId(long userId) Sets the user ID of this wiki node.voidsetUserName(String userName) Sets the user name of this wiki node.voidsetUserUuid(String userUuid) Sets the user uuid of this wiki node.voidSets the uuid of this wiki node.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ContainerModel
getModelClass, getModelClassNameMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this wiki node.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>- Returns:
- the primary key of this wiki node
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this wiki node.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>- Parameters:
primaryKey- the primary key of this wiki node
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this wiki node.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this wiki node
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this wiki node.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this wiki node
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this wiki node.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>- Returns:
- the ct collection ID of this wiki node
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this wiki node.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>- Parameters:
ctCollectionId- the ct collection ID of this wiki node
-
getUuid
Returns the uuid of this wiki node.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this wiki node
-
setUuid
Sets the uuid of this wiki node.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this wiki node
-
getExternalReferenceCode
Returns the external reference code of this wiki node.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this wiki node
-
setExternalReferenceCode
Sets the external reference code of this wiki node.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this wiki node
-
getNodeId
long getNodeId()Returns the node ID of this wiki node.- Returns:
- the node ID of this wiki node
-
setNodeId
void setNodeId(long nodeId) Sets the node ID of this wiki node.- Parameters:
nodeId- the node ID of this wiki node
-
getGroupId
long getGroupId()Returns the group ID of this wiki node.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this wiki node
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this wiki node.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this wiki node
-
getCompanyId
long getCompanyId()Returns the company ID of this wiki node.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this wiki node
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this wiki node.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this wiki node
-
getUserId
long getUserId()Returns the user ID of this wiki node.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this wiki node
-
setUserId
void setUserId(long userId) Sets the user ID of this wiki node.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this wiki node
-
getUserUuid
String getUserUuid()Returns the user uuid of this wiki node.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this wiki node
-
setUserUuid
Sets the user uuid of this wiki node.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this wiki node
-
getUserName
Returns the user name of this wiki node.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this wiki node
-
setUserName
Sets the user name of this wiki node.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this wiki node
-
getCreateDate
Date getCreateDate()Returns the create date of this wiki node.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this wiki node
-
setCreateDate
Sets the create date of this wiki node.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this wiki node
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this wiki node.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this wiki node
-
setModifiedDate
Sets the modified date of this wiki node.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this wiki node
-
getName
Returns the name of this wiki node.- Returns:
- the name of this wiki node
-
setName
Sets the name of this wiki node.- Parameters:
name- the name of this wiki node
-
getDescription
Returns the description of this wiki node.- Returns:
- the description of this wiki node
-
setDescription
Sets the description of this wiki node.- Parameters:
description- the description of this wiki node
-
getLastPostDate
Date getLastPostDate()Returns the last post date of this wiki node.- Returns:
- the last post date of this wiki node
-
setLastPostDate
Sets the last post date of this wiki node.- Parameters:
lastPostDate- the last post date of this wiki node
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this wiki node.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this wiki node
-
setLastPublishDate
Sets the last publish date of this wiki node.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this wiki node
-
getStatus
int getStatus()Returns the status of this wiki node.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.TrashedModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this wiki node
-
setStatus
void setStatus(int status) Sets the status of this wiki node.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this wiki node
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this wiki node.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this wiki node
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this wiki node.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this wiki node
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this wiki node.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this wiki node
-
setStatusByUserUuid
Sets the status by user uuid of this wiki node.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this wiki node
-
getStatusByUserName
Returns the status by user name of this wiki node.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this wiki node
-
setStatusByUserName
Sets the status by user name of this wiki node.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this wiki node
-
getStatusDate
Date getStatusDate()Returns the status date of this wiki node.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this wiki node
-
setStatusDate
Sets the status date of this wiki node.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this wiki node
-
getTrashEntryClassPK
long getTrashEntryClassPK()Returns the class primary key of the trash entry for this wiki node.- Specified by:
getTrashEntryClassPKin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
- the class primary key of the trash entry for this wiki node
-
isInTrash
boolean isInTrash()Returnstrueif this wiki node is in the Recycle Bin.- Specified by:
isInTrashin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
trueif this wiki node is in the Recycle Bin;falseotherwise
-
isApproved
boolean isApproved()Returnstrueif this wiki node is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this wiki node is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this wiki node is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this wiki node is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this wiki node is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this wiki node is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this wiki node is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this wiki node is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this wiki node is scheduled;falseotherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this wiki node.- Specified by:
getContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container model ID of this wiki node
-
setContainerModelId
void setContainerModelId(long containerModelId) Sets the container model ID of this wiki node.- Specified by:
setContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
containerModelId- the container model ID of this wiki node
-
getContainerModelName
String getContainerModelName()Returns the container name of this wiki node.- Specified by:
getContainerModelNamein interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the container name of this wiki node
-
getParentContainerModelId
long getParentContainerModelId()Returns the parent container model ID of this wiki node.- Specified by:
getParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Returns:
- the parent container model ID of this wiki node
-
setParentContainerModelId
void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this wiki node.- Specified by:
setParentContainerModelIdin interfacecom.liferay.portal.kernel.model.ContainerModel- Parameters:
parentContainerModelId- the parent container model ID of this wiki node
-
cloneWithOriginalValues
WikiNode cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<WikiNode>
-
toXmlString
-