public class KBTemplateWrapper extends BaseModelWrapper<KBTemplate> implements KBTemplate, ModelWrapper<KBTemplate>
This class is a wrapper for KBTemplate.
KBTemplate,
Serialized FormmodelKB_TEMPLATE_ID_ACCESSOR| Constructor and Description |
|---|
KBTemplateWrapper(KBTemplate kbTemplate) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this kb template.
|
java.lang.String |
getContent()
Returns the content of this kb template.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb template.
|
long |
getGroupId()
Returns the group ID of this kb template.
|
long |
getKbTemplateId()
Returns the kb template ID of this kb template.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this kb template.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kb template.
|
long |
getMvccVersion()
Returns the mvcc version of this kb template.
|
long |
getPrimaryKey()
Returns the primary key of this kb template.
|
StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle()
Returns the title of this kb template.
|
long |
getUserId()
Returns the user ID of this kb template.
|
java.lang.String |
getUserName()
Returns the user name of this kb template.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kb template.
|
java.lang.String |
getUuid()
Returns the uuid of this kb template.
|
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 template.
|
void |
setContent(java.lang.String content)
Sets the content of this kb template.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb template.
|
void |
setGroupId(long groupId)
Sets the group ID of this kb template.
|
void |
setKbTemplateId(long kbTemplateId)
Sets the kb template ID of this kb template.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this kb template.
|
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 template.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kb template.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb template.
|
void |
setTitle(java.lang.String title)
Sets the title of this kb template.
|
void |
setUserId(long userId)
Sets the user ID of this kb template.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kb template.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kb template.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this kb template.
|
protected KBTemplateWrapper |
wrap(KBTemplate kbTemplate) |
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 KBTemplateWrapper(KBTemplate kbTemplate)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<KBTemplate>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<KBTemplate>public long getCompanyId()
getCompanyId in interface KBTemplateModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.lang.String getContent()
getContent in interface KBTemplateModelpublic java.util.Date getCreateDate()
getCreateDate in interface KBTemplateModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic long getGroupId()
getGroupId in interface KBTemplateModelgetGroupId in interface GroupedModelpublic long getKbTemplateId()
getKbTemplateId in interface KBTemplateModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface KBTemplateModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface KBTemplateModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface KBTemplateModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface KBTemplateModelpublic java.lang.String getTitle()
getTitle in interface KBTemplateModelpublic long getUserId()
getUserId in interface KBTemplateModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface KBTemplateModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface KBTemplateModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface KBTemplateModelgetUuid in interface StagedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface KBTemplateModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this kb templatepublic void setContent(java.lang.String content)
setContent in interface KBTemplateModelcontent - the content of this kb templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface KBTemplateModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this kb templatepublic void setGroupId(long groupId)
setGroupId in interface KBTemplateModelsetGroupId in interface GroupedModelgroupId - the group ID of this kb templatepublic void setKbTemplateId(long kbTemplateId)
setKbTemplateId in interface KBTemplateModelkbTemplateId - the kb template ID of this kb templatepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface KBTemplateModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this kb templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface KBTemplateModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this kb templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface KBTemplateModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this kb templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface KBTemplateModelprimaryKey - the primary key of this kb templatepublic void setTitle(java.lang.String title)
setTitle in interface KBTemplateModeltitle - the title of this kb templatepublic void setUserId(long userId)
setUserId in interface KBTemplateModelsetUserId in interface AuditedModeluserId - the user ID of this kb templatepublic void setUserName(java.lang.String userName)
setUserName in interface KBTemplateModelsetUserName in interface AuditedModeluserName - the user name of this kb templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface KBTemplateModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this kb templatepublic void setUuid(java.lang.String uuid)
setUuid in interface KBTemplateModelsetUuid in interface StagedModeluuid - the uuid of this kb templatepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected KBTemplateWrapper wrap(KBTemplate kbTemplate)
wrap in class BaseModelWrapper<KBTemplate>