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