public class KBFolderWrapper extends BaseModelWrapper<KBFolder> implements KBFolder, ModelWrapper<KBFolder>
This class is a wrapper for KBFolder.
KBFolder,
Serialized FormmodelKB_FOLDER_ID_ACCESSOR| Constructor and Description |
|---|
KBFolderWrapper(KBFolder kbFolder) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
getAncestorKBFolderIds() |
long |
getClassNameId() |
long |
getCompanyId()
Returns the company ID of this kb folder.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb folder.
|
java.lang.String |
getDescription()
Returns the description 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.
|
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.
|
StagedModelType |
getStagedModelType() |
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 |
isEmpty() |
boolean |
isRoot() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this kb folder.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb folder.
|
void |
setDescription(java.lang.String description)
Sets the description 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 |
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 |
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.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonegetWrappedModelpublic KBFolderWrapper(KBFolder kbFolder)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<KBFolder>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<KBFolder>public java.util.List<java.lang.Long> getAncestorKBFolderIds()
throws PortalException
getAncestorKBFolderIds in interface KBFolderPortalExceptionpublic long getClassNameId()
getClassNameId in interface KBFolderpublic long getCompanyId()
getCompanyId in interface KBFolderModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface KBFolderModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDescription()
getDescription in interface KBFolderModelpublic long getGroupId()
getGroupId in interface KBFolderModelgetGroupId in interface GroupedModelpublic long getKbFolderId()
getKbFolderId in interface KBFolderModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface KBFolderModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface KBFolderModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface KBFolderModelgetMvccVersion in interface MVCCModelpublic java.lang.String getName()
getName in interface KBFolderModelpublic KBFolder getParentKBFolder() throws PortalException
getParentKBFolder in interface KBFolderPortalExceptionpublic long getParentKBFolderId()
getParentKBFolderId in interface KBFolderModelpublic java.lang.String getParentTitle(java.util.Locale locale)
throws PortalException
getParentTitle in interface KBFolderPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface KBFolderModelpublic java.lang.String getUrlTitle()
getUrlTitle in interface KBFolderModelpublic long getUserId()
getUserId in interface KBFolderModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface KBFolderModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface KBFolderModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface KBFolderModelgetUuid in interface StagedModelpublic boolean isEmpty()
throws PortalException
isEmpty in interface KBFolderPortalExceptionpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface KBFolderModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this kb folderpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface KBFolderModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this kb folderpublic void setDescription(java.lang.String description)
setDescription in interface KBFolderModeldescription - the description of this kb folderpublic void setGroupId(long groupId)
setGroupId in interface KBFolderModelsetGroupId in interface GroupedModelgroupId - the group ID of this kb folderpublic void setKbFolderId(long kbFolderId)
setKbFolderId in interface KBFolderModelkbFolderId - the kb folder ID of this kb folderpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface KBFolderModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this kb folderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface KBFolderModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this kb folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface KBFolderModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this kb folderpublic void setName(java.lang.String name)
setName in interface KBFolderModelname - the name of this kb folderpublic void setParentKBFolderId(long parentKBFolderId)
setParentKBFolderId in interface KBFolderModelparentKBFolderId - the parent kb folder ID of this kb folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface KBFolderModelprimaryKey - the primary key of this kb folderpublic void setUrlTitle(java.lang.String urlTitle)
setUrlTitle in interface KBFolderModelurlTitle - the url title of this kb folderpublic void setUserId(long userId)
setUserId in interface KBFolderModelsetUserId in interface AuditedModeluserId - the user ID of this kb folderpublic void setUserName(java.lang.String userName)
setUserName in interface KBFolderModelsetUserName in interface AuditedModeluserName - the user name of this kb folderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface KBFolderModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this kb folderpublic void setUuid(java.lang.String uuid)
setUuid in interface KBFolderModelsetUuid in interface StagedModeluuid - the uuid of this kb folderpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected KBFolderWrapper wrap(KBFolder kbFolder)
wrap in class BaseModelWrapper<KBFolder>