public class KBFolderWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBFolder> implements KBFolder, com.liferay.portal.kernel.model.ModelWrapper<KBFolder>
This class is a wrapper for KBFolder
.
KBFolder
,
Serialized FormKB_FOLDER_ID_ACCESSOR
Constructor and Description |
---|
KBFolderWrapper(KBFolder kbFolder) |
Modifier and Type | Method and Description |
---|---|
KBFolder |
cloneWithOriginalValues() |
java.util.List<java.lang.Long> |
getAncestorKBFolderIds() |
java.util.List<KBFolder> |
getAncestorKBFolders() |
java.util.Map<java.lang.String,java.util.function.Function<KBFolder,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<KBFolder,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getClassNameId() |
long |
getCompanyId()
Returns the company ID of this kb folder.
|
long |
getContainerModelId()
Returns the container model ID of this kb folder.
|
java.lang.String |
getContainerModelName()
Returns the container name of this kb folder.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb folder.
|
long |
getCtCollectionId()
Returns the ct collection ID of this kb folder.
|
java.lang.String |
getDescription()
Returns the description of this kb folder.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this kb folder.
|
long |
getGroupId()
Returns the group ID of this kb folder.
|
long |
getKbFolderId()
Returns the kb folder ID of this kb folder.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this kb folder.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kb folder.
|
long |
getMvccVersion()
Returns the mvcc version of this kb folder.
|
java.lang.String |
getName()
Returns the name of this kb folder.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this kb folder.
|
KBFolder |
getParentKBFolder() |
long |
getParentKBFolderId()
Returns the parent kb folder ID of this kb folder.
|
java.lang.String |
getParentTitle(java.util.Locale locale) |
long |
getPrimaryKey()
Returns the primary key of this kb folder.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this kb folder.
|
long |
getStatusByUserId()
Returns the status by user ID of this kb folder.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this kb folder.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this kb folder.
|
java.util.Date |
getStatusDate()
Returns the status date of this kb folder.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this kb folder.
|
java.lang.String |
getUrlTitle()
Returns the url title of this kb folder.
|
long |
getUserId()
Returns the user ID of this kb folder.
|
java.lang.String |
getUserName()
Returns the user name of this kb folder.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kb folder.
|
java.lang.String |
getUuid()
Returns the uuid of this kb folder.
|
boolean |
isApproved()
Returns
true if this kb folder is approved. |
boolean |
isDenied()
Returns
true if this kb folder is denied. |
boolean |
isDraft()
Returns
true if this kb folder is a draft. |
boolean |
isEmpty() |
boolean |
isExpired()
Returns
true if this kb folder is expired. |
boolean |
isInactive()
Returns
true if this kb folder is inactive. |
boolean |
isIncomplete()
Returns
true if this kb folder is incomplete. |
boolean |
isInTrash()
Returns
true if this kb folder is in the Recycle Bin. |
boolean |
isPending()
Returns
true if this kb folder is pending. |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this kb folder is scheduled. |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this kb folder.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this kb folder.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb folder.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this kb folder.
|
void |
setDescription(java.lang.String description)
Sets the description of this kb folder.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this kb folder.
|
void |
setGroupId(long groupId)
Sets the group ID of this kb folder.
|
void |
setKbFolderId(long kbFolderId)
Sets the kb folder ID of this kb folder.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this kb folder.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kb folder.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kb folder.
|
void |
setName(java.lang.String name)
Sets the name of this kb folder.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this kb folder.
|
void |
setParentKBFolderId(long parentKBFolderId)
Sets the parent kb folder ID of this kb folder.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb folder.
|
void |
setStatus(int status)
Sets the status of this kb folder.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this kb folder.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this kb folder.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this kb folder.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this kb folder.
|
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this kb folder.
|
void |
setUserId(long userId)
Sets the user ID of this kb folder.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kb folder.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kb folder.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this kb folder.
|
java.lang.String |
toXmlString() |
protected KBFolderWrapper |
wrap(KBFolder kbFolder) |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
getModelClass, getModelClassName
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public KBFolderWrapper(KBFolder kbFolder)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBFolder>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBFolder>
public KBFolder cloneWithOriginalValues()
cloneWithOriginalValues
in interface KBFolderModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<KBFolder>
public java.util.List<java.lang.Long> getAncestorKBFolderIds() throws com.liferay.portal.kernel.exception.PortalException
getAncestorKBFolderIds
in interface KBFolder
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBFolder> getAncestorKBFolders() throws com.liferay.portal.kernel.exception.PortalException
getAncestorKBFolders
in interface KBFolder
com.liferay.portal.kernel.exception.PortalException
public long getClassNameId()
getClassNameId
in interface KBFolder
public long getCompanyId()
getCompanyId
in interface KBFolderModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getContainerModelId()
getContainerModelId
in interface KBFolderModel
getContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
public java.lang.String getContainerModelName()
getContainerModelName
in interface KBFolderModel
getContainerModelName
in interface com.liferay.portal.kernel.model.ContainerModel
public java.util.Date getCreateDate()
getCreateDate
in interface KBFolderModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface KBFolderModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBFolder>
public java.lang.String getDescription()
getDescription
in interface KBFolderModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface KBFolderModel
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
public long getGroupId()
getGroupId
in interface KBFolderModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getKbFolderId()
getKbFolderId
in interface KBFolderModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface KBFolderModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface KBFolderModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface KBFolderModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface KBFolderModel
public long getParentContainerModelId()
getParentContainerModelId
in interface KBFolderModel
getParentContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
public KBFolder getParentKBFolder() throws com.liferay.portal.kernel.exception.PortalException
getParentKBFolder
in interface KBFolder
com.liferay.portal.kernel.exception.PortalException
public long getParentKBFolderId()
getParentKBFolderId
in interface KBFolderModel
public java.lang.String getParentTitle(java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getParentTitle
in interface KBFolder
com.liferay.portal.kernel.exception.PortalException
public long getPrimaryKey()
getPrimaryKey
in interface KBFolderModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBFolder>
public int getStatus()
getStatus
in interface KBFolderModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface KBFolderModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface KBFolderModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface KBFolderModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface KBFolderModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface KBFolderModel
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
public java.lang.String getUrlTitle()
getUrlTitle
in interface KBFolderModel
public long getUserId()
getUserId
in interface KBFolderModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface KBFolderModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface KBFolderModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface KBFolderModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this kb folder is approved.isApproved
in interface KBFolderModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is approved; false
otherwisepublic boolean isDenied()
true
if this kb folder is denied.isDenied
in interface KBFolderModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is denied; false
otherwisepublic boolean isDraft()
true
if this kb folder is a draft.isDraft
in interface KBFolderModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is a draft; false
otherwisepublic boolean isEmpty() throws com.liferay.portal.kernel.exception.PortalException
public boolean isExpired()
true
if this kb folder is expired.isExpired
in interface KBFolderModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is expired; false
otherwisepublic boolean isInactive()
true
if this kb folder is inactive.isInactive
in interface KBFolderModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is inactive; false
otherwisepublic boolean isIncomplete()
true
if this kb folder is incomplete.isIncomplete
in interface KBFolderModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is incomplete; false
otherwisepublic boolean isInTrash()
true
if this kb folder is in the Recycle Bin.isInTrash
in interface KBFolderModel
isInTrash
in interface com.liferay.portal.kernel.model.TrashedModel
true
if this kb folder is in the Recycle Bin; false
otherwisepublic boolean isPending()
true
if this kb folder is pending.isPending
in interface KBFolderModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is pending; false
otherwisepublic boolean isScheduled()
true
if this kb folder is scheduled.isScheduled
in interface KBFolderModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb folder is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface KBFolderModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this kb folderpublic void setContainerModelId(long containerModelId)
setContainerModelId
in interface KBFolderModel
setContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
containerModelId
- the container model ID of this kb folderpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface KBFolderModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this kb folderpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface KBFolderModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBFolder>
ctCollectionId
- the ct collection ID of this kb folderpublic void setDescription(java.lang.String description)
setDescription
in interface KBFolderModel
description
- the description of this kb folderpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface KBFolderModel
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this kb folderpublic void setGroupId(long groupId)
setGroupId
in interface KBFolderModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb folderpublic void setKbFolderId(long kbFolderId)
setKbFolderId
in interface KBFolderModel
kbFolderId
- the kb folder ID of this kb folderpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface KBFolderModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb folderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface KBFolderModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this kb folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface KBFolderModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this kb folderpublic void setName(java.lang.String name)
setName
in interface KBFolderModel
name
- the name of this kb folderpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId
in interface KBFolderModel
setParentContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
parentContainerModelId
- the parent container model ID of this kb folderpublic void setParentKBFolderId(long parentKBFolderId)
setParentKBFolderId
in interface KBFolderModel
parentKBFolderId
- the parent kb folder ID of this kb folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface KBFolderModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBFolder>
primaryKey
- the primary key of this kb folderpublic void setStatus(int status)
setStatus
in interface KBFolderModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this kb folderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface KBFolderModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this kb folderpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface KBFolderModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this kb folderpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface KBFolderModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this kb folderpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface KBFolderModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this kb folderpublic void setUrlTitle(java.lang.String urlTitle)
setUrlTitle
in interface KBFolderModel
urlTitle
- the url title of this kb folderpublic void setUserId(long userId)
setUserId
in interface KBFolderModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb folderpublic void setUserName(java.lang.String userName)
setUserName
in interface KBFolderModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb folderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface KBFolderModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb folderpublic void setUuid(java.lang.String uuid)
setUuid
in interface KBFolderModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb folderpublic java.lang.String toXmlString()
toXmlString
in interface KBFolderModel
public java.util.Map<java.lang.String,java.util.function.Function<KBFolder,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<KBFolder>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<KBFolder,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<KBFolder>
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected KBFolderWrapper wrap(KBFolder kbFolder)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBFolder>